mirror of https://github.com/jumpserver/jumpserver
Updated 基于 CentOS 7 一步一步安装 Jumpserver 0.5.0 (markdown)
parent
8f3f7b305e
commit
369642397e
|
@ -76,7 +76,7 @@ $ service mariadb start
|
||||||
|
|
||||||
# centos6
|
# centos6
|
||||||
$ yum -y install mysql mysql-devel mysql-server
|
$ yum -y install mysql mysql-devel mysql-server
|
||||||
$ service mysql start
|
$ service mysqld start
|
||||||
```
|
```
|
||||||
|
|
||||||
**2.6 创建数据库 jumpserver并授权**
|
**2.6 创建数据库 jumpserver并授权**
|
||||||
|
@ -126,7 +126,7 @@ $ bash make_migrations.sh
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd /opt/jumpserver
|
$ cd /opt/jumpserver
|
||||||
$ python run_server.py
|
$ python run_server.py all
|
||||||
|
|
||||||
```
|
```
|
||||||
运行不报错,请浏览器访问 http://192.168.244.144:8080/
|
运行不报错,请浏览器访问 http://192.168.244.144:8080/
|
||||||
|
@ -141,7 +141,7 @@ $ python run_server.py
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd /opt
|
$ cd /opt
|
||||||
$ git clone https://github.com/jumpserver/coco.git && git checkout dev
|
$ git clone https://github.com/jumpserver/coco.git && cd coco && git checkout dev
|
||||||
```
|
```
|
||||||
|
|
||||||
**3.2 安装依赖**
|
**3.2 安装依赖**
|
||||||
|
@ -189,6 +189,10 @@ Luna已该为纯前端,需要nginx来运行访问, 这里仅
|
||||||
$ cd /opt
|
$ cd /opt
|
||||||
$ git clone https://github.com/jumpserver/luna.git
|
$ git clone https://github.com/jumpserver/luna.git
|
||||||
$ cd luna && npm install && ng build
|
$ cd luna && npm install && ng build
|
||||||
|
|
||||||
|
或 下载 release包
|
||||||
|
|
||||||
|
访问 https://github.com/jumpserver/luna/releases,下载对应release包
|
||||||
```
|
```
|
||||||
|
|
||||||
### 五. 配置 nginx 整合各组件
|
### 五. 配置 nginx 整合各组件
|
||||||
|
@ -208,11 +212,11 @@ server {
|
||||||
|
|
||||||
location /media/ {
|
location /media/ {
|
||||||
add_header Content-Encoding gzip;
|
add_header Content-Encoding gzip;
|
||||||
root /opt/jumpserver/data/media/;
|
root /opt/jumpserver/data/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /static/ {
|
location /static/ {
|
||||||
root /opt/jumpserver/data/static/;
|
root /opt/jumpserver/data/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /socket.io/ {
|
location /socket.io/ {
|
||||||
|
|
Loading…
Reference in New Issue