forlifecas.blogg.se

Install zabbix on debian
Install zabbix on debian












install zabbix on debian

SSL is an older version of cryptographic protocols for encrypting data across the internet. When we talk about SSL, we actually refer to TLS. SSLCertificateKeyFile /etc/ssl/webserver/ server.key Enable Apache TLS/SSL Support

install zabbix on debian

To the following: SSLCertificateFile /etc/ssl/webserver/ server.crt SSLCertificateKeyFile /etc/ssl/private/ ssl-cert-snakeoil.key Open /etc/apache2/sites-available/default-ssl and change the lines below: SSLCertificateFile /etc/ssl/certs/ ssl-cert-snakeoil.pem server.key Configure Apache to Use the Certificate

install zabbix on debian

Make the private key readable by the root user only: # chmod 0600. Generate a self-signed certificate: # openssl req -new -x509 -days 1825 -sha256 -nodes -out. # mkdir /etc/ssl/webserver & cd /etc/ssl/webserver We want to push everything through a secure TLS/SSL connection. Restore the database from a backup file: # mysql -uzbuser -p zabbix > /etc/apache2/nfĬreate a subdirectory for Zabbix virtual host: # mkdir /var/permissions: # chown -R root:root /var/www/zabbix Generate and Install a Self-Signed SSL Certificate | GRANT ALL PRIVILEGES ON `zabbix`.* TO | | GRANT USAGE ON *.* TO IDENTIFIED BY PASSWORD '*1A' | Mysql> GRANT ALL PRIVILEGES ON zabbix.* TO IDENTIFIED BY "zbpass" Create a new MySQL user for zabbix called “zbuser” and grant all privileges on zabbix database. Login to MySQL server as root and create a new zabbix database. MySQL database and its libraries: # apt-get install mysql-server libmysqld-dev libmysqlclient-dev Create Zabbix MySQL User and Restore Zabbix Database From a Backup Generate and install a self-signed SSL certificate for secure HTTPS browsing.Ĭ compiler, make, libcurl and snmp libraries: # apt-get install wget gcc make libcurl4-gnutls-dev libsnmp-dev libnet-snmp-perl.Install Apache and PHP for Zabbix web interface.Create directories, copy and modify configuration files.Download, configure and compile Zabbix 1.8.19 source code.Restore Zabbix 1.8 database from a backup.

install zabbix on debian

So, what we are going to do is to install Zabbix 1.8.19 from source, and restore the database backup we have created on a Squeeze VM. However, due to security related issues Zabbix packages were removed from Wheezy. This VM is being migrated to Debian Wheezy, and therefore requires Zabbix to be moved as well. We have a Zabbix v1.8.X (with MySQL) server hosted on a Debian Squeeze VM.














Install zabbix on debian