Commit 753440fa authored by ibuler's avatar ibuler

Merge branch 'dev' of github.com:jumpserver/jumpserver into audits

parents be09db05 cbb14d14
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
##### 1.1 安装基本工具和库 ##### 1.1 安装基本工具和库
$ yum -y install sqlite-devel git epel-release $ yum -y install sqlite-devel git epel-release
$ yum -y install python-devel libffi-devel openssl-devel
$ yum -y install gcc gcc-c++
##### 1.2 安装Python ##### 1.2 安装Python
...@@ -24,6 +27,22 @@ ...@@ -24,6 +27,22 @@
$ python2.7 -V $ python2.7 -V
Python 2.7.13 Python 2.7.13
设置默认python版本为2.7.13:
```
$ mv /usr/bin/python /usr/bin/python.bak
$ which python2.7
/data/server/python27/bin/python2.7
$ ln -s /data/server/python27/bin/python2.7 /usr/bin/python
$python
Python 2.7.13
```
设置yum默认python用2.6:
```
$ vim /usr/bin/yum
#!/usr/bin/python2.6
```
#### 二. Jumpserver安装 #### 二. Jumpserver安装
##### 2.1 下载仓库代码 ##### 2.1 下载仓库代码
...@@ -101,6 +120,7 @@ $ git clone https://github.com/jumpserver/coco.git ...@@ -101,6 +120,7 @@ $ git clone https://github.com/jumpserver/coco.git
**3.2 安装依赖** **3.2 安装依赖**
``` ```
$ cd coco
$ pip2.7 install -r requirements.txt -i https://pypi.doubanio.com/simple $ pip2.7 install -r requirements.txt -i https://pypi.doubanio.com/simple
``` ```
......
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