![]() If you need enable root user password authentication, login to database and run the command below mysql -u rootĪLTER USER IDENTIFIED BY ' ' Reload the privilege tables to ensure that all changes made take effect immediately and exit the database. grant all on zabbixdb.* to identified by 'Str0NGPass' create database zabbixdb Ĭreate the Zabbix database user and grant all the privileges on Zabbix database. Therefore, you can login by just typing mysql or mysql -u root. Note that by default, MariaDB 10.3 uses unix socket for authentication and hence, you can login without password set (Even if you set password with mysql_secure_installation). ![]() However, run mysql_secure_installation MariaDB initial security script to remove anonymous users, test databases and to disable remote root login. Once the installation of the Zabbix components completes, begin by creating a MariaDB database for Zabbix and a Zabbix user. apt install zabbix-agent Create Zabbix MariaDB Database and User Mariadb Ver 15.1 Distrib 10.3.15-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2Īlso, if you need to monitor the Zabbix server itself, you need to install Zabbix agent. With Zend OPcache v7.3.4-2, Copyright (c) 1999-2018, by Zend Technologies mariadb -V Zend Engine v3.3.4, Copyright (c) 1998-2018 Zend Technologies The above command installs Apache 2.43, Mariadb 10.3 and PHP 7.3 apache2 -v ![]() To install these components, run the command below apt install zabbix-server-mysql zabbix-frontend-php Zabbix uses the LAMP stack components, Apache, MariaDB and PHP. zabbix-release_4.2-1+buster_all.debĪpt upgrade -y Install Zabbix Server, Frontend and Agent ![]() Note that Zabbix 4.2 is the current stable release as of this writing. Hence, you can install it by running the command below. Debian 10 Buster do not include Zabbix repository by default.
0 Comments
Leave a Reply. |