阿里服务器部署笔记
admin
撰写于 2022年 01月 22 日

网站部署到阿里ESC服务器,发现使用公网ip进行访问时被拒绝。 我是通过mac 使用ssh链接到服务器ssh root@xx.xx.xx.xx进行操作 1.运行命令netstat -an | grep 80 查看80是否开启全网监听 2.没有开启相应端口监听时,通过打开/etc/apache2/ports.conf 配置端口 3.service apache2 restart 参考文档:https://help.aliyun.com/knowledge_detail/40744.html
将mac上的后台程序发送到服务器到方法: 可以使用ssh,打开terimal,使用如下命令: scp /Users/whyus/Desktop/blog.zip root@xx.xx.xx.xx:/usr/local/gopath/src 没有配置ssh的话,需要输入密码,这种方式可以暂时解决问题,但是及其不方便,后续待寻找其他办法。

阿里服务器部署笔记

网站部署到阿里ESC服务器,发现使用公网ip进行访问时被拒绝。 我是通过mac 使用ssh链接到服务器ssh root@xx.xx.xx.xx进行操作 1.运行命令netstat -an | grep 80 查看80是否开启全网监听 2.没有开启相应端口监听时,通过打开/etc/apache2/ports.conf 配置端口 3.service apache2 restart 参考文档:https://help.aliyun.com/knowledge_detail/40744.html
将mac上的后台程序发送到服务器到方法: 可以使用ssh,打开terimal,使用如下命令: scp /Users/whyus/Desktop/blog.zip root@xx.xx.xx.xx:/usr/local/gopath/src 没有配置ssh的话,需要输入密码,这种方式可以暂时解决问题,但是及其不方便,后续待寻找其他办法。

赞 (0)

猜您想看

评论区(暂无评论)

这里空空如也,快来评论吧~

我要评论