随笔分类 -  Linux系统管理

摘要:日志切割方式:copytruncate 具体配置范例 /var/log/nginx/*.log { create 0644 www-data www-data su www-data www-data #daily size 500M dateext rotate 0 missingok copyt 阅读全文
posted @ 2021-11-02 11:13 MacoPlus 阅读(634) 评论(0) 推荐(0)
摘要:确认关闭NetworkManger [root@QN-Transit network-scripts]# systemctl stop NetworkManager [root@QN-Transit network-scripts]# systemctl disable NetworkManager 阅读全文
posted @ 2021-10-19 17:26 MacoPlus 阅读(64) 评论(0) 推荐(0)
摘要:三方镜像网站https://dl.lamp.sh/kernel/el7/ 安装elrepo源,如下 <root@iZj6c8bzfr4cvcyc42e6kqZ ~># rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org <root@i 阅读全文
posted @ 2021-08-22 15:09 MacoPlus 阅读(121) 评论(0) 推荐(0)
摘要:Redhat/Centos /proc/meminfo各参数详细解释,如下 • MemTotal Total amount of usable RAM, in kibibytes, which is physical RAM minus a number of reserved bits and t 阅读全文
posted @ 2021-08-13 21:52 MacoPlus 阅读(497) 评论(0) 推荐(0)