Commit 3a537910 authored by wojiushixiaobai's avatar wojiushixiaobai

Update

parent 8f281a79
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
- 系统: CentOS 7 - 系统: CentOS 7
- IP: 192.168.100.100 - IP: 192.168.100.100
+----------+------------+-----------------+---------------+------------------------+
| Protocol | ServerName | IP | Port | Used By |
+==========+============+=================+===============+========================+
| TCP | Nginx | 192.168.100.100 | 80, 443, 2222 | All |
+----------+------------+-----------------+---------------+------------------------+
开始安装 开始安装
~~~~~~~~~~~~ ~~~~~~~~~~~~
......
...@@ -13,6 +13,12 @@ ...@@ -13,6 +13,12 @@
- 系统: CentOS 7 - 系统: CentOS 7
- IP: 192.168.100.10 - IP: 192.168.100.10
+----------+------------+-----------------+---------------+------------------------+
| Protocol | ServerName | IP | Port | Used By |
+==========+============+=================+===============+========================+
| TCP | Mysql | 192.168.100.10 | 3306 | Jumpserver |
+----------+------------+-----------------+---------------+------------------------+
开始安装 开始安装
~~~~~~~~~~~~ ~~~~~~~~~~~~
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
- 系统: CentOS 7 - 系统: CentOS 7
- IP: 192.168.100.20 - IP: 192.168.100.20
+----------+------------+-----------------+---------------+------------------------+
| Protocol | ServerName | IP | Port | Used By |
+==========+============+=================+===============+========================+
| TCP | Redis | 192.168.100.20 | 6379 | Jumpserver |
+----------+------------+-----------------+---------------+------------------------+
开始安装 开始安装
~~~~~~~~~~~~ ~~~~~~~~~~~~
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
- 系统: CentOS 7 - 系统: CentOS 7
- IP: 192.168.100.30 - IP: 192.168.100.30
+----------+------------+-----------------+---------------+------------------------+
| Protocol | ServerName | IP | Port | Used By |
+==========+============+=================+===============+========================+
| TCP | Jumpserver | 192.168.100.30 | 8080 | Nginx, Coco, Guacamole |
+----------+------------+-----------------+---------------+------------------------+
开始安装 开始安装
~~~~~~~~~~~~ ~~~~~~~~~~~~
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
- 系统: CentOS 7 - 系统: CentOS 7
- IP: 192.168.100.40 - IP: 192.168.100.40
+----------+------------+-----------------+---------------+------------------------+
| Protocol | ServerName | IP | Port | Used By |
+==========+============+=================+===============+========================+
| TCP | Coco | 192.168.100.40 | 2222, 5000 | Nginx |
+----------+------------+-----------------+---------------+------------------------+
开始安装 开始安装
~~~~~~~~~~~~ ~~~~~~~~~~~~
...@@ -23,10 +29,8 @@ ...@@ -23,10 +29,8 @@
# 安装依赖包 # 安装依赖包
$ yum -y install gcc epel-release git $ yum -y install gcc epel-release git
# 设置防火墙,开放 2222 5000 端口 给 nginx 和 jumpserver 访问 # 设置防火墙,开放 2222 5000 端口 给 nginx 访问
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.30" port protocol="tcp" port="2222" accept"
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="2222" accept" $ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="2222" accept"
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.30" port protocol="tcp" port="5000" accept"
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="5000" accept" $ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="5000" accept"
$ firewall-cmd --reload $ firewall-cmd --reload
...@@ -53,9 +57,7 @@ ...@@ -53,9 +57,7 @@
.. code-block:: shell .. code-block:: shell
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.30" port protocol="tcp" port="2223" accept"
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="2223" accept" $ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="2223" accept"
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.30" port protocol="tcp" port="5001" accept"
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="5001" accept" $ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="5001" accept"
$ firewall-cmd --reload $ firewall-cmd --reload
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
- 系统: CentOS 7 - 系统: CentOS 7
- IP: 192.168.100.50 - IP: 192.168.100.50
+----------+------------+-----------------+---------------+------------------------+
| Protocol | ServerName | IP | Port | Used By |
+==========+============+=================+===============+========================+
| TCP | Guacamole | 192.168.100.40 | 8081 | Nginx |
+----------+------------+-----------------+---------------+------------------------+
开始安装 开始安装
~~~~~~~~~~~~ ~~~~~~~~~~~~
...@@ -23,8 +29,7 @@ ...@@ -23,8 +29,7 @@
# 安装依赖包 # 安装依赖包
$ yum install -y yum-utils device-mapper-persistent-data lvm2 $ yum install -y yum-utils device-mapper-persistent-data lvm2
# 设置防火墙,开放 8081 端口 给 nginx 和 jumpserver 访问 # 设置防火墙,开放 8081 端口 给 nginx 访问
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.30" port protocol="tcp" port="8081" accept"
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="8081" accept" $ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="8081" accept"
$ firewall-cmd --reload $ firewall-cmd --reload
...@@ -51,7 +56,6 @@ ...@@ -51,7 +56,6 @@
.. code-block:: shell .. code-block:: shell
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.30" port protocol="tcp" port="8082" accept"
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="8082" accept" $ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="8082" accept"
$ firewall-cmd --reload $ firewall-cmd --reload
$ docker run --name jms_guacamole1 -d \ $ docker run --name jms_guacamole1 -d \
......
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