teamface企典安装部署文档(docker)
一:环境说明
1.服务器操作系统centos7以上,推荐配置32G内存*8核cpu*500G硬盘*docker最新稳定版
2.关闭linux firewalld防火墙和selinux
systemctl start firewalld
systemctl disable firewalld
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
2.路由器映射服务器 8087,9006,8888端口到公网
设置详情https://service.tp-link.com.cn/detail_article_3732.html
二:下载teamface安装包(teamface使用docker容器部署方式)
1.使用wget命令下载安装包
进入opt路径 cd /opt
wget https://www.huijuhuaqi.com/download/chenxubao.zip
三:更新系统内核,安装docker,docker-compose和teamface系统
1.使用unzip解压teamface安装包
unzip teamface.zip
2.解压后进入teamface目录
cd teamface
3. 执行update_kernel.sh脚本升级centos7系统内核(按照提示默认选择即可!)
./update_kernel.sh
4.执行deploy_install.sh脚本安装docker,docker-compose环境
./deploy_install.sh
5.使用mv命令把teamface目录转移至/opt路径
mv teamface /opt
6.使用docker-compose启动reids,zookeeper,rabbitmq和数据库
cd /opt/teamface/database
docker-compose -f docker-compose.yaml up -d
7.启动teamface前端和后端服务
cd /opt/teamface/project
docker-compose -f docker-compose.yaml up -d
8.启动完成后等待3-5分钟在windowns机器使用谷歌浏览器访问teamface页面
http://服务器ip:8087
例 http://192.168.1.115:8087
9.安装部署完成!