Commit cea2da7c authored by wojiushixiaobai's avatar wojiushixiaobai Committed by 老广

更新faq文档 (#1277)

* 修改文档错误

* 修改一个错别字

* 更新文档

* 修改文档错误

* 增加登录超时修改说明

* 修正文中错误

* 修改错误符号

* 新增faq内容
parent e3c87f8f
......@@ -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;
......@@ -53,7 +53,7 @@ CentOS 7 安装文档
> flush privileges;
# 安装 Nginx ,用作代理服务器整合 Jumpserver 与各个组件
$ yum -y install redis
$ yum -y install nginx
$ systemctl enable nginx
# 下载编译 Python3.6.1
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment