一、安装环境准备
1.1 根据官网说明,准备3台 CentOS 7.6 的主机。
1.2 IP地址分别为:192.168.88.101(中控机)、102、103,并通过root账户登陆
1.3 获取3台主机的mac地址,在蓝鲸官网生成证书,并上传至中控机/data目录下
1.4 下载蓝鲸社区版 6.0 的安装包,上传至中控机/data目录下
1.5 解压蓝鲸资源包,生成/install和/src(包含蓝鲸相关产品、依赖包、部署脚本、SaaS镜像及定制Python解释器(已加密))
- [root@JSH-01 data]# tar zxvf bkce_src-6.0.0.tgz #解压蓝鲸资源包
- [root@JSH-01 data]# ls
- bkce_src-6.0.0.tgz install src ssl_certificates.tar.gz
- [root@JSH-01 data]# cd /data/src/; for f in *gz;do tar xf $f; done #解压各产品软件包
1.6 解压证书包(含创建目录及授权)
- [root@JSH-01 data]# install -d -m 755 /data/src/cert
- [root@JSH-01 data]# tar xf /data/ssl_certificates.tar.gz -C /data/src/cert/
- [root@JSH-01 data]# chmod 644 /data/src/cert/*
1.7 拷贝rpm包文件夹到 /opt 目录
- [root@JSH-01 data]# cp -a /data/src/yum /opt
1.8 自定义安装配置文件 install.conf
- [root@JSH-01 data]# cd /data/install/
- [root@JSH-01 install]# cp install.config.3ip.sample install.config
- [root@JSH-01 install]# vi install.config
- [root@JSH-01 install]# cat install.config
192.168.88.101 iam,ssm,usermgr,gse,license,redis,consul,es7,monitorv3(influxdb-proxy),monitorv3(monitor),monitorv3(grafana)
192.168.88.102 nginx,consul,mongodb,rabbitmq,appo,influxdb(bkmonitorv3),monitorv3(transfer),fta,beanstalk
192.168.88.103 paas,cmdb,job,mysql,zk(config),kafka(config),appt,consul,log(api),nodeman(nodeman)
1.9 设置免密登录
- [root@JSH-01 install]# bash /data/install/configure_ssh_without_pass
二、基础包部署
2.1 初始化
- [root@JSH-01 ~]# cd /data/install/
- [root@JSH-01 install]# ./bk_install common
- ------------------------- agreements ---------------------------------
Dear users, welcome to use the Tencent BlueKing Software. Please
access http://bk.tencent.com/info/#laws to read the Tencent BlueKing
Software License and Service Agreement carefully. You have no right to
install or use the Software and related services unless you have read
and accepted all the terms of this Agreement. By downloading, install-
ing, using or logging in the Software, you shall be d