Skip to content

Commit def79d5

Browse files
authored
Update README.md
1 parent e4867b5 commit def79d5

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ mysql>quit
4242

4343
四、安装redis(略)
4444

45-
五、配置celery后台运行,或查看[官网](http://docs.celeryproject.org/en/latest/index.html)
45+
五、安装mongodb(略)
46+
47+
六、配置celery后台运行,或查看[官网](http://docs.celeryproject.org/en/latest/index.html)
4648
```
4749
cp conf/celeryd.conf /etc/default/celeryd
4850
### 将配置文件里的内容按照实际情况更改
@@ -53,30 +55,32 @@ cp conf/celerybeat.server /etc/init.d/celerybeat
5355
/etc/init.d/celerybeat start
5456
```
5557

56-
、配置获取主机内存脚本
58+
、配置获取主机内存脚本
5759

5860
```
5961
cp conf/get_mem.py /path/to/your ansible python module location ##可以使用ansbile --version命令查看路径
6062
```
6163

62-
、安装Guacamole用于支持web端登录Windows服务器以及开启VNC的服务器(可选)
64+
、安装Guacamole用于支持web端登录Windows服务器以及开启VNC的服务器(可选)
6365

6466
安装步骤建议参考官方文档:<https://guacamole.apache.org/doc/gug/installing-guacamole.html>
6567

6668
安装完成后,修改settings.py中的 GUACD_HOST和 GUACD_PORT,改为guac服务启动后监听的地址和端口
6769
功能实现参考:<https://github.com/mohabusama/pyguacamole>以及<https://github.com/jimmy201602/django-guacamole>
6870

69-
、启动服务
71+
、启动服务
7072
> 需要将Ops目录中的settings.py celery.py按照实际情况更改
7173
```
72-
python manage.py makemigrations assets users dbmanager fort plan projs task wiki
74+
python manage.py makemigrations users assets dbmanager fort plan projs task wiki
7375
python manage.py migrate
7476
python manage.py createsuperuser
7577
python manage.py runserver 0.0.0.0:8000
76-
若ansible结果返回时间过长,需额外添加参数:--http_timeout=600 表示超时时间设置为10分钟
7778
```
7879

7980
以下为部分截图:
81+
### 系统操作日志
82+
![image](https://github.com/pythonzm/Ops/blob/master/screenshots/system_log.png)
83+
![image](https://github.com/pythonzm/Ops/blob/master/screenshots/request_data.jpg)
8084

8185
### 用户管理
8286
![image](https://github.com/pythonzm/Ops/blob/master/screenshots/user_list.png)

0 commit comments

Comments
 (0)