@@ -42,23 +42,7 @@ mysql>quit
4242
4343四、安装redis(略)
4444
45- 五、安装rabbitmq,也可参考官网:< http://www.rabbitmq.com/install-rpm.html >
46- ```
47-
48- wget https://github.com/rabbitmq/erlang-rpm/releases/download/v20.1.7.1/erlang-20.1.7.1-1.el6.x86_64.rpm
49- yum localinstall erlang-20.1.7.1-1.el6.x86_64.rpm
50- wget https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.7/rabbitmq-server-3.7.7-1.el6.noarch.rpm
51- yum localinstall rabbitmq-server-3.7.7-1.el6.noarch.rpm
52- ## 启动
53- /etc/init.d/rabbitmq-server
54- ## 使用
55- rabbitmqctl add_user myuser mypassword
56- rabbitmqctl add_vhost myvhost
57- rabbitmqctl set_user_tags myuser mytag
58- rabbitmqctl set_permissions -p myvhost myuser ".*" ".*" ".*"
59- ```
60-
61- 六、配置celery后台运行,或查看[ 官网] ( http://docs.celeryproject.org/en/latest/index.html )
45+ 五、配置celery后台运行,或查看[ 官网] ( http://docs.celeryproject.org/en/latest/index.html )
6246```
6347cp conf/celeryd.conf /etc/default/celeryd
6448### 将配置文件里的内容按照实际情况更改
@@ -69,20 +53,20 @@ cp conf/celerybeat.server /etc/init.d/celerybeat
6953/etc/init.d/celerybeat start
7054```
7155
72- 七 、配置获取主机内存脚本
56+ 六 、配置获取主机内存脚本
7357
7458```
7559cp conf/get_mem.py /path/to/your ansible python module location ##可以使用ansbile --version命令查看路径
7660```
7761
78- 八 、安装Guacamole用于支持web端登录Windows服务器以及开启VNC的服务器(可选)
62+ 七 、安装Guacamole用于支持web端登录Windows服务器以及开启VNC的服务器(可选)
7963
8064 安装步骤建议参考官方文档:< https://guacamole.apache.org/doc/gug/installing-guacamole.html >
8165
8266 安装完成后,修改settings.py中的 GUACD_HOST和 GUACD_PORT,改为guac服务启动后监听的地址和端口
8367 功能实现参考:< https://github.com/mohabusama/pyguacamole > 以及< https://github.com/jimmy201602/django-guacamole >
8468
85- 九 、启动服务
69+ 八 、启动服务
8670> 需要将Ops目录中的settings.py celery.py按照实际情况更改
8771```
8872python manage.py makemigrations assets users dbmanager fort plan projs task wiki
0 commit comments