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
50cada39
Unverified
Commit
50cada39
authored
Aug 14, 2018
by
wojiushixiaobai
Committed by
GitHub
Aug 14, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1684 from wojiushixiaobai/docs
[Update]新增组件离线部署文档
parents
3cb8d408
313a7df3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
12 deletions
+23
-12
dockerinstall.rst
docs/dockerinstall.rst
+0
-1
faq.rst
docs/faq.rst
+1
-0
installation.rst
docs/installation.rst
+0
-1
quickinstall.rst
docs/quickinstall.rst
+3
-2
setup_by_local.rst
docs/setup_by_local.rst
+0
-0
step_by_step.rst
docs/step_by_step.rst
+3
-3
upgrade.rst
docs/upgrade.rst
+16
-5
No files found.
docs/dockerinstall.rst
View file @
50cada39
...
@@ -10,7 +10,6 @@ CentOS7 自动安装脚本脚本见: `自动安装 <fool_install.html>`_
...
@@ -10,7 +10,6 @@ CentOS7 自动安装脚本脚本见: `自动安装 <fool_install.html>`_
Docker 安装见: `Docker官方安装文档 <https://docs.docker.com/install/>`_
Docker 安装见: `Docker官方安装文档 <https://docs.docker.com/install/>`_
快速启动
快速启动
```````````````
```````````````
使用 root 命令行输入::
使用 root 命令行输入::
...
...
docs/faq.rst
View file @
50cada39
...
@@ -86,6 +86,7 @@ FAQ
...
@@ -86,6 +86,7 @@ FAQ
::
::
$ source /opt/py3/bin/activate
$ source /opt/py3/bin/activate
$ cd /opt/jumpserver/apps
$ celery -A ops purge -f
$ celery -A ops purge -f
# 如果任然异常,手动结束所有jumpserver进程,然后kill掉未能正常结束的jumpserver相关进程,在重新启动jumpserver即可
# 如果任然异常,手动结束所有jumpserver进程,然后kill掉未能正常结束的jumpserver相关进程,在重新启动jumpserver即可
...
...
docs/installation.rst
View file @
50cada39
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
.. toctree::
.. toctree::
:maxdepth: 1
:maxdepth: 1
dockerinstall
quickinstall
quickinstall
step_by_step
step_by_step
setup_by_ubuntu
setup_by_ubuntu
...
...
docs/quickinstall.rst
View file @
50cada39
进阶
安装
一站式、分布式、组件离线
安装
++++++++++++++++++++++++
++++++++++++++++++++++++
++++++++++++++++++++++++++++++
可用于生产环境参考安装文档
可用于生产环境参考安装文档
组件说明
组件说明
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
:maxdepth: 1
:maxdepth: 1
安装文档 <setup_by_centos7.rst>
安装文档 <setup_by_centos7.rst>
组件离线安装文档 <setup_by_local.rst>
分布式部署文档(基于CentOS 7)
分布式部署文档(基于CentOS 7)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
...
docs/setup_by_local.rst
0 → 100644
View file @
50cada39
This diff is collapsed.
Click to expand it.
docs/step_by_step.rst
View file @
50cada39
...
@@ -406,11 +406,11 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
...
@@ -406,11 +406,11 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
::
::
$ yum remove docker-latest-logrotate
docker-logrotate
docker-selinux dockdocker-engine
$ yum remove docker-latest-logrotate
docker-logrotate
docker-selinux dockdocker-engine
$ yum install -y yum-utils
device-mapper-persistent-data
lvm2
$ yum install -y yum-utils
device-mapper-persistent-data
lvm2
# 添加docker官方源
# 添加docker官方源
$ yum-config-manager
--add-repo
https://download.docker.com/linux/centos/docker-ce.repo
$ yum-config-manager
--add-repo
https://download.docker.com/linux/centos/docker-ce.repo
$ yum makecache fast
$ yum makecache fast
$ yum install docker-ce
$ yum install docker-ce
...
...
docs/upgrade.rst
View file @
50cada39
更新升级
更新升级
-------------
-------------
说明
~~~~~~~
- 不支持从 0.x 版本升级到 1.x 版本
- 本文档仅针对 1.0 及之后的版本升级教程
1. 升级 Jumpserver(如果是新开的终端,别忘了 source /opt/py3/bin/activate)
1. 升级 Jumpserver(如果是新开的终端,别忘了 source /opt/py3/bin/activate)
::
::
...
@@ -8,11 +13,20 @@
...
@@ -8,11 +13,20 @@
# 升级前请做好 jumpserver 与 数据库 备份,谨防意外,具体的备份命令可以参考离线升级
# 升级前请做好 jumpserver 与 数据库 备份,谨防意外,具体的备份命令可以参考离线升级
$ cd /opt/jumpserver
$ cd /opt/jumpserver
$ git pull
$ git pull
$ pip install -r requirements/requirements.txt # 如果使用其他源下载失败可以使用 -i 参数指定源
# 版本小于 1.3 升级到最新版本请使用新的 config.py
$ mv config.py config.bak
$ cp config_example.py config.py
$ vim config.py # 参考安装文档进行修改
$ pip install -r requirements/requirements.txt
$ cd utils && sh make_migrations.sh
$ cd utils && sh make_migrations.sh
# 1.0.x 升级
1.2.0 及以后的版本
需要执行迁移脚本(新版本授权管理更新)
# 1.0.x 升级
到最新版本
需要执行迁移脚本(新版本授权管理更新)
$ sh 2018_04_11_migrate_permissions.sh
$ sh 2018_04_11_migrate_permissions.sh
# 任意版本升级到 1.4.0 版本,需要执行
$ sh 2018_07_15_set_win_protocol_to_ssh.sh
2. 升级 Coco(如果是新开的终端,别忘了 source /opt/py3/bin/activate)
2. 升级 Coco(如果是新开的终端,别忘了 source /opt/py3/bin/activate)
...
@@ -22,9 +36,6 @@
...
@@ -22,9 +36,6 @@
$ cd /opt/coco
$ cd /opt/coco
$ git pull && pip install -r requirements/requirements.txt
$ git pull && pip install -r requirements/requirements.txt
# 如果使用其他源下载失败可以使用 -i 参数指定源
$ pip install -r requirements/requirements.txt -i https://pypi.org/simple
3. 升级 Luna
3. 升级 Luna
重新下载 release 包(https://github.com/jumpserver/luna/releases)
重新下载 release 包(https://github.com/jumpserver/luna/releases)
...
...
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