Unverified Commit 6cd93e5c authored by wojiushixiaobai's avatar wojiushixiaobai Committed by GitHub

Merge pull request #2029 from wojiushixiaobai/docs

[Update]更新
parents 698ff6a6 91bf007b
......@@ -21,7 +21,7 @@
$ yum upgrade -y
# 安装依赖包
$ yum -y install wget sqlite-devel xz gcc automake zlib-devel openssl-devel epel-release git
$ yum -y install gcc epel-release git
# 设置防火墙,开放 80 端口给 nginx 访问,开放 8080 端口给 coco 和 guacamole 访问
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.100" port protocol="tcp" port="80" accept"
......
......@@ -21,7 +21,7 @@
$ yum upgrade -y
# 安装依赖包
$ yum -y install wget sqlite-devel xz gcc automake zlib-devel openssl-devel epel-release git
$ yum -y install gcc epel-release git
# 设置防火墙,开放 2222 5000 端口 给 nginx 和 jumpserver 访问
$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.100.30" port protocol="tcp" port="2222" accept"
......
......@@ -42,7 +42,7 @@ CentOS 7 安装文档
$ echo 'LANG="zh_CN.UTF-8"' > /etc/locale.conf
# 安装依赖包
$ yum -y install wget sqlite-devel xz gcc automake zlib-devel openssl-devel epel-release git
$ yum -y install wget gcc epel-release git
# 安装 Redis, Jumpserver 使用 Redis 做 cache 和 celery broke
$ yum -y install redis
......
......@@ -24,7 +24,7 @@
::
$ apt-get update && apt-get -y upgrade
$ apt-get -y install wget libkrb5-dev libsqlite3-dev gcc make automake libssl-dev zlib1g-dev libmysqlclient-dev libffi-dev git xz-utils
$ apt-get -y install wget libffi-dev git
# 修改字符集,否则可能报 input/output error的问题,因为日志里打印了中文
$ apt-get -y install language-pack-zh-hans
......@@ -412,6 +412,11 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
$ cp /opt/docker-guacamole/guacamole-auth-jumpserver-0.9.14.jar /config/guacamole/extensions/
$ cp /opt/docker-guacamole/root/app/guacamole/guacamole.properties /config/guacamole/ # guacamole 配置文件
$ cd /config
$ wget https://github.com/ibuler/ssh-forward/releases/download/v0.0.5/linux-amd64.tar.gz
$ tar xf linux-amd64.tar.gz -C /bin/
$ chmod +x /bin/ssh-forward
**5.3 配置 Tomcat**
::
......
......@@ -51,7 +51,7 @@
::
$ yum -y install wget sqlite-devel xz gcc automake zlib-devel openssl-devel epel-release git
$ yum -y install wget gcc epel-release git
**1.2 安装 Python3.6**
......@@ -469,6 +469,11 @@ Guacamole 需要 Tomcat 来运行
$ sed -i 's/Connector port="8080"/Connector port="8081"/g' `grep 'Connector port="8080"' -rl /config/tomcat8/conf/server.xml` # 修改默认端口为 8081
$ sed -i 's/FINE/WARNING/g' `grep 'FINE' -rl /config/tomcat8/conf/logging.properties` # 修改 log 等级为 WARNING
$ cd /config
$ wget https://github.com/ibuler/ssh-forward/releases/download/v0.0.5/linux-amd64.tar.gz
$ tar xf linux-amd64.tar.gz -C /bin/
$ chmod +x /bin/ssh-forward
**5.4 配置环境变量**
::
......
......@@ -134,6 +134,11 @@
$ cp root/app/guacamole/guacamole.properties /config/guacamole/
$ cp guacamole-0.9.14.war /config/tomcat8/webapps/ROOT.war
$ cd /config
$ wget https://github.com/ibuler/ssh-forward/releases/download/v0.0.5/linux-amd64.tar.gz
$ tar xf linux-amd64.tar.gz -C /bin/
$ chmod +x /bin/ssh-forward
$ /etc/init.d/guacd start
$ sh /config/tomcat8/bin/startup.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment