Commit 96eb31ab authored by wojiushixiaobai's avatar wojiushixiaobai

文档更新

parent 317b7eb7
...@@ -213,6 +213,9 @@ Luna 已改为纯前端,需要 Nginx 来运行访问 ...@@ -213,6 +213,9 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
# curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add - # curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
# add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable" # add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable"
$ apt-get update
$ apt-get install docker-ce
# 注意:这里一定要改写一下本机的IP地址, 否则会出错,带宽有限, 下载时间可能有点长,可以喝杯咖啡,别看对面了,你对面不是小姐姐。 # 注意:这里一定要改写一下本机的IP地址, 否则会出错,带宽有限, 下载时间可能有点长,可以喝杯咖啡,别看对面了,你对面不是小姐姐。
$ docker run -d \ $ docker run -d \
......
...@@ -239,19 +239,23 @@ Luna 已改为纯前端,需要 Nginx 来运行访问 ...@@ -239,19 +239,23 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
:: ::
$ yum remove docker-latest-logrotate docker-logrotate docker-selinux dockdocker-engine $ yum remove docker-latest-logrotate docker-logrotate docker-selinux dockdocker-engine
$ yum install docker-ce
$ yum install -y yum-utils device-mapper-persistent-data lvm2 $ yum install -y yum-utils device-mapper-persistent-data lvm2
# 添加docker官方源
$ yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo $ yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
$ yum-config-manager --enable docker-ce-edge $ yum makecache fast
$ yum-config-manager --enable docker-ce-test
$ yum-config-manager --disable docker-ce-edge
$ yum install docker-ce $ yum install docker-ce
# 国内部分用户可能无法连接docker官网提供的源,这里提供阿里云的镜像节点供测试使用
$ yum-config-manager —add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
$ rpm —import http://mirrors.aliyun.com/docker-ce/linux/centos/gpg
$ yum makecache fast
$ yum -y install docker-ce
$ systemctl start docker $ systemctl start docker
$ systemctl status docker $ systemctl status docker
5.2 启动 Guacamole 5.2 启动 Guacamole
这里所需要注意的是 guacamole 暴露出来的端口是 8081,若与主机上其他端口冲突请自定义 这里所需要注意的是 guacamole 暴露出来的端口是 8081,若与主机上其他端口冲突请自定义
......
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