Commit fd31e268 authored by wojiushixiaobai's avatar wojiushixiaobai

修正部分内容

parent e499228a
...@@ -70,14 +70,17 @@ CentOS 7 安装文档 ...@@ -70,14 +70,17 @@ CentOS 7 安装文档
(py3) [root@localhost py3] (py3) [root@localhost py3]
# 自动载入 Python3 虚拟环境 # 自动载入 Python3 虚拟环境
$ git clone git://github.com/kennethreitz/autoenv.git ~/.autoenv $ cd /opt
$ echo 'source ~/.autoenv/activate.sh' >> ~/.bashrc $ git clone git://github.com/kennethreitz/autoenv.git
$ echo 'source /opt/autoenv/activate.sh' >> ~/.bashrc
$ source ~/.bashrc $ source ~/.bashrc
# 下载 Jumpserver 与 Coco # 下载 Jumpserver 与 Coco
$ cd /opt/ $ cd /opt/
$ git clone https://github.com/jumpserver/jumpserver.git && cd jumpserver && git checkout master && git pull $ git clone https://github.com/jumpserver/jumpserver.git && cd jumpserver && git checkout master && git pull
$ echo "source /opt/py3/bin/activate" > /opt/jumpserver/.env # 进入 jumpserver 目录时将自动载入 python 虚拟环境 $ echo "source /opt/py3/bin/activate" > /opt/jumpserver/.env # 进入 jumpserver 目录时将自动载入 python 虚拟环境
$ cd /opt/
$ git clone https://github.com/jumpserver/coco.git && cd coco && git checkout master && git pull $ git clone https://github.com/jumpserver/coco.git && cd coco && git checkout master && git pull
$ echo "source /opt/py3/bin/activate" > /opt/coco/.env # 进入 coco 目录时将自动载入 python 虚拟环境 $ echo "source /opt/py3/bin/activate" > /opt/coco/.env # 进入 coco 目录时将自动载入 python 虚拟环境
......
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