时间计划任务 Crontab 与 时间同步NTP
摘要:时间计划任务 Crontab 常用方法 注意事项:需要提前安装 postfix mailx 服务 1、【安装】 2、【启动】 3、【格式说明】 4、【环境变量修改】 5、【案例说明】 时间同步服务NTP #1、检查是否安装ntp rpm -qa|grep ntp #2、若未安装则安装ntp yum
阅读全文
posted @
2022-04-12 18:45
Simple音七
阅读(421)
推荐(0) 编辑
awk 使用方法
摘要:💡 案例1、取出Nginx日志文件中访问 ip 出现的次数,并把访问次数最多的5个ip统计并打印 awk '{print $1}' test.net_access.log.bak | sort | uniq -c | sort -rn | head -n5 💡 案例2、文件 a.log 格式如下
阅读全文
posted @
2022-04-12 16:52
Simple音七
阅读(71)
推荐(0) 编辑
综合管理平台_单机版(cockpit、webmin)
摘要:cockpit 安装、启动 这里以CentOS8.3系统示例 1、【软件安装】 centos8 图形化界面默认已安装,最小化安装的系统需要先安装软件 [root@centos8 ~]# yum -y install cockpid 2、 【软件启动】 [root@centos8 ~]# system
阅读全文
posted @
2022-04-08 16:05
Simple音七
阅读(663)
推荐(0) 编辑