摘要: 在linux图形界面中,按 “Alt+Ctrl+F1”,进入命令行界面。 切换到root用户 # vi /etc/inittab 找到下面的语句: # Default runlevel. The runlevels used by RHS are: # 1 – Single user mode –单 阅读全文
posted @ 2018-12-08 22:42 二月无雨 阅读(200) 评论(0) 推荐(0) 编辑
摘要: HTTP 400 – 请求无效HTTP 401.1 – 未授权:登录失败HTTP 401.2 – 未授权:服务器配置问题导致登录失败HTTP 401.3 – ACL 禁止访问资源HTTP 401.4 – 未授权:授权被筛选器拒绝HTTP 401.5 – 未授权:ISAPI 或 CGI 授权失败HTT 阅读全文
posted @ 2018-12-08 17:19 二月无雨 阅读(107) 评论(0) 推荐(0) 编辑
摘要: systemctl status firewalld :查看防火墙状态 systemctl stop firewalld :关闭防火墙,重启后失效 systemctl disable firewalld :关闭防火墙,重启后仍保持关闭 systemctl enable firewalld :开启防火 阅读全文
posted @ 2018-12-08 17:16 二月无雨 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 1. 查找Nginx路径 ``` bash # 查找Nginx路径,如:nginx: /usr/local/nginx whereis nginx ``` 2. Nginx -s 命令 ```bash nginx -s reload # 修改配置文件后,重新载入配置文件 kill -HUP ngin 阅读全文
posted @ 2018-12-08 17:13 二月无雨 阅读(167) 评论(0) 推荐(0) 编辑