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
e6a2593e
Unverified
Commit
e6a2593e
authored
7 years ago
by
wojiushixiaobai
Committed by
GitHub
7 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1885 from wojiushixiaobai/docs
[Add] 更新 docker镜像 1.4.2
parents
d960606c
f7b0f4c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
dockerinstall.rst
docs/dockerinstall.rst
+3
-3
upgrade.rst
docs/upgrade.rst
+7
-7
No files found.
docs/dockerinstall.rst
View file @
e6a2593e
...
...
@@ -15,8 +15,8 @@ Docker 安装见: `Docker官方安装文档 <https://docs.docker.com/install/>`_
# 1.0.0 版本
$ docker run --name jms_server -d -p 80:80 -p 2222:2222 registry.jumpserver.org/public/jumpserver:1.0.0
# 1.4.
1
版本(新)
$ docker run --name jms_server -d -p 80:80 -p 2222:2222 -e DB_ENGINE=mysql -e DB_HOST=192.168.1.1 -e DB_PORT=3306 -e DB_USER=root -e DB_PASSWORD=xxx -e DB_NAME=jumpserver wojiushixiaobai/jumpserver:1.4.
1
# 1.4.
2
版本(新)
$ docker run --name jms_server -d -p 80:80 -p 2222:2222 -e DB_ENGINE=mysql -e DB_HOST=192.168.1.1 -e DB_PORT=3306 -e DB_USER=root -e DB_PASSWORD=xxx -e DB_NAME=jumpserver wojiushixiaobai/jumpserver:1.4.
2
访问
```````````````
...
...
@@ -46,7 +46,7 @@ XShell等工具请添加connection连接,ssh 端口 2222
::
docker run --name jms_server -d -p 80:80 -p 2222:2222 -e DB_ENGINE=mysql -e DB_HOST=192.168.1.1 -e DB_PORT=3306 -e DB_USER=root -e DB_PASSWORD=xxx -e DB_NAME=jumpserver registry.jumpserver.org/public/jumpserver:1.0.0
docker run --name jms_server -d -p 80:80 -p 2222:2222 -e DB_ENGINE=mysql -e DB_HOST=192.168.1.1 -e DB_PORT=3306 -e DB_USER=root -e DB_PASSWORD=xxx -e DB_NAME=jumpserver wojiushixiaobai/jumpserver:1.4.
1
docker run --name jms_server -d -p 80:80 -p 2222:2222 -e DB_ENGINE=mysql -e DB_HOST=192.168.1.1 -e DB_PORT=3306 -e DB_USER=root -e DB_PASSWORD=xxx -e DB_NAME=jumpserver wojiushixiaobai/jumpserver:1.4.
2
仓库地址
...
...
This diff is collapsed.
Click to expand it.
docs/upgrade.rst
View file @
e6a2593e
...
...
@@ -40,22 +40,22 @@
$ pip install -r requirements/requirements.txt -i https://pypi.python.org/simple
$ cd utils && sh make_migrations.sh
# 如果执行 sh make_migrations.sh 时有红色文字提示 Run 'manage.py make_migrations' 和 'manage.py migrate' ,则需要执行下面4条命令,没有则忽略这一步
$ cd /opt/jumpserver/apps
$ python manage.py makemigrations
$ python manage.py migrate
$ cd ../utils && sh make_migrations.sh
# 1.0.x 升级到最新版本需要执行迁移脚本 (新版本授权管理更新,非 1.0.x 版本请忽略)
$ sh 2018_04_11_migrate_permissions.sh
# 任意版本升级到 1.4.0 版本,需要执行(当前版本小于 1.4.0 需要执行此步骤)
$ sh 2018_07_15_set_win_protocol_to_ssh.sh
# 如果执行 sh make_migrations.sh 时有红色提示 Run 'manage.py make_migrations' 和 'manage.py migrate'
$ cd /opt/jumpserver/apps
$ python manage.py makemigrations
$ python manage.py migrate
$ cd ../utils && sh make_migrations.sh
$ cd ../ && ./jms start all
# 任意版本升级到 1.4.2 版本,需要修改 nginx 配置 (当前版本小于 1.4.2 需要执行此步骤)
$ vim /etc/nginx/conf.d/jumpserver.conf
$ vim /etc/nginx/conf.d/jumpserver.conf
# 部分用户的配置文件是/etc/nginx/nginx.conf
...
...
...
This diff is collapsed.
Click to expand it.
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