Commit 96307d35 authored by wojiushixiaobai's avatar wojiushixiaobai

修改安装文档

parent d4f71b4a
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
$ yum -y install $(cat /opt/coco/requirements/rpm_requirements.txt) $ yum -y install $(cat /opt/coco/requirements/rpm_requirements.txt)
# 安装 Python 库依赖 # 安装 Python 库依赖
$ pip install --upgrade pip && pip install -r /opt/coco/requirements/requirements.txt $ pip install --upgrade pip && pip install -r /opt/coco/requirements/requirements.txt
# # 修改 Coco 配置文件 # # 修改 Coco 配置文件
$ cd /opt/coco $ cd /opt/coco
...@@ -156,7 +156,8 @@ ...@@ -156,7 +156,8 @@
# 运行 coco # 运行 coco
$ cd /opt/coco $ cd /opt/coco
$ ./cocod start all # 后台运行使用 -d 参数./cocod start -d $ mkdir keys
$ ./cocod start # 后台运行使用 -d 参数./cocod start -d
# 新版本更新了运行脚本,使用方式./cocod start|stop|status 后台运行请添加 -d 参数 # 新版本更新了运行脚本,使用方式./cocod start|stop|status 后台运行请添加 -d 参数
# 访问 http://192.168.100.100/terminal/terminal/ 接受 coco 注册 # 访问 http://192.168.100.100/terminal/terminal/ 接受 coco 注册
......
...@@ -98,8 +98,8 @@ CentOS 7 安装文档 ...@@ -98,8 +98,8 @@ CentOS 7 安装文档
# 安装 Python 库依赖 # 安装 Python 库依赖
$ pip install --upgrade pip $ pip install --upgrade pip
$ pip install -r /opt/jumpserver/requirements/requirements.txt $ pip install -r /opt/jumpserver/requirements/requirements.txt
$ pip install -r /opt/coco/requirements/requirements.txt $ pip install -r /opt/coco/requirements/requirements.txt
:: ::
...@@ -201,6 +201,7 @@ CentOS 7 安装文档 ...@@ -201,6 +201,7 @@ CentOS 7 安装文档
# 修改 Coco 配置文件 # 修改 Coco 配置文件
$ cd /opt/coco $ cd /opt/coco
$ mkdir keys
$ cp conf_example.py conf.py $ cp conf_example.py conf.py
$ vi conf.py $ vi conf.py
......
...@@ -198,6 +198,7 @@ CentOS 7 组件离线安装文档 ...@@ -198,6 +198,7 @@ CentOS 7 组件离线安装文档
# 修改 Coco 配置文件 # 修改 Coco 配置文件
$ cd /opt/coco $ cd /opt/coco
$ mkdir keys
$ cp conf_example.py conf.py $ cp conf_example.py conf.py
$ vi conf.py $ vi conf.py
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
:: ::
$ pip install -r requirements.txt $ pip install -r requirements.txt
**2.4 安装 Redis, Jumpserver 使用 Redis 做 cache 和 celery broke** **2.4 安装 Redis, Jumpserver 使用 Redis 做 cache 和 celery broke**
...@@ -248,13 +248,14 @@ ...@@ -248,13 +248,14 @@
:: ::
$ cd /opt/coco/requirements $ cd /opt/coco/requirements
$ pip install -r requirements.txt $ pip install -r requirements.txt
**3.3 查看配置文件并运行** **3.3 查看配置文件并运行**
:: ::
$ cd /opt/coco $ cd /opt/coco
$ mkdir keys
$ cp conf_example.py conf.py # 如果 coco 与 jumpserver 分开部署,请手动修改 conf.py $ cp conf_example.py conf.py # 如果 coco 与 jumpserver 分开部署,请手动修改 conf.py
$ vi conf.py $ vi conf.py
......
...@@ -110,7 +110,7 @@ Yum 加速设置请参考 <http://mirrors.163.com/.help/centos.html> ...@@ -110,7 +110,7 @@ Yum 加速设置请参考 <http://mirrors.163.com/.help/centos.html>
:: ::
$ pip install -r requirements.txt $ pip install -r requirements.txt
**2.4 安装 Redis, Jumpserver 使用 Redis 做 cache 和 celery broke** **2.4 安装 Redis, Jumpserver 使用 Redis 做 cache 和 celery broke**
...@@ -284,13 +284,14 @@ Yum 加速设置请参考 <http://mirrors.163.com/.help/centos.html> ...@@ -284,13 +284,14 @@ Yum 加速设置请参考 <http://mirrors.163.com/.help/centos.html>
$ cd /opt/coco/requirements $ cd /opt/coco/requirements
$ yum -y install $(cat rpm_requirements.txt) $ yum -y install $(cat rpm_requirements.txt)
$ pip install -r requirements.txt $ pip install -r requirements.txt
**3.3 修改配置文件并运行** **3.3 修改配置文件并运行**
:: ::
$ cd /opt/coco $ cd /opt/coco
$ mkdir keys
$ cp conf_example.py conf.py # 如果 coco 与 jumpserver 分开部署,请手动修改 conf.py $ cp conf_example.py conf.py # 如果 coco 与 jumpserver 分开部署,请手动修改 conf.py
$ vi conf.py $ vi conf.py
......
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