Unverified Commit 46ab864a authored by wojiushixiaobai's avatar wojiushixiaobai Committed by GitHub

Merge pull request #1977 from wojiushixiaobai/docs

[Fix]改错
parents 54dd3aff e4335fe1
...@@ -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
......
...@@ -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 命令,载入环境后默认以下所有命令均在该虚拟环境中运行
......
...@@ -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 命令,以下所有命令均在该虚拟环境中运行
......
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