Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
庞瑞洋 67fdfc406c final pirms 4 gadiem
Public final project 删除 pirms 4 gadiem
Sqlite final project 删除 pirms 4 gadiem
documentation final project 删除 pirms 4 gadiem
install final project 删除 pirms 4 gadiem
mock final project 删除 pirms 4 gadiem
server final project 删除 pirms 4 gadiem
web final project 删除 pirms 4 gadiem
web_src final project 删除 pirms 4 gadiem
.dockerignore final project pirms 4 gadiem
.gitignore final project pirms 4 gadiem
.htaccess final project pirms 4 gadiem
Dockerfile final project pirms 4 gadiem
LICENSE.txt final project pirms 4 gadiem
README.md 更新 'README.md' pirms 4 gadiem
ULB.png final pirms 4 gadiem
composer.json final project pirms 4 gadiem
favicon.ico final project pirms 4 gadiem
index.php final project pirms 4 gadiem
listen.png 上传文件至 '' pirms 4 gadiem
result.png final pirms 4 gadiem
robots.txt final project pirms 4 gadiem
server.png final pirms 4 gadiem

README.md

cloud-computing-course-final

本项目的源代码的源地址:showdoc

部署方式:

  • 1.新建一台云主机

  • 2.安装docker并启动docker

  • 3.下载docker镜像并重命名

      docker pull registry.cn-shenzhen.aliyuncs.com/star7th/showdoc
      docker tag registry.cn-shenzhen.aliyuncs.com/star7th/showdoc:latest star7th/showdoc:latest 
    
  • 4.新建存放showdoc数据的目录并给予其权限

      mkdir -p /showdoc_data/html
      chmod  -R 777 /showdoc_data
    
  • 5.云主机新建会话并使其监听4999端口

    端口监听
  • 6.运行容器

     docker run -d --name showdoc -p 4999:80 -v /showdoc_data/html:/var/www/html/ star7th/showdoc
    
  • 7.登陆网站

    本机登录网址http://localhost:4999,即可登录showdoc,初始账号是showdoc,密码是123456; 应用效果 但仅限本机登录。
  • 8.非本机访问——负载均衡

    先创建一个负载均衡
  • 9.非本机访问

    将云主机连到负载均衡器。回到前面添加服务节点的界面,输入端口4999,将云主机对应的内网ip,转移到待添加节点,点击确定。 随后在任意设备上输入网址http://负载均衡ip即可登录showdoc。