Commit 02d20b29 authored by wojiushixiaobai's avatar wojiushixiaobai

修改文档

parent 601e5ea9
......@@ -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
$ cd /opt/jumpserver/apps
$ python manage.py shell
>>> from celery.task.control import discard_all
>>> discard_all()
>>> exit()
$ celery -A ops purge -f
$ cd /opt/jumpserver
$ ./jms restart celery
......
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