|
|
|
@ -1,26 +1,33 @@
|
|
|
|
|
## Jumpserver v0.4.0 版本安装详细过程
|
|
|
|
|
|
|
|
|
|
### 环境
|
|
|
|
|
|
|
|
|
|
- 系统: CentOS 6.5 x86\_64 mini_ - Python: 版本 2.7.13 (未来支持 3.5)
|
|
|
|
|
- 安装目录
|
|
|
|
|
- /opt/jumpserver
|
|
|
|
|
- /opt/coco
|
|
|
|
|
|
|
|
|
|
#### 一. 环境准备
|
|
|
|
|
|
|
|
|
|
**1.1 安装基本工具和库**
|
|
|
|
|
```
|
|
|
|
|
$ yum -y install sqlite-devel git epel-release
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
$ yum -y install sqlite-devel git epel-release
|
|
|
|
|
|
|
|
|
|
**1.2 安装Python**
|
|
|
|
|
这里可以参考 [https://segmentfault.com/a/1190000000654227][1]
|
|
|
|
|
也可以下载我编译的rpm版本:
|
|
|
|
|
```
|
|
|
|
|
$ wget http://repo.jumpserver.org/python27-2.7.13-1.el6.x86_64.rpm_
|
|
|
|
|
$ yum localinstall -y python27-2.7.13-1.el6.x86_64.rpm
|
|
|
|
|
$ bash
|
|
|
|
|
$ python2.7 -V
|
|
|
|
|
Python 2.7.13
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
这里可以参考 [https://segmentfault.com/a/1190000000654227][1]
|
|
|
|
|
|
|
|
|
|
也可以下载我编译的rpm版本:
|
|
|
|
|
|
|
|
|
|
$ wget http://repo.jumpserver.org/python27-2.7.13-1.el6.x86_64.rpm
|
|
|
|
|
|
|
|
|
|
$ yum localinstall -y python27-2.7.13-1.el6.x86_64.rpm
|
|
|
|
|
|
|
|
|
|
$ bash
|
|
|
|
|
|
|
|
|
|
$ python2.7 -V
|
|
|
|
|
|
|
|
|
|
Python 2.7.13
|
|
|
|
|
|
|
|
|
|
#### 二. Jumpserver安装
|
|
|
|
|
|
|
|
|
|