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
43ef414a
Unverified
Commit
43ef414a
authored
Apr 09, 2019
by
wojiushixiaobai
Committed by
GitHub
Apr 09, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2587 from wojiushixiaobai/docs
[Fix]修改文档
parents
0dba82c0
9af089a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
+8
-11
faq_ssh.rst
docs/faq_ssh.rst
+3
-7
setup_by_tencentcloud.rst
docs/setup_by_tencentcloud.rst
+5
-4
No files found.
docs/faq_ssh.rst
View file @
43ef414a
...
...
@@ -56,19 +56,15 @@ SSH 协议资产连接错误排查思路
# 检查 coco 的 ws 端口(默认 5000)
# 检查 nginx 配置的 socket.io 设置是否有误
# 正常部署的 coco 组件请使用如下命令
$ cd /opt/coco
$ source /opt/py3/bin/activate
$ ./cocod stop
$ ps -ef | grep cocod | awk '{print $2}' | xargs kill -9
$ ./cocod start
# docker容器部署的coco组件请检查防火墙是否无误, 然后进入容器处理
$ docker exec it jms_coco /bin/bash
$ cd /opt/coco
$ source /opt/py3/bin/activate
$ ./cocod stop
$ ps -ef | grep cocod | awk '{print $2}' | xargs kill -9
$ ./cocod start
# docker 容器部署的 coco 组件请检查防火墙是否无误, 重启容器即可
$ docker restart jms_coco
.. image:: _static/img/faq_linux_03.jpg
...
...
docs/setup_by_tencentcloud.rst
View file @
43ef414a
...
...
@@ -21,12 +21,13 @@
$ echo -e "\033[31m 2. 部署环境 \033[0m" \
&& yum update -y \
&& yum -y install wget gcc epel-release git \
&& curl -o /etc/yum.repos.d/epel.repo http://mirrors.cloud.tencent.com/repo/epel-7.repo \
&& curl -o /etc/yum.repos.d/epel.repo http://mirrors.tencentyun.com/repo/epel-7.repo \
&& sed -i "s/mirrors.cloud.tencent.com/mirrors.tencentyun.com/g" /etc/yum.repos.d/epel.repo \
&& yum clean all \
&& yum makecache \
&& yum install -y yum-utils device-mapper-persistent-data lvm2 \
&& curl -o /etc/yum.repos.d/docker-ce.repo https://download.docker.com/linux/centos/docker-ce.repo \
&& sed -i
's+download.docker.com+mirrors.cloud.tencent.com/docker-ce+'
/etc/yum.repos.d/docker-ce.repo \
&& sed -i
"s@https://download.docker.com@http://mirrors.tencentyun.com/docker-ce@g"
/etc/yum.repos.d/docker-ce.repo \
&& yum makecache fast \
&& rpm --import https://mirrors.cloud.tencent.com/docker-ce/linux/centos/gpg \
&& echo -e "[nginx-stable]\nname=nginx stable repo\nbaseurl=http://nginx.org/packages/centos/\$releasever/\$basearch/\ngpgcheck=1\nenabled=1\ngpgkey=https://nginx.org/keys/nginx_signing.key" > /etc/yum.repos.d/nginx.repo \
...
...
@@ -45,8 +46,8 @@
&& if [ ! -f "/opt/luna.tar.gz" ]; then wget https://demo.jumpserver.org/download/luna/1.4.9/luna.tar.gz; tar xf luna.tar.gz; chown -R root:root luna; fi \
&& yum -y install $(cat /opt/jumpserver/requirements/rpm_requirements.txt) \
&& source /opt/py3/bin/activate \
&& pip install --upgrade pip setuptools -i http
s://mirrors.cloud.tencent
.com/pypi/simple \
&& pip install -r /opt/jumpserver/requirements/requirements.txt -i http
s://mirrors.cloud.tencent
.com/pypi/simple \
&& pip install --upgrade pip setuptools -i http
://mirrors.tencentyun
.com/pypi/simple \
&& pip install -r /opt/jumpserver/requirements/requirements.txt -i http
://mirrors.tencentyun
.com/pypi/simple \
&& curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://f1361db2.m.daocloud.io \
&& systemctl restart docker \
&& docker pull jumpserver/jms_coco:1.4.9 \
...
...
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