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
5da57575
Unverified
Commit
5da57575
authored
Nov 02, 2018
by
wojiushixiaobai
Committed by
GitHub
Nov 02, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1992 from wojiushixiaobai/docs
[Update]更新
parents
4d6596a3
104b1932
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
15 deletions
+21
-15
dockerinstall.rst
docs/dockerinstall.rst
+21
-15
No files found.
docs/dockerinstall.rst
View file @
5da57575
...
@@ -7,24 +7,12 @@ Tips: 不建议在生产中使用, 因为所有软件都打包到一个Docker中
...
@@ -7,24 +7,12 @@ Tips: 不建议在生产中使用, 因为所有软件都打包到一个Docker中
生产中请使用 详细安装 `CentOS <step_by_step.rst>`_ `Ubuntu <setup_by_ubuntu.rst>`_
生产中请使用 详细安装 `CentOS <step_by_step.rst>`_ `Ubuntu <setup_by_ubuntu.rst>`_
Docker 安装见: `Docker官方安装文档 <https://docs.docker.com/install/>`_
Docker 安装见: `Docker官方安装文档 <https://docs.docker.com/install/>`_
数据库要求
```````````````
- mysql 版本需要大于等于 5.6
- mariadb 版本需要大于等于 5.5.6
- PostgreSQL 版本需要大于等于 9.4
- 数据库编码要求 uft8
创建数据库
``````````````````
创建数据库命令行::
# mysql
$ create database jumpserver default charset 'utf8';
$ grant all on jumpserver.* to 'jumpserver'@'%' identified by 'weakPassword';
快速启动
快速启动
```````````````
```````````````
使用 root 命令行输入::
使用 root 命令行输入
::
# 1.4.3 版本(最新)
# 1.4.3 版本(最新)
$ docker run --name jms_server -d -p 80:80 -p 2222:2222 wojiushixiaobai/jumpserver:latest
$ docker run --name jms_server -d -p 80:80 -p 2222:2222 wojiushixiaobai/jumpserver:latest
...
@@ -39,6 +27,24 @@ SSH访问: ssh -p 2222 <容器所在服务器IP>
...
@@ -39,6 +27,24 @@ SSH访问: ssh -p 2222 <容器所在服务器IP>
XShell等工具请添加connection连接,ssh 端口 2222
XShell等工具请添加connection连接,ssh 端口 2222
外置数据库要求
```````````````
- mysql 版本需要大于等于 5.6
- mariadb 版本需要大于等于 5.5.6
- PostgreSQL 版本需要大于等于 9.4
- 数据库编码要求 uft8
创建数据库
``````````````````
创建数据库命令行
::
# mysql
$ create database jumpserver default charset 'utf8';
$ grant all on jumpserver.* to 'jumpserver'@'%' identified by 'weakPassword';
额外环境变量
额外环境变量
```````````````
```````````````
...
...
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