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
阅读全文
摘要:## 停掉防火墙 systemctl stop firewalld systemctl disable firewalld ##移除本身的源 rm -fr /etc/yum.repos.d/* #添加网易镜像站 cd /etc/yum.repos.d/ wget http://mirrors.163
阅读全文
摘要: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
阅读全文