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
40ec5641
Commit
40ec5641
authored
Jul 05, 2018
by
wojiushixiaobai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改文档
parent
ac30ad18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
upgrade.rst
docs/upgrade.rst
+16
-5
No files found.
docs/upgrade.rst
View file @
40ec5641
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
说明: 如果是新开的终端,别忘了 source /opt/py3/bin/activate
说明: 如果是新开的终端,别忘了 source /opt/py3/bin/activate
1. 备份jumpserver数据库表结构及录像文件
1. 备份jumpserver
配置文件、
数据库表结构及录像文件
::
::
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
$ cd jumpserver && git checkout master # or other branch
$ cd jumpserver && git checkout master # or other branch
$ git pull
$ git pull
4. 还原数据库表结构文件及录像文件
4. 还原
配置文件、
数据库表结构文件及录像文件
::
::
...
@@ -117,21 +117,32 @@
...
@@ -117,21 +117,32 @@
coco是无状态的,备份 keys 目录即可
coco是无状态的,备份 keys 目录即可
1. 备份keys
1. 备份
配置文件及
keys
::
::
$ cd /opt/coco
$ cp conf.py $jumpserver_backup/
$ cp -r keys $jumpserver_backup/
$ cp -r keys $jumpserver_backup/
2. 离线更新升级coco(如果是新开的终端,别忘了 source /opt/py3/bin/activate)
2. 离线更新升级coco(如果是新开的终端,别忘了 source /opt/py3/bin/activate)
::
$ cd /opt
$ mv coco coco_bak
$ git clone https://github.com/jumpserver/coco.git
$ cd coco && git checkout master # or other branch
$ git pull
3. 还原 keys目录
3. 还原 keys目录
::
::
$ mv keys keys_backup
$ cd /opt/coco
$ cp -r $jumpserver_backup/keys .
$ cp $jumpserver_backup/conf.py .
$ cp -r $jumpserver_backup/keys .
4. 升级依赖
4. 升级依赖
...
...
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