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
3cb8d408
Unverified
Commit
3cb8d408
authored
Aug 12, 2018
by
wojiushixiaobai
Committed by
GitHub
Aug 12, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1679 from wojiushixiaobai/docs
[Update]修改文档
parents
223371f3
24c65110
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
15 deletions
+2
-15
faq.rst
docs/faq.rst
+2
-15
No files found.
docs/faq.rst
View file @
3cb8d408
...
...
@@ -85,23 +85,10 @@ FAQ
::
# 检测 /etc/locale.conf 是否是 LANG="zh_CN.UTF-8"
$ cat /etc/locale.conf
# 如果不是,请修改,注,本例只是以CentOS 7举例,其他的linux请更换路径
$ localedef -c -f UTF-8 -i zh_CN zh_CN.UTF-8
$ export LC_ALL=zh_CN.UTF-8
$ echo 'LANG="zh_CN.UTF-8"' > /etc/locale.conf
$ source /opt/py3/bin/activate
$ cd /opt/jumpserver/apps
$ python manage.py shell
>>> from celery.task.control import discard_all
>>> discard_all()
>>> exit()
$ cd /opt/jumpserver
$ ./jms restart celery
$ celery -A ops purge -f
# 如果任然异常,手动结束所有jumpserver进程,然后kill掉未能正常结束的进程,在重新启动jumpserver即可
# 如果任然异常,手动结束所有jumpserver进程,然后kill掉未能正常结束的
jumpserver相关
进程,在重新启动jumpserver即可
7. 修改登录超时时间(默认 10 秒)
...
...
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