Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
8a2b008f
Commit
8a2b008f
authored
Apr 04, 2017
by
ibuler
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'a'
parents
97fb2a4f
cbb14d14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
install.md
docs/install.md
+21
-1
No files found.
docs/install.md
View file @
8a2b008f
...
@@ -13,7 +13,10 @@
...
@@ -13,7 +13,10 @@
##### 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
这里可以参考
[
https://segmentfault.com/a/1190000000654227
][
1
]
也可以下载我编译的rpm版本:
这里可以参考
[
https://segmentfault.com/a/1190000000654227
][
1
]
也可以下载我编译的rpm版本:
...
@@ -23,6 +26,22 @@
...
@@ -23,6 +26,22 @@
$ bash
$ bash
$ 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安装
...
@@ -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
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment