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
df6219b3
Commit
df6219b3
authored
Nov 21, 2018
by
wojiushixiaobai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Fix]更新文档
parent
833a06d3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
distributed_06.rst
docs/distributed_06.rst
+2
-4
distributed_07.rst
docs/distributed_07.rst
+2
-4
setup_by_centos7.rst
docs/setup_by_centos7.rst
+3
-0
No files found.
docs/distributed_06.rst
View file @
df6219b3
...
...
@@ -28,9 +28,6 @@
# 升级系统
$ yum upgrade -y
# 安装依赖包
$ yum -y install gcc epel-release git
# 设置防火墙,开放 2222 5000 端口 给 nginx 访问
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="2222" accept"
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="5000" accept"
...
...
@@ -41,8 +38,9 @@
$ yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
$ yum makecache fast
$ yum -y install docker-ce
$
systemctl start docker
$
curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://f1361db2.m.daocloud.io
$ systemctl enable docker
$ systemctl start docker
# 通过 docker 部署
$ docker run --name jms_coco -d \
...
...
docs/distributed_07.rst
View file @
df6219b3
...
...
@@ -29,9 +29,6 @@
# 升级系统
$ yum upgrade -y
# 安装依赖包
$ yum install -y yum-utils device-mapper-persistent-data lvm2
# 设置防火墙,开放 8081 端口 给 nginx 访问
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="8081" accept"
$ firewall-cmd --reload
...
...
@@ -41,8 +38,9 @@
$ yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
$ yum makecache fast
$ yum -y install docker-ce
$
systemctl start docker
$
curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://f1361db2.m.daocloud.io
$ systemctl enable docker
$ systemctl start docker
# 通过 docker 部署
$ docker run --name jms_guacamole -d \
...
...
docs/setup_by_centos7.rst
View file @
df6219b3
...
...
@@ -25,6 +25,8 @@ CentOS 7 安装文档
.. code-block:: shell
$ yum update -y
# 防火墙 与 selinux 设置说明,如果已经关闭了 防火墙 和 Selinux 的用户请跳过设置
$ systemctl start firewalld
$ firewall-cmd --zone=public --add-port=80/tcp --permanent # nginx 端口
...
...
@@ -58,6 +60,7 @@ CentOS 7 安装文档
> create database jumpserver default charset 'utf8';
> grant all on jumpserver.* to 'jumpserver'@'127.0.0.1' identified by 'weakPassword';
> flush privileges;
> quit;
# 安装 Nginx ,用作代理服务器整合 Jumpserver 与各个组件
$ vi /etc/yum.repos.d/nginx.repo
...
...
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