Zabbix Documentation 4.4

2.23.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


manual:installation:install_from_packages:debian_ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:installation:install_from_packages:debian_ubuntu [2018/12/10 08:52]
martins-v better note regarding separate db for server and proxy
manual:installation:install_from_packages:debian_ubuntu [2019/04/02 07:53] (current)
sasha fixed 4.4 links
Line 20: Line 20:
 **Note!** For Debian 8, substitute '​stretch'​ with '​jessie'​ in the commands. **Note!** For Debian 8, substitute '​stretch'​ with '​jessie'​ in the commands.
  
-  # wget https://​repo.zabbix.com/​zabbix/​4.2/​debian/​pool/​main/​z/​zabbix-release/​zabbix-release_4.2-1+stretch_all.deb +  # wget https://​repo.zabbix.com/​zabbix/​4.4/​debian/​pool/​main/​z/​zabbix-release/​zabbix-release_4.4-1+stretch_all.deb 
-  # dpkg -i zabbix-release_4.2-1+stretch_all.deb+  # dpkg -i zabbix-release_4.4-1+stretch_all.deb
   # apt update   # apt update
  
 For **Ubuntu 18.04 (bionic)**, run the following commands: For **Ubuntu 18.04 (bionic)**, run the following commands:
  
-  # wget https://​repo.zabbix.com/​zabbix/​4.2/​ubuntu/​pool/​main/​z/​zabbix-release/​zabbix-release_4.2-1+bionic_all.deb +  # wget https://​repo.zabbix.com/​zabbix/​4.4/​ubuntu/​pool/​main/​z/​zabbix-release/​zabbix-release_4.4-1+bionic_all.deb 
-  # dpkg -i zabbix-release_4.2-1+bionic_all.deb+  # dpkg -i zabbix-release_4.4-1+bionic_all.deb
   # apt update   # apt update
  
Line 35: Line 35:
 For **Raspbian**,​ run the following commands: For **Raspbian**,​ run the following commands:
  
-  # wget https://​repo.zabbix.com/​zabbix/​4.2/​raspbian/​pool/​main/​z/​zabbix-release/​zabbix-release_4.2-2+stretch_all.deb +  # wget https://​repo.zabbix.com/​zabbix/​4.4/​raspbian/​pool/​main/​z/​zabbix-release/​zabbix-release_4.4-2+stretch_all.deb 
-  # dpkg -i zabbix-release_4.2-2+stretch_all.deb+  # dpkg -i zabbix-release_4.4-2+stretch_all.deb
   # apt update   # apt update
  
Line 65: Line 65:
 === Importing data === === Importing data ===
  
-Now import initial schema and data for the server with MySQL:+Now import initial schema and data for the **server** with MySQL:
  
   # zcat /​usr/​share/​doc/​zabbix-server-mysql/​create.sql.gz | mysql -uzabbix -p zabbix   # zcat /​usr/​share/​doc/​zabbix-server-mysql/​create.sql.gz | mysql -uzabbix -p zabbix
Line 75: Line 75:
   # zcat /​usr/​share/​doc/​zabbix-server-pgsql/​create.sql.gz | sudo -u <​username>​ psql zabbix   # zcat /​usr/​share/​doc/​zabbix-server-pgsql/​create.sql.gz | sudo -u <​username>​ psql zabbix
  
-For proxy, import initial schema:+With TimescaleDB,​ in addition to the previous command, also run: 
 + 
 +  # zcat /​usr/​share/​doc/​zabbix-server-pgsql*/​timescaledb.sql.gz | sudo -u <​username>​ psql zabbix 
 + 
 +<note warning>​TimescaleDB is supported with Zabbix server only.</​note>​ 
 + 
 +For **proxy**, import initial schema:
  
   # zcat /​usr/​share/​doc/​zabbix-proxy-mysql/​schema.sql.gz | mysql -uzabbix -p zabbix   # zcat /​usr/​share/​doc/​zabbix-proxy-mysql/​schema.sql.gz | mysql -uzabbix -p zabbix
Line 86: Line 92:
 === Configure database for Zabbix server/​proxy === === Configure database for Zabbix server/​proxy ===
  
-Edit zabbix_server.conf ​or zabbix_proxy.conf to use the created database. For example:+Edit zabbix_server.conf ​(and zabbix_proxy.confto use their respective databases. For example:
  
   # vi /​etc/​zabbix/​zabbix_server.conf   # vi /​etc/​zabbix/​zabbix_server.conf
Line 130: Line 136:
 Now you are ready to proceed with [[manual/​installation/​install#​installing_frontend|frontend installation steps]] which will allow you to access your newly installed Zabbix. Now you are ready to proceed with [[manual/​installation/​install#​installing_frontend|frontend installation steps]] which will allow you to access your newly installed Zabbix.
  
 +Note that a Zabbix proxy does not have a frontend; it communicates with Zabbix server only.
 ==== Agent installation ==== ==== Agent installation ====