摘要: ubuntu开放指定端口 安装iptables 一般情况下,ubuntu安装好的时候,iptables会被安装上,如果没有的话那就安装上吧 1、安装 sudo apt-get install iptables 2、添加规则 比如开放80端口 iptables -I INPUT -p tcp --dp 阅读全文
posted @ 2021-01-31 23:51 fooooo 阅读(908) 评论(0) 推荐(0)
摘要: 编译nginx # 进入nginx目录 /usr/local/nginx/nginx-1.13.7 # 执行命令 ./configure # 执行make命令 make # 执行make install命令 make install 启动nginx #进入nginx启动目录 cd /usr/loca 阅读全文
posted @ 2021-01-31 23:47 fooooo 阅读(44) 评论(0) 推荐(0)
摘要: sudo apt-get -o Acquire::http::proxy="http://127.0.0.1:8000/" update 阅读全文
posted @ 2021-01-31 23:17 fooooo 阅读(295) 评论(0) 推荐(0)