摘要: 1.修改nginx网站监听的端口为12211,然后实现配置文件重载,确保页面可以访问。 [root@linux0224 ~]#vim /etc/nginx/nginx.conf server { listen 12211; listen [::]:80; server_name _; root /u 阅读全文
posted @ 2022-03-23 23:05 linux小白224 阅读(3251) 评论(0) 推荐(0)
摘要: 命令集合 command & # 未启动的command放入后台去运行 [root@linux0224 ~]#ping baidu.com > /tmp/ll.txt & [1] 3263 jobs # 查看后台进程列表 [root@linux0224 ~]#jobs [1]+ Running pi 阅读全文
posted @ 2022-03-23 23:00 linux小白224 阅读(52) 评论(0) 推荐(0)
摘要: 1.确保nginx在运行中,以及有日志数据 [root@linux0224 ~]# tail -f /var/log/nginx/access.log [root@linux0224 ~]# lsof |grep /var/log/nginx/access.log nginx 5455 root 5 阅读全文
posted @ 2022-03-23 21:28 linux小白224 阅读(461) 评论(0) 推荐(0)