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
46ab864a
Unverified
Commit
46ab864a
authored
Nov 01, 2018
by
wojiushixiaobai
Committed by
GitHub
Nov 01, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1977 from wojiushixiaobai/docs
[Fix]改错
parents
54dd3aff
e4335fe1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
distributed_04.rst
docs/distributed_04.rst
+3
-5
setup_by_centos7.rst
docs/setup_by_centos7.rst
+1
-1
step_by_step.rst
docs/step_by_step.rst
+1
-1
No files found.
docs/distributed_04.rst
View file @
46ab864a
...
@@ -36,13 +36,11 @@
...
@@ -36,13 +36,11 @@
$ yum -y install nginx
$ yum -y install nginx
$ systemctl enable nginx
$ systemctl enable nginx
# 安装 Python3.6.1
# 安装 Python3.6
$ wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz
$ yum -y install python36 python36-devel
$ tar xvf Python-3.6.1.tar.xz && cd Python-3.6.1
$ ./configure && make && make install
# 配置 py3 虚拟环境
# 配置 py3 虚拟环境
$ python3 -m venv /opt/py3
$ python3
.6
-m venv /opt/py3
$ source /opt/py3/bin/activate
$ source /opt/py3/bin/activate
# 配置 autoenv
# 配置 autoenv
...
...
docs/setup_by_centos7.rst
View file @
46ab864a
...
@@ -68,7 +68,7 @@ CentOS 7 安装文档
...
@@ -68,7 +68,7 @@ CentOS 7 安装文档
# 配置并载入 Python3 虚拟环境
# 配置并载入 Python3 虚拟环境
$ cd /opt
$ cd /opt
$ python3 -m venv py3 # py3 为虚拟环境名称,可自定义
$ python3
.6
-m venv py3 # py3 为虚拟环境名称,可自定义
$ source /opt/py3/bin/activate # 退出虚拟环境可以使用 deactivate 命令
$ source /opt/py3/bin/activate # 退出虚拟环境可以使用 deactivate 命令
# 看到下面的提示符代表成功,以后运行 Jumpserver 都要先运行以上 source 命令,载入环境后默认以下所有命令均在该虚拟环境中运行
# 看到下面的提示符代表成功,以后运行 Jumpserver 都要先运行以上 source 命令,载入环境后默认以下所有命令均在该虚拟环境中运行
...
...
docs/step_by_step.rst
View file @
46ab864a
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
::
::
$ cd /opt
$ cd /opt
$ python3 -m venv py3
$ python3
.6
-m venv py3
$ source /opt/py3/bin/activate
$ source /opt/py3/bin/activate
# 看到下面的提示符代表成功,以后运行 Jumpserver 都要先运行以上 source 命令,以下所有命令均在该虚拟环境中运行
# 看到下面的提示符代表成功,以后运行 Jumpserver 都要先运行以上 source 命令,以下所有命令均在该虚拟环境中运行
...
...
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