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