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
3bed672e
Unverified
Commit
3bed672e
authored
Dec 25, 2018
by
wojiushixiaobai
Committed by
GitHub
Dec 25, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2271 from wojiushixiaobai/docs
[Fix]修复
parents
0c9b8b85
fc3855c9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
faq.rst
docs/faq.rst
+5
-5
setup_by_ubuntu.rst
docs/setup_by_ubuntu.rst
+1
-1
No files found.
docs/faq.rst
View file @
3bed672e
...
...
@@ -92,15 +92,16 @@ FAQ
.. code-block:: shell
$ vi /opt/jumpserver/
apps/jumpserver/settings
.py
$ vi /opt/jumpserver/
config
.py
.. code-block:: python
# 找到如下行,注释(可参考 django 设置 session 过期时间),修改你要的设置即可
# SESSION_COOKIE_AGE = CONFIG.SESSION_COOKIE_AGE or 3600 * 24
# 找到如下行(可参考 django 设置 session 过期时间),修改你要的设置即可
# SESSION_COOKIE_AGE = 3600 * 24
# SESSION_EXPIRE_AT_BROWSER_CLOSE = False
# 如下,设置关闭浏览器 cookie 失效,则修改为
# SESSION_COOKIE_AGE =
CONFIG.SESSION_COOKIE_AGE or
3600 * 24
# SESSION_COOKIE_AGE = 3600 * 24
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
8. 资产授权说明
...
...
@@ -227,7 +228,6 @@ FAQ
$ firewall-cmd --reload # 重新载入规则
$ setsebool -P httpd_can_network_connect 1 # 设置 selinux 允许 http 访问
$ chcon -Rt svirt_sandbox_file_t /opt/guacamole/key # 设置 selinux 允许容器对目录读写
12. 生成随机 SECRET_KEY
...
...
docs/setup_by_ubuntu.rst
View file @
3bed672e
...
...
@@ -394,7 +394,7 @@
.. code-block:: shell
$ ./cocod start
all
# 后台运行使用 -d 参数./cocod start -d
$ ./cocod start # 后台运行使用 -d 参数./cocod start -d
# 新版本更新了运行脚本,使用方式./cocod start|stop|status|restart 后台运行请添加 -d 参数
...
...
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