lzqabc

导航

zabbix

1.配置yum源

mv /etc/yum.repos.d/* /media/

vi /etc/yum.repos.d/local.repo 

 

mount CentOS-7-x86_64-DVD-1804.iso /opt/centos/

2.安装vsftpd

yum -y install vsftpd

systemctl start vsftpd

systemctl status vsftpd

配置vsftpd.conf

vim /etc/vsftpd/vsftpd.conf

 配置agent的yum源

 

server安装httpd和zabbix,数据库

yum install -y mariadb-server mariadb 

yum install -y zabbix-server-mysql zabbix-web-mysql zabbix-agent mariadb-server

升级toursers,开启httpd

yum install trousers -y

systemctl start httpd

 systemctl enable httpd
 systemctl status httpd

 

开启mariadb

systemctl restart mariadb

systemctl enable mariadb

 mysql

#改时区

vi /etc/php.ini

vim /etc/httpd/conf.d/zabbix.conf

systemctl restart httpd

vi /etc/zabbix/zabbix_server.conf

grep -n '^'[a-Z] /etc/zabbix/zabbix_server.conf

 

 

 

 

 systemctl start zabbix-server

netstat -ntpl

 

 

posted on 2022-09-16 11:16  李子权  阅读(34)  评论(0编辑  收藏  举报