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
02d20b29
Commit
02d20b29
authored
Aug 12, 2018
by
wojiushixiaobai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改文档
parent
601e5ea9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
faq.rst
docs/faq.rst
+1
-12
No files found.
docs/faq.rst
View file @
02d20b29
...
@@ -85,19 +85,8 @@ FAQ
...
@@ -85,19 +85,8 @@ 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
$ source /opt/py3/bin/activate
$ cd /opt/jumpserver/apps
$ celery -A ops purge -f
$ python manage.py shell
>>> from celery.task.control import discard_all
>>> discard_all()
>>> exit()
$ cd /opt/jumpserver
$ cd /opt/jumpserver
$ ./jms restart celery
$ ./jms restart celery
...
...
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