摘要: netstat 是控制台命令,它可以显示路由表、实际的网络连接以及每一个网络接口设备的状态信息。Netstat 用于显示与 IP 、 TCP 、 UDP 和 ICMP 协议相关的统计数据,一般用于检验本机各端口的网络连接情况。 # netstat 常见参数 -a (all) 显示所有选项,默认不显示 阅读全文
posted @ 2021-08-19 17:58 元月二一 阅读(418) 评论(0) 推荐(0)
摘要: 2021-08-19为了方便读者的阅读,该文通篇使用绝对路径,各位朋友们在实际上操作中可以根据实际情况编写路径(#^.^#)1. 当前环境 # system cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) # nginx ./ 阅读全文
posted @ 2021-08-19 17:45 元月二一 阅读(598) 评论(0) 推荐(0)
摘要: 2021-08-191. 启动 # 判断配置文件是否正确 cd /usr/local/nginx/sbin ./nginx -t # 启动 cd usr/local/nginx/sbin ./nginx 2. 重启 # 配置更改后需要重启 nginx cd /usr/local/nginx/sbin 阅读全文
posted @ 2021-08-19 15:40 元月二一 阅读(138) 评论(0) 推荐(0)
摘要: nginx 负载的几种方式:轮询,权重,主备 阅读全文
posted @ 2021-08-19 11:48 元月二一 阅读(461) 评论(0) 推荐(0)