Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
b470a933
Unverified
Commit
b470a933
authored
Nov 17, 2018
by
wojiushixiaobai
Committed by
GitHub
Nov 17, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2058 from wojiushixiaobai/docs
[Update]更新分布式部署文档
parents
c75f0ede
3a537910
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
38 additions
and
8 deletions
+38
-8
distributed_02.rst
docs/distributed_02.rst
+6
-0
distributed_03.rst
docs/distributed_03.rst
+6
-0
distributed_04.rst
docs/distributed_04.rst
+6
-0
distributed_05.rst
docs/distributed_05.rst
+6
-0
distributed_06.rst
docs/distributed_06.rst
+7
-5
distributed_07.rst
docs/distributed_07.rst
+7
-3
No files found.
docs/distributed_02.rst
View file @
b470a933
...
...
@@ -12,6 +12,12 @@
- 系统: CentOS 7
- IP: 192.168.100.100
+----------+------------+-----------------+---------------+------------------------+
| Protocol | ServerName | IP | Port | Used By |
+==========+============+=================+===============+========================+
| TCP | Nginx | 192.168.100.100 | 80, 443, 2222 | All |
+----------+------------+-----------------+---------------+------------------------+
开始安装
~~~~~~~~~~~~
...
...
docs/distributed_03.rst
View file @
b470a933
...
...
@@ -13,6 +13,12 @@
- 系统: CentOS 7
- IP: 192.168.100.10
+----------+------------+-----------------+---------------+------------------------+
| Protocol | ServerName | IP | Port | Used By |
+==========+============+=================+===============+========================+
| TCP | Mysql | 192.168.100.10 | 3306 | Jumpserver |
+----------+------------+-----------------+---------------+------------------------+
开始安装
~~~~~~~~~~~~
...
...
docs/distributed_04.rst
View file @
b470a933
...
...
@@ -12,6 +12,12 @@
- 系统: CentOS 7
- IP: 192.168.100.20
+----------+------------+-----------------+---------------+------------------------+
| Protocol | ServerName | IP | Port | Used By |
+==========+============+=================+===============+========================+
| TCP | Redis | 192.168.100.20 | 6379 | Jumpserver |
+----------+------------+-----------------+---------------+------------------------+
开始安装
~~~~~~~~~~~~
...
...
docs/distributed_05.rst
View file @
b470a933
...
...
@@ -12,6 +12,12 @@
- 系统: CentOS 7
- IP: 192.168.100.30
+----------+------------+-----------------+---------------+------------------------+
| Protocol | ServerName | IP | Port | Used By |
+==========+============+=================+===============+========================+
| TCP | Jumpserver | 192.168.100.30 | 8080 | Nginx, Coco, Guacamole |
+----------+------------+-----------------+---------------+------------------------+
开始安装
~~~~~~~~~~~~
...
...
docs/distributed_06.rst
View file @
b470a933
...
...
@@ -12,6 +12,12 @@
- 系统: CentOS 7
- IP: 192.168.100.40
+----------+------------+-----------------+---------------+------------------------+
| Protocol | ServerName | IP | Port | Used By |
+==========+============+=================+===============+========================+
| TCP | Coco | 192.168.100.40 | 2222, 5000 | Nginx |
+----------+------------+-----------------+---------------+------------------------+
开始安装
~~~~~~~~~~~~
...
...
@@ -23,10 +29,8 @@
# 安装依赖包
$ yum -y install gcc epel-release git
# 设置防火墙,开放 2222 5000 端口 给 nginx 和 jumpserver 访问
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.30" port protocol="tcp" port="2222" accept"
# 设置防火墙,开放 2222 5000 端口 给 nginx 访问
$ 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 --reload
...
...
@@ -53,9 +57,7 @@
.. 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.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 --reload
...
...
docs/distributed_07.rst
View file @
b470a933
...
...
@@ -12,6 +12,12 @@
- 系统: CentOS 7
- IP: 192.168.100.50
+----------+------------+-----------------+---------------+------------------------+
| Protocol | ServerName | IP | Port | Used By |
+==========+============+=================+===============+========================+
| TCP | Guacamole | 192.168.100.40 | 8081 | Nginx |
+----------+------------+-----------------+---------------+------------------------+
开始安装
~~~~~~~~~~~~
...
...
@@ -23,8 +29,7 @@
# 安装依赖包
$ yum install -y yum-utils device-mapper-persistent-data lvm2
# 设置防火墙,开放 8081 端口 给 nginx 和 jumpserver 访问
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.30" port protocol="tcp" port="8081" accept"
# 设置防火墙,开放 8081 端口 给 nginx 访问
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="8081" accept"
$ firewall-cmd --reload
...
...
@@ -51,7 +56,6 @@
.. 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 --reload
$ docker run --name jms_guacamole1 -d \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment