You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
564 B

3 years ago
3 years ago
  1. # artline
  2. ## 前端部署
  3. 在ucloud申请一台centos主机,打开XShell中,使用命令ssh root@x.x.x.x 登录云主机,使用命令 yum install nginx 安装nginx,替换 /usr/sahre/html/index.html文件, 使用命令 nginx -s reload重启nginx,即可在使用IP:x.x.x.x访问应用页面。
  4. ## 后端部署
  5. 在ucloud申请一台ubuntu主机,登录主机,执行
  6. git clone http://gitea.shuishan.net.cn/10175300250/cloud-computing-final-project.git
  7. cd cloud-computing-final-project.git
  8. sudo bash env.sh
  9. 在ucloud云主机上开放8000端口