
linux
勤奋的知更鸟
我很勤奋
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
保留最近30填内的压缩数据脚本
这是一个用于清理旧压缩文件的Linux脚本,主要功能是删除指定目录中超过30天的压缩文件(如.gz、.zip、.tar.gz等)。脚本提供安全检查和彩色输出,支持测试模式(仅显示不删除)。使用时需配置目标目录、文件扩展名和保留天数。特性包括递归处理子目录、精确计算文件时长、统计释放空间量等。首次运行建议保持测试模式验证结果,确认无误后再启用实际删除功能。可通过cron设置定期自动清理,适用于需要管理存储空间的场景。原创 2022-06-01 14:19:13 · 130 阅读 · 0 评论 -
centos7在线安装及配置mysql5.7
一、下载mysql官方的yum repository wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm 二、 安装mysql的官方yum repository yum -y install mysql57-community-release-el7-10.noarch.rpm 三、安装mysql服务器 yum -y install mysql-community-server 四.原创 2021-12-21 22:18:40 · 1091 阅读 · 0 评论 -
centos7在线安装及配置mysql5.7
一、下载mysql官方的yum repository wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm 二、 安装mysql的官方yum repository yum -y install mysql57-community-release-el7-10.noarch.rpm 三、安装mysql服务器 yum -y install mysql-community-server 四.原创 2022-02-04 13:21:42 · 243 阅读 · 1 评论 -
centos7安装及配置mysql5.7
一、下载mysql官方的yum repository wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm 二、 安装mysql的官方yum repository yum -y install mysql57-community-release-el7-10.noarch.rpm 三、安装mysql服务器 yum -y install mysql-community-server 四、移除掉原创 2021-12-21 22:16:35 · 1372 阅读 · 0 评论 -
防火墙命令行配置工具firewall-cmd命令自动补全方法
linux 防火墙命令行配置自动补全方法原创 2021-12-18 08:44:32 · 933 阅读 · 1 评论