摘要: 一、systemctl是Systemd 的主命令,可用于管理系统。 1、列出所有已经加载的systemd units systemctl systemctl | grep docker.service 2、列出所有service systemctl list-units --type=service 阅读全文
posted @ 2021-02-07 17:34 凡人半睁眼 阅读(277) 评论(0) 推荐(0) 编辑
摘要: Nginx 五大常见应用场景 一、自定义返回客户端的404错误页面 1)优化前,客户端使用浏览器访问不存在的页面,会提示404文件未找到 # firefox http://192.168.4.5/xxxxx //访问一个不存在的页面 2)修改 Nginx 配置文件,自定义报错页面 # vim /us 阅读全文
posted @ 2021-02-07 16:41 凡人半睁眼 阅读(70) 评论(0) 推荐(0) 编辑