摘要: 一 日志轮训切割 [root@centos7 tools]# cat nginx_log.sh #!/bin/bash cd /var/log/nginx/ &&\ /bin/mv access.log access_%(date +%F -d -1day).log systemctl reload 阅读全文
posted @ 2018-08-11 17:23 闫世成 阅读(1046) 评论(0) 推荐(0) 编辑
摘要: 一 软件优化 优化前 [root@centos7 ~]# curl -I http://192.168.10.242 HTTP/1.1 200 OK Server: nginx/1.15.2 Date: Sat, 11 Aug 2018 03:26:17 GMT Content-Type: text 阅读全文
posted @ 2018-08-11 16:49 闫世成 阅读(297) 评论(0) 推荐(0) 编辑