摘要: #!/bin/bash #centos7默认安装3.2.12,要安装较新版本,必须编译安装 . /etc/init.d/functions VERSION=redis-6.2.7PASSWORD=123456INSTALL_DIR=/apps/redis install() { #安装依赖包yum 阅读全文
posted @ 2022-07-06 23:49 joechenyao 阅读(39) 评论(2) 推荐(0)
摘要: #!/bin/bash SERVERIP=10.0.0.27HOSTNAME=Zabbix_Agent_17 hostnamectl set-hostname $HOSTNAME echo 10.0.0.17 Zabbix_Agent_17 >>/etc/hosts rpm -Uvh https:/ 阅读全文
posted @ 2022-07-06 12:44 joechenyao 阅读(103) 评论(0) 推荐(0)
摘要: #!/bin/bash rpm -Uvh https://mirrors.aliyun.com/zabbix/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpmcp /etc/yum.repos.d/zabbix.repo{,.b 阅读全文
posted @ 2022-07-06 12:42 joechenyao 阅读(67) 评论(0) 推荐(0)