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
dca13510
Commit
dca13510
authored
Aug 31, 2018
by
wojiushixiaobai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改文档
parent
8c5882bf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
18 deletions
+21
-18
setup_by_centos7.rst
docs/setup_by_centos7.rst
+10
-8
setup_by_local.rst
docs/setup_by_local.rst
+9
-8
step_by_step.rst
docs/step_by_step.rst
+2
-2
No files found.
docs/setup_by_centos7.rst
View file @
dca13510
...
@@ -301,13 +301,7 @@ CentOS 7 安装文档
...
@@ -301,13 +301,7 @@ CentOS 7 安装文档
$ yum makecache fast
$ yum makecache fast
$ yum install docker-ce
$ yum install docker-ce
$ systemctl start docker
$ systemctl start docker
$ docker pull jumpserver/guacamole:latest
# 注意:这里需要修改下 http://<填写jumpserver的url地址> 例: http://192.168.244.144 不能使用 127.0.0.1 ,可以更换 registry.jumpserver.org/public/guacamole:latest
$ docker run --name jms_guacamole -d \
-p 8081:8080 -v /opt/guacamole/key:/config/guacamole/key \
-e JUMPSERVER_KEY_DIR=/config/guacamole/key \
-e JUMPSERVER_SERVER=http://<填写jumpserver的url地址> \
jumpserver/guacamole:latest
::
::
...
@@ -382,9 +376,17 @@ CentOS 7 安装文档
...
@@ -382,9 +376,17 @@ CentOS 7 安装文档
$ cd /opt/coco
$ cd /opt/coco
$ cp conf_example.py conf.py
$ cp conf_example.py conf.py
$ ./cocod start # 后台运行使用 -d 参数./cocod start -d
$ ./cocod start # 后台运行使用 -d 参数./cocod start -d
# 新版本更新了运行脚本,使用方式./cocod start|stop|status|restart 后台运行请添加 -d 参数
# 新版本更新了运行脚本,使用方式./cocod start|stop|status|restart 后台运行请添加 -d 参数
# 运行 Guacamole
# 注意:这里需要修改下 http://<填写jumpserver的url地址> 例: http://192.168.244.144 不能使用 127.0.0.1
$ docker run --name jms_guacamole -d \
-p 8081:8080 -v /opt/guacamole/key:/config/guacamole/key \
-e JUMPSERVER_KEY_DIR=/config/guacamole/key \
-e JUMPSERVER_SERVER=http://<填写jumpserver的url地址> \
jumpserver/guacamole:latest
# docker 重启容器的方法docker restart jms_guacamole
# 运行 Nginx
# 运行 Nginx
$ nginx -t # 确保配置没有问题, 有问题请先解决
$ nginx -t # 确保配置没有问题, 有问题请先解决
$ systemctl start nginx
$ systemctl start nginx
...
...
docs/setup_by_local.rst
View file @
dca13510
...
@@ -303,13 +303,6 @@ CentOS 7 组件离线安装文档
...
@@ -303,13 +303,6 @@ CentOS 7 组件离线安装文档
$ systemctl start docker
$ systemctl start docker
$ docker load < /opt/guacamole.tar
$ docker load < /opt/guacamole.tar
# 注意:这里需要修改下 http://<填写jumpserver的url地址> 例: http://192.168.244.144 不能使用 127.0.0.1
$ docker run --name jms_guacamole -d \
-p 8081:8080 -v /opt/guacamole/key:/config/guacamole/key \
-e JUMPSERVER_KEY_DIR=/config/guacamole/key \
-e JUMPSERVER_SERVER=http://<填写jumpserver的url地址> \
jumpserver/guacamole:latest
::
::
...
@@ -384,9 +377,17 @@ CentOS 7 组件离线安装文档
...
@@ -384,9 +377,17 @@ CentOS 7 组件离线安装文档
$ cd /opt/coco
$ cd /opt/coco
$ cp conf_example.py conf.py
$ cp conf_example.py conf.py
$ ./cocod start # 后台运行使用 -d 参数./cocod start -d
$ ./cocod start # 后台运行使用 -d 参数./cocod start -d
# 新版本更新了运行脚本,使用方式./cocod start|stop|status|restart 后台运行请添加 -d 参数
# 新版本更新了运行脚本,使用方式./cocod start|stop|status|restart 后台运行请添加 -d 参数
# 运行 Guacamole
# 注意:这里需要修改下 http://<填写jumpserver的url地址> 例: http://192.168.244.144 不能使用 127.0.0.1
$ docker run --name jms_guacamole -d \
-p 8081:8080 -v /opt/guacamole/key:/config/guacamole/key \
-e JUMPSERVER_KEY_DIR=/config/guacamole/key \
-e JUMPSERVER_SERVER=http://<填写jumpserver的url地址> \
jumpserver/guacamole:latest
# docker 重启容器的方法docker restart jms_guacamole
# 运行 Nginx
# 运行 Nginx
$ nginx -t # 确保配置没有问题, 有问题请先解决
$ nginx -t # 确保配置没有问题, 有问题请先解决
$ systemctl start nginx
$ systemctl start nginx
...
...
docs/step_by_step.rst
View file @
dca13510
...
@@ -425,8 +425,6 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
...
@@ -425,8 +425,6 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
这里所需要注意的是 guacamole 暴露出来的端口是 8081,若与主机上其他端口冲突请自定义
这里所需要注意的是 guacamole 暴露出来的端口是 8081,若与主机上其他端口冲突请自定义
启动成功后去Jumpserver 会话管理-终端管理(http://192.168.244.144:8080/terminal/terminal/)接受[Gua]开头的一个注册
.. code:: shell
.. code:: shell
...
@@ -439,6 +437,8 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
...
@@ -439,6 +437,8 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
-e JUMPSERVER_SERVER=http://<填写jumpserver的url地址> \
-e JUMPSERVER_SERVER=http://<填写jumpserver的url地址> \
jumpserver/guacamole:latest
jumpserver/guacamole:latest
启动成功后去Jumpserver 会话管理-终端管理(http://192.168.244.144:8080/terminal/terminal/)接受[Gua]开头的一个注册
六. 配置 Nginx 整合各组件
六. 配置 Nginx 整合各组件
~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~
...
...
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