Updated v0.5.0 基于 CentOS7 (markdown)

master
老广 2018-01-19 22:24:34 +08:00
parent 081e00e109
commit 2b987eff70
1 changed files with 7 additions and 4 deletions

@ -41,14 +41,13 @@ $ source /opt/py3/bin/activate
```
$ cd /opt/
$ git clone https://github.com/jumpserver/jumpserver.git && cd jumpserver && git checkout dev
$ git clone --depth=1 https://github.com/jumpserver/jumpserver.git && cd jumpserver && git checkout dev
```
**2.2 安装依赖rpm包**
```
$ cd /opt/
$ cd jumpserver/requirements
$ cd /opt/jumpserver/requirements
$ yum -y install $(cat rpm_requirements.txt) # 如果没有任何报错请继续
```
@ -58,7 +57,7 @@ $ yum -y install $(cat rpm_requirements.txt) # 如果没有任何报错请继
$ pip install -r requirements.txt # 如果没有任何报错请继续
```
**2.4 安装Redis, jumpserver使用celery依赖**
**2.4 安装Redis, jumpserver使用redis做cache和celery broker**
```
$ yum -y install redis
@ -95,6 +94,10 @@ $ cp config_example.py config.py
$ vi config.py # 我们计划修改 DevelopmentConfig中的配置因为默认jumpserver是使用该配置它继承自Config
```
**注意: 配置文件是python格式不要用tab而要用空格**
**注意: 配置文件是python格式不要用tab而要用空格**
**注意: 配置文件是python格式不要用tab而要用空格**
```
class DevelopmentConfig(Config):
DEBUG = True