01 2022 档案

摘要:方法1:find /home/mylog/ -name "2022*.log" -mtime +7 -type f | xargs rm -f 删除7天以上的,以2022开头的,以.log结尾的文件(推荐使用此方法) 方法2:find /home/mylog/ -name \"*.txt\" -mt 阅读全文
posted @ 2022-01-28 16:40 吃吃吃大王 阅读(324) 评论(0) 推荐(0) 编辑
摘要:## 停掉防火墙 systemctl stop firewalld systemctl disable firewalld ##移除本身的源 rm -fr /etc/yum.repos.d/* #添加网易镜像站 cd /etc/yum.repos.d/ wget http://mirrors.163 阅读全文
posted @ 2022-01-20 10:33 吃吃吃大王 阅读(159) 评论(0) 推荐(0) 编辑
摘要:nginx-1.14.2 yum -y install gcc automake autoconf libtool make pcre pcre-devel zlib zlib-devel openssl openssl-devel wget http://nginx.org/download/ng 阅读全文
posted @ 2022-01-20 10:23 吃吃吃大王 阅读(220) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示