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
0b722a24
Commit
0b722a24
authored
7 years ago
by
wojiushixiaobai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新文档
parent
7550b6e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
11 deletions
+19
-11
faq.rst
docs/faq.rst
+19
-11
No files found.
docs/faq.rst
View file @
0b722a24
...
@@ -37,22 +37,30 @@ FAQ
...
@@ -37,22 +37,30 @@ FAQ
::
::
(1).
停止 coco 或 删掉 guacamole 的docker
(1).
在 Jumpserver后台 会话管理 - 终端管理 删掉它们
$ cd /opt/coco && ./cocod stop
(2). coco 重新注册
$ docker stop jms_guacamole # 如果名称更改过或者不对,请使用docker ps 查询容器的 CONTAINER ID ,然后docker stop <CONTAINER ID>
$ docker rm jms_guacamole # 如果名称更改过或者不对,请使用docker ps -a 查询容器的 CONTAINER ID ,然后docker rm <CONTAINER ID>
# 可以使用docker --help 查询用法
(2). 在 Jumpserver后台 会话管理 - 终端管理 删掉它们
$ cd /opt/coco && ./cocod stop
$ rm /opt/coco/keys/.access_key # coco, 如果你是按文档安装的,key应该在这里
$ ./cocod start -d # 正常运行后到Jumpserver 会话管理-终端管理 里面接受coco注册
(3).
删掉它们曾经注册的key
(3).
guacamole重新注册
$ rm /opt/coco/keys/.access_key # coco, 如果你是按文档安装的,key应该在这里
$ rm /opt/guacamole/key/* # guacamole, 如果你是按文档安装的,key应该在这里
$ rm /opt/guacamole/key/* # guacamole, 如果你是按文档安装的,key应该在这里
$ docker stop jms_guacamole # 如果名称更改过或者不对,请使用docker ps 查询容器的 CONTAINER ID ,然后docker stop <CONTAINER ID>
$ docker rm jms_guacamole # 如果名称更改过或者不对,请使用docker ps -a 查询容器的 CONTAINER ID ,然后docker rm <CONTAINER ID>
$ rm /opt/guacamole/key/*
$ systemctl stop docker
$ systemctl start docker
$ 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的IP地址>:8080 \
registry.jumpserver.org/public/guacamole:1.0.0
# 正常运行后到Jumpserver 会话管理-终端管理 里面接受gua注册
$ docker restart jms_guacamole # 如果接受注册后显示不在线,重启gua就好了
5. Ansible报错汇总
5. Ansible报错汇总
...
...
This diff is collapsed.
Click to expand it.
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