![]() ![]() Hence you can create it by running the command below sudo useradd -r -d /var/lib/zabbix -s /sbin/nologin -M zabbix mkdir -m u=rwx,g=rwx,o= -p /var/lib/zabbix chown zabbix:zabbix /var/lib/zabbix Download Zabbix Source Code ![]() mysql -u root -p create database zabbixdb character set utf8 collate utf8_bin create user identified by ' ' grant all on zabbixdb.* to flush privileges Ī Zabbix system account is required for running Zabbix daemons. The database user should have all the privileges on the zabbix database. Login to MariaDB server and create a database and a database user for Zabbix. Libmariadb-dev libopenipmi-dev pkg-config libssh2-1-dev libldap-dev Create Zabbix Database and Database User Libcurl4-openssl-dev libevent-dev libpcre3-dev libxml2-dev \ Php7.4-ldap php7.4-mysql apache2 mysql-server snmp libsnmp-dev \ apt install software-properties-common -y add-apt-repository ppa:ondrej/php -yes &> /dev/null apt update apt install build-essential libmariadb-dev sudo libxml2-dev \ PHP 7.4 is provided by Ondrej PHP PPA repositories. We tried PHP 8.1 and we experienced a lot of Frontend errors! As such, we are using PHP 7.4 in this guide. As a result, we will built and install Zabbix server on Ubuntu 22.04 from sources. The browser is not included into packages and has to be installed manually.Install and Buld Zabbix from Source on Ubuntu 22.04Īs of this writing, there are no Zabbix server repositories for Ubuntu 22.04. Zabbix web service process, which is used for scheduled report generation, requires Google Chrome browser. ![]() If you want to run Zabbix agent as root, see running agent as root. creating initial database, importing initial data.See the installation instructions per platform in the download page for: Packages are available with either MySQL/PostgreSQL database and Apache/Nginx web server support. Official Zabbix 6.4 packages for Debian, Ubuntu, and Raspberry Pi OS (Raspbian) are available on Zabbix website. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |