Updated v0.5.0 基于 CentOS7 (markdown)

master
liuzheng 2018-02-28 16:02:07 +08:00
parent d85b538dd7
commit 305221dc57
1 changed files with 26 additions and 5 deletions

@ -208,13 +208,30 @@ $ tar xvf luna.tar.gz
$ ls /opt/luna
...
```
### 五. 安装Windows支持组件
### 五. 配置 nginx 整合各组件
使用docker启动 guacamole
5.1 安装nginx
```shell
docker run \
-p 8080:8080 \
-e JUMPSERVER_SERVER=http://<jumpserver>:8080 \
jumpserver/guacamole
```
这里所需要注意的是guacamole暴露出来的端口是8080若与jumpserver部署在同一主机上自定义一下。
修改JUMPSERVER_SERVER的配置填上jumpserver的内网地址
### 六. 配置 nginx 整合各组件
6.1 安装nginx
根据喜好选择安装方式和版本
5.2 配置文件
6.2 配置文件
```
server {
@ -245,15 +262,19 @@ server {
proxy_set_header Connection "upgrade";
}
location /guacamole/ {
proxy_pass http://<guacamole>:8080/;
}
location / {
proxy_pass http://localhost:8080;
}
}
```
5.3 运行 nginx
6.3 运行 nginx
5.4 访问 http://192.168.244.144
6.4 访问 http://192.168.244.144
## 升级