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
ae3f8ff1
Commit
ae3f8ff1
authored
Oct 30, 2018
by
wojiushixiaobai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新文档
parent
adc9abed
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
16 deletions
+8
-16
setup_by_centos7.rst
docs/setup_by_centos7.rst
+2
-4
setup_by_ubuntu.rst
docs/setup_by_ubuntu.rst
+4
-4
step_by_step.rst
docs/step_by_step.rst
+2
-8
No files found.
docs/setup_by_centos7.rst
View file @
ae3f8ff1
...
...
@@ -63,10 +63,8 @@ CentOS 7 安装文档
$ yum -y install nginx
$ systemctl enable nginx
# 下载编译 Python3.6.1
$ wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz
$ tar xvf Python-3.6.1.tar.xz && cd Python-3.6.1
$ ./configure && make && make install
# 安装 Python3.6
$ yum -y install python36 python3-devel
# 配置并载入 Python3 虚拟环境
$ cd /opt
...
...
docs/setup_by_ubuntu.rst
View file @
ae3f8ff1
...
...
@@ -30,13 +30,13 @@
$ apt-get install language-pack-zh-hans
$ echo 'LANG="zh_CN.UTF-8"' > /etc/default/locale
**1.2
编译安装
**
**1.2
安装 Python3.6
**
::
$
wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz
$
tar xvf Python-3.6.1.tar.xz && cd Python-3.6.1
$
./configure && make && make install
$
add-apt-repository ppa:jonathonf/python-3.6 -y
$
apt-get update
$
apt-get -y install python3.6 python3.6-dev python3.6-venv
**1.3 建立 Python 虚拟环境**
...
...
docs/step_by_step.rst
View file @
ae3f8ff1
...
...
@@ -48,17 +48,11 @@
$ yum -y install wget sqlite-devel xz gcc automake zlib-devel openssl-devel epel-release git
Yum 加速设置请参考 <http://mirrors.163.com/.help/centos.html>
**1.2 编译安装**
**1.2 安装 Python3.6**
::
$ wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz
$ tar xvf Python-3.6.1.tar.xz && cd Python-3.6.1
$ ./configure && make && make install
# 这里必须执行编译安装,否则在安装 Python 库依赖时会有麻烦...
$ yum -y install python36 python3-devel
**1.3 建立 Python 虚拟环境**
...
...
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