Commit a6b9761d authored by wojiushixiaobai's avatar wojiushixiaobai

修改分布式部署文档

parent 04b981a9
......@@ -28,6 +28,13 @@ Guacamole 服务器运行 docker 服务
Nginx 代理服务器运行 nginx 服务,注意 upstream 的负载模式,需要解决 session 问题
安全
~~~~~~~
ssh、telnet协议 资产的防火墙设置允许 coco 与 jumpserver 访问
rdp协议 资产的防火墙设置允许 guacamole 与jumpserver 访问
其他
~~~~~~~
......
......@@ -24,7 +24,7 @@
# 安装 mariadb 服务
$ yum install -y install mariadb mariadb-devel mariadb-server
# 设置防火墙,开 3306 端口
# 设置防火墙,开 3306 端口
$ firewall-cmd --zone=public --add-port=3306/tcp --permanent
$ firewall-cmd --reload
......
......@@ -23,6 +23,10 @@
# 安装依赖包
$ yum -y install wget sqlite-devel xz gcc automake zlib-devel openssl-devel epel-release git
# 设置防火墙,开放 80 端口
$ firewall-cmd --zone=public --add-port=80/tcp --permanent
$ firewall-cmd --reload
# 安装 redis
$ yum -y install redis
$ systemctl enable redis
......
......@@ -23,6 +23,11 @@
# 安装依赖包
$ yum -y install wget sqlite-devel xz gcc automake zlib-devel openssl-devel epel-release git
# 设置防火墙,开放 2222 5000 端口
$ firewall-cmd --zone=public --add-port=2222/tcp --permanent
$ firewall-cmd --zone=public --add-port=5000/tcp --permanent
$ firewall-cmd --reload
# 安装 Python3.6.1
$ wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz
$ tar xvf Python-3.6.1.tar.xz && cd Python-3.6.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment