摘要:
在此记录下Nginx服务器常用命令(CentOS7.2、Nginx1.14.2环境) 启动Nginx:./usr/sbin/nginx Nginx检查语法:nginx -tc /etc/nginx/nginx.conf 重启Nginx:nginx -s reload -c /etc/nginx/ng 阅读全文
摘要:
--with-http_stub_status_module模块:Nginx的客户端状态 Syntax:stub_status Default:-- Content:server,location location /mystatus{ stub_status; } >>效果图 --with-htt 阅读全文
摘要:
systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 阅读全文
摘要:
命令 简单说明 i 进入编辑模式,光标在原位置 I 进入编辑模式,光标在行首位置 o 从光标所在行,下面一行开始编辑 O 从光标所在行,上面一行开始编辑 a 从光标当前字符后编辑 A 从光标所在行的行尾编辑 :w 保存编辑后的文件内容,但不退出vim编辑器。这个命令的作用是把内存缓冲区中的数据写到启 阅读全文