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
cea2da7c
Commit
cea2da7c
authored
May 07, 2018
by
wojiushixiaobai
Committed by
老广
May 07, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新faq文档 (#1277)
* 修改文档错误 * 修改一个错别字 * 更新文档 * 修改文档错误 * 增加登录超时修改说明 * 修正文中错误 * 修改错误符号 * 新增faq内容
parent
e3c87f8f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
3 deletions
+23
-3
faq.rst
docs/faq.rst
+20
-0
setup_by_centos7.rst
docs/setup_by_centos7.rst
+1
-1
step_by_step.rst
docs/step_by_step.rst
+2
-2
No files found.
docs/faq.rst
View file @
cea2da7c
...
...
@@ -189,3 +189,23 @@ FAQ
$ exit()
$ cd /opt/jumpserver
$ ./jms restart celery
(12). 修改登录超时时间(默认 10 秒)
$ vim /opt/coco/coco/proxy.py
$ vim /opt/coco/coco/connection.py
# 把 TIMEOUT = 10 修改成你想要的数字,两个文件都需要修改,单位为:秒
# TIMEOUT = 10 表示超时时间为10秒,可以自行修改。
(13). 升级提示 Table 'xxx' already exists(可用以下命令检查,如果显示内容不一致则无法升级)
# cd /opt/jumpserver/apps
# python manage.py makemigrations
# python manage.py migrate --fake
# find . | grep migrations | grep apps | grep -v 'pyc' | grep -v '__init__'
# 把这里的内容和下面数据库查询的内容对比
# mysql -uroot
> use jumpserver;
> select * from django_migrations;
# 如果对比结果不一样则无法升级
> quit;
docs/setup_by_centos7.rst
View file @
cea2da7c
...
...
@@ -53,7 +53,7 @@ CentOS 7 安装文档
> flush privileges;
# 安装 Nginx ,用作代理服务器整合 Jumpserver 与各个组件
$ yum -y install
redis
$ yum -y install
nginx
$ systemctl enable nginx
# 下载编译 Python3.6.1
...
...
docs/step_by_step.rst
View file @
cea2da7c
...
...
@@ -265,8 +265,8 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
# 国内部分用户可能无法连接docker官网提供的源,这里提供阿里云的镜像节点供测试使用
$ yum-config-manager
—
add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
$ rpm
—
import http://mirrors.aliyun.com/docker-ce/linux/centos/gpg
$ yum-config-manager
--
add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
$ rpm
--
import http://mirrors.aliyun.com/docker-ce/linux/centos/gpg
$ yum makecache fast
$ yum -y install docker-ce
...
...
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