- 博客(2)
- 收藏
- 关注
原创 通过Jenkins+Ansible+GitLab实现自动清理磁盘
bin/bash# 输入参数:server_type(production 或 testing)# 检查参数合法性thenecho "错误:无效的服务器类型 '$SERVER_TYPE',应为 production 或 testing"exit 1fi# 定义清理路径thenthenfi# 获取磁盘使用率(仅检查目标路径所在分区)# 判断是否需要清理then。
2025-05-17 02:20:57
563
原创 Zabbix部署与监控
编辑配置文件 /etc/opt/rh/rh-nginx116/nginx/conf.d/zabbix.conf uncomment and set 'listen' and 'server_name' directives.编辑配置文件 /etc/opt/rh/rh-php72/php-fpm.d/zabbix.conf add nginx to listen.acl_users directive.编辑配置文件 /etc/zabbix/zabbix_server.conf。安装Zabbix官方源。
2024-09-12 15:25:43
379
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅