Download and install Zabbix

  1. Choose your platformZABBIX VERSION
    • 4.0 LTS
    • 3.0 LTS
    • 2.2 LTS
    • pre-4.2 OS DISTRIBUTION
    • CentOS
    • Debian
    • Oracle Linux
    • Red Hat Enterprise Linux
    • Ubuntu
    • Raspbian OS VERSION
    • Stretch DATABASE 
  2. Install and configure Zabbix server for your platfoma. Install Zabbix repository documentation
  3. # wget https://repo.zabbix.com/zabbix/4.0/raspbian/pool/main/z/zabbix-release/zabbix-release_4.0-2+stretch_all.deb
    # dpkg -i zabbix-release_4.0-2+stretch_all.deb
    # apt update
    b.
  4. Install Zabbix server, frontend, agent
  5. # apt install zabbix-server-mysql zabbix-frontend-php zabbix-agentc. Create initial databasedocumentation
  6. # mysql -uroot -p
    password
    mysql> create database zabbix character set utf8 collate utf8_bin;
    mysql> grant all privileges on zabbix.* to zabbix@localhost identified by 'password';
    mysql> quit;
  7. Import initial schema and data. You will be prompted to enter your newly created password.
  8. # zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbixd. Configure the database for Zabbix serverEdit file /etc/zabbix/zabbix_server.confDBPassword=passworde. Configure PHP for Zabbix frontendEdit file /etc/zabbix/apache.conf, uncomment and set the right timezone for you.# php_value date.timezone Europe/Rigaf. Start Zabbix server and agent processesStart Zabbix server and agent processes and make it start at system boot:# systemctl restart zabbix-server zabbix-agent apache2
    # systemctl enable zabbix-server zabbix-agent apache2
    Now your Zabbix server is up and running!
  9. Configure Zabbix frontend
  10. Connect to your newly installed Zabbix frontend: http://server_ip_or_name/zabbix 
    Follow steps described in Zabbix documentation: Installing frontend Start using ZabbixSee Quickstart guide 
  11. Source: https://www.zabbix.com/download?zabbix=4.0&os_distribution=raspbian&os_version=stretch&db=MySQL
Jan D.
Jan D.

"The only real security that a man will have in this world is a reserve of knowledge, experience, and ability."

Articles: 673

Leave a Reply

Vaše e-mailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *