#昊鼎王五:如何安装蓝鲸智云v3.1.7社区版本之MYSQL?

安装“蓝鲸智云”社区版-记录-安装蓝鲸智云的MYSQL

#Q.前提知识:
实验机器:centos7
bkce_src-3.1.7.tgz社区版本
在《昊鼎王五:运维自动化闭环,从腾讯走出来的实践》
https://blog.csdn.net/haoding205/article/details/82687802
提到了蓝鲸智云系统,今天就开始讲如何安装蓝鲸智云v3.1.7社区版本之MYSQL。

安装蓝鲸智云的MYSQL

#1.安装

[root@hd103 install]# ./bkcec install mysqlinstall mysql on host: 192.168.1.102         check dependences for mysql
Usage: usermod [options] LOGIN
Options:-c, --comment COMMENT         new value of the GECOS field-d, --home HOME_DIR           new home directory for the user account-e, --expiredate EXPIRE_DATE  set account expiration date to EXPIRE_DATE-f, --inactive INACTIVE       set password inactive after expirationto INACTIVE-g, --gid GROUP               force use GROUP as new primary group-G, --groups GROUPS           new list of supplementary GROUPS-a, --append                  append the user to the supplemental GROUPSmentioned by the -G option without removinghim/her from other groups-h, --help                    display this help message and exit-l, --login NEW_LOGIN         new value of the login name-L, --lock                    lock the user account-m, --move-home               move contents of the home directory to thenew location (use only with -d)-o, --non-unique              allow using duplicate (non-unique) UID-p, --password PASSWORD       use encrypted password for the new password-R, --root CHROOT_DIR         directory to chroot into-s, --shell SHELL             new login shell for the user account-u, --uid UID                 new UID for the user account-U, --unlock                  unlock the user account-Z, --selinux-user SEUSER     new SELinux user mapping for the user account
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* epel: mirrors.ustc.edu.cn
* extras: mirrors.aliyun.com
* updates: mirrors.163.com
No package pidof available.
No package pkill available.
Package rsync-3.0.9-18.el7.x86_64 already installed and latest version
Package gawk-4.0.2-4.el7_3.1.x86_64 already installed and latest version
Package curl-7.29.0-42.el7_4.1.x86_64 already installed and latest version
Package lsof-4.87-4.el7.x86_64 already installed and latest version
Package 2:tar-1.26-32.el7.x86_64 already installed and latest version
Package sed-4.2.2-5.el7.x86_64 already installed and latest version
Package iproute-3.10.0-87.el7.x86_64 already installed and latest version
Package uuid-1.6.2-26.el7.x86_64 already installed and latest version
Package psmisc-22.20-15.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* epel: mirrors.ustc.edu.cn
* extras: mirrors.aliyun.com
* updates: mirrors.163.com
Package python2-pip-8.1.2-5.el7.noarch already installed and latest version
Package 1:openssl-devel-1.0.2k-8.el7.x86_64 already installed and latest version
Package readline-devel-6.2-10.el7.x86_64 already installed and latest version
Package libcurl-devel-7.29.0-42.el7_4.1.x86_64 already installed and latest version
Package libxml2-devel-2.9.1-6.el7_2.3.x86_64 already installed and latest version
Package glibc-devel-2.17-196.el7_4.2.x86_64 already installed and latest version
Package zlib-devel-1.2.7-17.el7.x86_64 already installed and latest version
Package iproute-3.10.0-87.el7.x86_64 already installed and latest version
Package sysvinit-tools-2.88-14.dsf.el7.x86_64 already installed and latest version
Package procps-ng-3.3.10-16.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* epel: mirrors.ustc.edu.cn
* extras: mirrors.aliyun.com
* updates: mirrors.163.com
Package libaio-devel-0.3.109-13.el7.x86_64 already installed and latest version
Nothing to do
[192.168.1.102]20180410-184031 65   All required software are installed.
[192.168.1.102]20180410-184031 334   create directories ...
[192.168.1.102]20180410-184031 702   install mysql ...
[192.168.1.102]20180410-184031 145   >> rsync -a --delete /data/src/service/mysql /data/bkce/service/
[192.168.1.102]20180410-184031 420   expr: find /data/src/service/support-files/templates -name "*#my.cnf*"
[192.168.1.102]20180410-184031 424   templates file: #etc#my.cnf.tpl
[192.168.1.102]20180410-184031 437   target file: /data/bkce//etc/my.cnf
[192.168.1.102]20180410-184031 455   render configuration file:/data/bkce//etc/my.cnf
[192.168.1.102]20180410-184031 729   execute mysql_install_db
Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/data/bkce/service/mysql/bin/mysqladmin -u root password 'new-password'
/data/bkce/service/mysql/bin/mysqladmin -u root -h 127.0.0.1 password 'new-password'
Alternatively you can run:
/data/bkce/service/mysql/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /data/bkce/service/mysql ; /data/bkce/service/mysql/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /data/bkce/service/mysql/mysql-test ; perl mysql-test-run.pl
Please report any problems with the /data/bkce/service/mysql/scripts/mysqlbug script!
[192.168.1.103]20180410-184033 301   install mysql done
[root@hd103 install]#

#2.验证查看
请见下一篇《昊鼎王五:如何安装蓝鲸智云v3.1.7社区版本之安装基础模块?》
https://blog.csdn.net/haoding205/article/details/82697765

好了,聪明如你,知道了安装蓝鲸智云v3.1.7社区版本之MYSQL,是不是很欢喜 _

还有其他问题的可以在评论区留言或者扫码加博主获取资源或者提问。

昊鼎王五:如何安装蓝鲸智云v3.1.7社区版本之MYSQL?相关推荐

  1. 安装蓝鲸智云社区版5.0.4监控页面调用接口失败

    环境描述:全新安装蓝鲸智云社区版5.0.4,不存在升级 安装配置:     192.168.0.162 kafka,zk,es,appt,fta,consul,bkdata     192.168.0 ...

  2. 【昊鼎王五】pip安装pymssql模块时报错“PEP 517”怎么解决?

    [昊鼎王五]pip安装pymssql模块时报错"PEP 517"怎么解决? 背景 在https://blog.csdn.net/haoding205/article/details ...

  3. Cent OS 7.7 搭建蓝鲸智云社区版5.1.27(1)——安装前环境准备

    前言 本次实验环境:Cent OS 7.7_x64 (3台虚拟机) IP地址:192.168.1.7(中控机)    192.168.1.8              192.168.1.9 蓝鲸完整 ...

  4. 蓝鲸智云6.1软件单机部署安装教程

    环境准备 操作系统:centos7(64位) cpu:6核 内存:8GB 蓝鲸智云版本:社区版 6.1.2 ip:192.168.46.54 安装包下载 1.关闭 SELinux sed -i 's/ ...

  5. 记 安装单机版 腾讯 蓝鲸智云

    文章目录 1. 准备工作 1.1 VMware 1.2 Centos7镜像 2. 安装Centos7 3. 安装单机部署版蓝鲸 3.1 下载蓝鲸智云完整包 3.2 下载 证书包 3.3 修改一些设置 ...

  6. 蓝鲸智云-安装注意事项

    1.下载蓝鲸智云稳定版本的tgz包 下载地址: https://bk.tencent.com/download/ 2.根据安装步骤,检查SELinux已经防火墙 sestatus命令查看SELinux ...

  7. 昊鼎王五:linux如何安装Mongodb监控系统之MSS-On-Prem?

    #昊鼎王五:linux如何安装Mongodb监控系统之MSS-On-Prem? #Q.基础知识: Mongodb提供的MMS监控管理工具,是一个图形化的监控配置工具,界面非常友好,但是mongo-mm ...

  8. 腾讯蓝鲸智云社区版V6.0.3携手容器管理平台正式发布!

    2020年11月,我们正式推出了蓝鲸智云社区版V6.0 Beta版,4款新产品的亮相 + 7款产品的重大更新.今天我们为大家带来了社区版V6.0.3正式版以及期待已久的容器管理平台(BCS),快来部署 ...

  9. 昊鼎王五:高级运维工程师的成长之路,总有一款适合你^_^

    #昊鼎王五:高级运维工程师的成长之路,总有一款适合你_ 本文关键词: 成长为高级运维工程师的打怪升级之路 本篇参考zhenliang同学的文章,一个从事多年运维的牛人,文章写的很好,人非常nice. ...

最新文章

  1. SecureRandom
  2. linux消息队列非亲缘,linux进程
  3. .NET : 通过配置文件指定跟踪(trace)选项
  4. 压缩视频 html5播放,将HTML5视频呈现为Canvas正在压缩图像
  5. Mockito的使用(二)——@InjectMocks、@Spy、@Mock
  6. leetcode Add and Search Word - Data structure design
  7. Sharepoint2013商务智能学习笔记之Secure Store Service服务配置(二)
  8. 延时队列实现的几种姿势
  9. 音视频技术开发周刊 78期
  10. matlab程序生成.dll,matlab 调用fortran生成DLL
  11. 春运渡劫?Python 帮你 12306 抢回家的火车票!
  12. Cocos2d-js-v3.2 在 mac 上配置环境以及编译到 Andorid 的注意事项(转)
  13. MediaInfo源代码分析 1:整体结构
  14. 使用CocosStudioV3.10场景导入Cocos2d-xV3.17.2
  15. 世界上公认最快的学习法 - 弗曼学习法
  16. 【会议邀请】 新型微流LC-MS平台助力抗体药物分析—大分子生物医药网络研讨会
  17. 简单计算器 求一元二次方程的根
  18. [EMNLP 2022] VIRT: Improving Representation-based Text Matching via Virtual Interaction
  19. 杭州辣府餐饮JAVA_超全“滨江美食必打卡list”,不收藏会后悔!年前再去搓几顿啊~...
  20. SAP MM移动平均价和标准价逻辑

热门文章

  1. 奢侈手机品牌,钱途路上的黄粱一梦
  2. MSSQL数据导入导出Excel的相关代码
  3. Mybatis 分页操作
  4. 一种快速的幂运算方法(底数是自然数e,指数是浮点数)
  5. 苹果xr十大隐藏功能_别再说苹果“悬浮球”功能不好用,隐藏的实用小技巧,每天用得上...
  6. windows7蓝牙怎么打开_windows7系统怎么调待机时间
  7. 北京甲骨文java_北京海淀甲骨文java企业项目
  8. 转载——服务器误删文件的恢复过程
  9. Visual Studio Code(VSCODE)语言设置为中文
  10. dir-612b虚拟服务器,D-Link DIR 612B路由器设置上网教程