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
09fbac44
Unverified
Commit
09fbac44
authored
Dec 14, 2018
by
wojiushixiaobai
Committed by
GitHub
Dec 14, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2175 from wojiushixiaobai/docs
Update
parents
a1d0981d
a9fdd05e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
15 deletions
+15
-15
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
setup_by_ubuntu.rst
docs/setup_by_ubuntu.rst
+2
-7
step_by_step.rst
docs/step_by_step.rst
+1
-1
No files found.
docs/distributed_06.rst
View file @
09fbac44
...
@@ -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 @
09fbac44
...
@@ -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 @
09fbac44
...
@@ -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
...
...
docs/setup_by_ubuntu.rst
View file @
09fbac44
...
@@ -268,7 +268,7 @@
...
@@ -268,7 +268,7 @@
# 新版本更新了运行脚本,使用方式./jms start|stop|status|restart all 后台运行请添加 -d 参数
# 新版本更新了运行脚本,使用方式./jms start|stop|status|restart all 后台运行请添加 -d 参数
运行不报错,请
浏览器访问 http://192.168.244.144:8080/ 默认账号: admin 密码: admin 页面显示不正常先不用处理,
继续往下操作
运行不报错,请继续往下操作
三. 安装 SSH Server 和 WebSocket Server: Coco
三. 安装 SSH Server 和 WebSocket Server: Coco
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
@@ -406,8 +406,6 @@
...
@@ -406,8 +406,6 @@
# 新版本更新了运行脚本,使用方式./cocod start|stop|status|restart 后台运行请添加 -d 参数
# 新版本更新了运行脚本,使用方式./cocod start|stop|status|restart 后台运行请添加 -d 参数
启动成功后去Jumpserver 会话管理-终端管理(http://192.168.244.144:8080/terminal/terminal/)接受coco的注册,如果页面显示不正常可以等部署完成后再处理
四. 安装 Web Terminal 前端: Luna
四. 安装 Web Terminal 前端: Luna
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
@@ -498,9 +496,6 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
...
@@ -498,9 +496,6 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
这里所需要注意的是 guacamole 暴露出来的端口是 8081,若与主机上其他端口冲突请自定义一下。
这里所需要注意的是 guacamole 暴露出来的端口是 8081,若与主机上其他端口冲突请自定义一下。
启动成功后去 Jumpserver-会话管理-终端管理 接受[Gua]开头的一个注册,如果页面显示不正常可以等部署完成后再处理
六. 配置 Nginx 整合各组件
六. 配置 Nginx 整合各组件
~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~
...
@@ -595,7 +590,7 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
...
@@ -595,7 +590,7 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
默认账号: admin 密码: admin
默认账号: admin 密码: admin
如果部署过程中没有接受应用的注册,需要到Jumpserver 会话管理-终端管理 接受
Coco Guacamole 等应用的注册
到Jumpserver 会话管理-终端管理 检查
Coco Guacamole 等应用的注册
**测试连接**
**测试连接**
...
...
docs/step_by_step.rst
View file @
09fbac44
...
@@ -649,7 +649,7 @@ Guacamole 需要 Tomcat 来运行
...
@@ -649,7 +649,7 @@ Guacamole 需要 Tomcat 来运行
默认账号: admin 密码: admin
默认账号: admin 密码: admin
到Jumpserver 会话管理-终端管理
接受
Coco Guacamole 等应用的注册。
到Jumpserver 会话管理-终端管理
检查
Coco Guacamole 等应用的注册。
**测试连接**
**测试连接**
...
...
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