美文网首页
阿里云上传文件

阿里云上传文件

作者: 琳媚儿 | 来源:发表于2019-11-18 19:13 被阅读0次

Windows系统:
1.进入powershell
ssh进入

 ssh root@47.98.153.82

安装Apache2:

sudo apt-get install apache2

启动Apache2:

sudo systemctl start apache2

停止:

sudo systemctl stop apache2

重启:

sudo systemctl restart apache2

配置阿里云端口:

默认开80 端口(出方向和入方向各配置一遍):
21aded46f2430b7604ce417d381931e.jpg

提交html到阿里服务器:

scp test.html root@IP:/var/www/html

最后检查:
进入浏览器:

IP端口+test.html

解压压缩包

tar -zxvf 安装包

移到压缩包

mv  安装包

删除

rm 文件名

相关文章

网友评论

      本文标题:阿里云上传文件

      本文链接:https://www.haomeiwen.com/subject/vjgbictx.html