mirror of https://github.com/jumpserver/jumpserver
Updated v0.5.0 基于 CentOS7 (markdown)
parent
081e00e109
commit
2b987eff70
|
@ -41,14 +41,13 @@ $ source /opt/py3/bin/activate
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd /opt/
|
$ 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包**
|
**2.2 安装依赖rpm包**
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd /opt/
|
$ cd /opt/jumpserver/requirements
|
||||||
$ cd jumpserver/requirements
|
|
||||||
$ yum -y install $(cat rpm_requirements.txt) # 如果没有任何报错请继续
|
$ yum -y install $(cat rpm_requirements.txt) # 如果没有任何报错请继续
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -58,7 +57,7 @@ $ yum -y install $(cat rpm_requirements.txt) # 如果没有任何报错请继
|
||||||
$ pip install -r requirements.txt # 如果没有任何报错请继续
|
$ pip install -r requirements.txt # 如果没有任何报错请继续
|
||||||
```
|
```
|
||||||
|
|
||||||
**2.4 安装Redis, jumpserver使用celery依赖**
|
**2.4 安装Redis, jumpserver使用redis做cache和celery broker**
|
||||||
|
|
||||||
```
|
```
|
||||||
$ yum -y install redis
|
$ yum -y install redis
|
||||||
|
@ -95,6 +94,10 @@ $ cp config_example.py config.py
|
||||||
$ vi config.py # 我们计划修改 DevelopmentConfig中的配置,因为默认jumpserver是使用该配置,它继承自Config
|
$ vi config.py # 我们计划修改 DevelopmentConfig中的配置,因为默认jumpserver是使用该配置,它继承自Config
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**注意: 配置文件是python格式,不要用tab,而要用空格**
|
||||||
|
**注意: 配置文件是python格式,不要用tab,而要用空格**
|
||||||
|
**注意: 配置文件是python格式,不要用tab,而要用空格**
|
||||||
|
|
||||||
```
|
```
|
||||||
class DevelopmentConfig(Config):
|
class DevelopmentConfig(Config):
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
Loading…
Reference in New Issue