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
ef4082e5
Commit
ef4082e5
authored
Dec 14, 2018
by
wojiushixiaobai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update
parent
a1d0981d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
distributed_06.rst
docs/distributed_06.rst
+2
-2
distributed_07.rst
docs/distributed_07.rst
+2
-2
setup_by_centos7.rst
docs/setup_by_centos7.rst
+8
-3
No files found.
docs/distributed_06.rst
View file @
ef4082e5
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
-e BOOTSTRAP_TOKEN=nwv4RdXpM82LtSvmV \
-e BOOTSTRAP_TOKEN=nwv4RdXpM82LtSvmV \
wojiushixiaobai/coco:1.4.5
wojiushixiaobai/coco:1.4.5
# 访问 http://192.168.100.100/terminal/terminal/
接受
coco 注册
# 访问 http://192.168.100.100/terminal/terminal/
检查
coco 注册
多节点部署
多节点部署
...
@@ -69,4 +69,4 @@
...
@@ -69,4 +69,4 @@
-e BOOTSTRAP_TOKEN=nwv4RdXpM82LtSvmV \
-e BOOTSTRAP_TOKEN=nwv4RdXpM82LtSvmV \
wojiushixiaobai/coco:1.4.5
wojiushixiaobai/coco:1.4.5
# 访问 http://192.168.100.100/terminal/terminal/
接受
coco 注册
# 访问 http://192.168.100.100/terminal/terminal/
检查
coco 注册
docs/distributed_07.rst
View file @
ef4082e5
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
-e BOOTSTRAP_TOKEN=nwv4RdXpM82LtSvmV \
-e BOOTSTRAP_TOKEN=nwv4RdXpM82LtSvmV \
wojiushixiaobai/guacamole:1.4.5
wojiushixiaobai/guacamole:1.4.5
# 访问 http://192.168.100.100/terminal/terminal/
接受
guacamole 注册
# 访问 http://192.168.100.100/terminal/terminal/
检查
guacamole 注册
多节点部署
多节点部署
...
@@ -67,4 +67,4 @@
...
@@ -67,4 +67,4 @@
-e BOOTSTRAP_TOKEN=nwv4RdXpM82LtSvmV \
-e BOOTSTRAP_TOKEN=nwv4RdXpM82LtSvmV \
wojiushixiaobai/guacamole:1.4.5
wojiushixiaobai/guacamole:1.4.5
# 访问 http://192.168.100.100/terminal/terminal/
接受
guacamole 注册
# 访问 http://192.168.100.100/terminal/terminal/
检查
guacamole 注册
docs/setup_by_centos7.rst
View file @
ef4082e5
...
@@ -244,9 +244,11 @@ CentOS 7 安装文档
...
@@ -244,9 +244,11 @@ CentOS 7 安装文档
$ yum install -y yum-utils device-mapper-persistent-data lvm2
$ yum install -y yum-utils device-mapper-persistent-data lvm2
$ yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
$ yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
$ yum makecache fast
$ yum makecache fast
$ rpm --import https://mirrors.aliyun.com/docker-ce/linux/centos/gpg
$ yum -y install docker-ce
$ yum -y install docker-ce
$ systemctl enable docker
$ systemctl enable docker
$ systemctl start docker
$ curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://f1361db2.m.daocloud.io
$ systemctl restart docker
# 注意,<Jumpserver_url> 请自行修改成 jumpserver 对外的访问地址,如 192.168.100.100:8080
# 注意,<Jumpserver_url> 请自行修改成 jumpserver 对外的访问地址,如 192.168.100.100:8080
$ docker run --name jms_coco -d -p 2222:2222 -p 5000:5000 -e CORE_HOST=http://<Jumpserver_url> -e BOOTSTRAP_TOKEN=nwv4RdXpM82LtSvmV wojiushixiaobai/coco:1.4.5
$ docker run --name jms_coco -d -p 2222:2222 -p 5000:5000 -e CORE_HOST=http://<Jumpserver_url> -e BOOTSTRAP_TOKEN=nwv4RdXpM82LtSvmV wojiushixiaobai/coco:1.4.5
...
@@ -255,9 +257,11 @@ CentOS 7 安装文档
...
@@ -255,9 +257,11 @@ CentOS 7 安装文档
# 允许 容器ip 访问宿主 8080 端口,(容器的 ip 可以进入容器查看)
# 允许 容器ip 访问宿主 8080 端口,(容器的 ip 可以进入容器查看)
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="172.17.0.2" port protocol="tcp" port="8080" accept"
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="172.17.0.2" port protocol="tcp" port="8080" accept"
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="172.17.0.3" port protocol="tcp" port="8080" accept"
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="172.17.0.3" port protocol="tcp" port="8080" accept"
# 172.17.0.x 是docker容器默认的IP池
# 172.17.0.x 是docker容器默认的IP池
$ firewall-cmd --reload
$ docker restart jms_coco jms_guacamole
.. code-block:: shell
.. code-block:: shell
# 安装 Web Terminal 前端: Luna 需要 Nginx 来运行访问 访问(https://github.com/jumpserver/luna/releases)下载对应版本的 release 包,直接解压,不需要编译
# 安装 Web Terminal 前端: Luna 需要 Nginx 来运行访问 访问(https://github.com/jumpserver/luna/releases)下载对应版本的 release 包,直接解压,不需要编译
...
@@ -378,7 +382,8 @@ CentOS 7 安装文档
...
@@ -378,7 +382,8 @@ CentOS 7 安装文档
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="172.17.0.7" port protocol="tcp" port="8080" accept"
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="172.17.0.7" port protocol="tcp" port="8080" accept"
...
...
$firewall-cmd --reload
$ firewall-cmd --reload
$ docker restart jms_coco01 jms_coco02 jms_guacamole01 jms_guacamole02
# nginx 代理设置
# nginx 代理设置
$ vi /etc/nginx.conf
$ vi /etc/nginx.conf
...
...
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