zabbix4.0详细安装文档,按步骤执行

zabbix4.0详细安装文档,按步骤执行

- 软件环境:
CENTOS 7 + Zabbix 4.0

- 前置组件要求
关闭selinux:vi /etc/selinux/config SELINUX=disabled
关闭firewalld:systemctl disable firewalld
安装Zabbix监控工具前,先安装必要的运行工具包
yum install gcc gcc-c++ make openssl-devel curl wget net-snmp net-snmp-utils net-snmp-libs net-snmp-devel gnutls gnutls-devel libxml2 libxml2-devel

-安装httpd
yum install -y mariadb-server mariadb #安装
systemctl start mariadb #启动MariaDB,即MySQL服务
设置mysql的root属性:
mysql_secure_installation
屏幕内容:
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we’ll need the current
password for the root user. If you’ve just installed MariaDB, and
you haven’t set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none): 回车
OK, successfully used password, moving on…
Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.
Set root password? [Y/n] y ## Enter Y and press Enter 输入Y
New password: ## Enter new password 输入ROOT 密码
Re-enter new password: ## Enter password again输入ROOT 密码
Password updated successfully!
Reloading privilege tables…
… Success!
By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n] y ## Enter Y and press Enter输入Y
… Success!
Normally, root should only be allowed to connect from ‘localhost’. This

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值