Zabbix 2.2 on gentoo Install Notes


https://www.zabbix.com/wiki/howto/install/gentoo/gentoo
https://www.zabbix.com/wiki/howto/install/centos/centosinstall

ZABBIX  package 


/etc/portage/package.use

net-analyzer/zabbix agent frontend mysql server ssh
# required by net-analyzer/zabbix-2.2.2-r1[frontend]
# required by zabbix (argument)
>=dev-lang/php-5.5.11:5.5 xmlwriter sysvipc apache2 bcmath gd sockets xmlreader mysql mysqli threads
# required by dev-lang/php-5.5.11
# required by net-analyzer/zabbix-2.2.2-r1[frontend]
# required by zabbix (argument)
>=app-admin/eselect-php-0.7.1-r3 apache2
>=www-servers/apache-2.4.9-r2 threads

emerge -a zabbix


MYSQL


if the mysql is fresh install do

emerge –config =dev-db/mysql-5.5.32 
# this should also ask u to create mysql root password

~ # systemctl start mysqld
 ~ # systemctl enable mysqld

mysql -u root -p

mysql> use mysql;
mysql> CREATE DATABASE `zabbix` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;mysql> USE zabbix;mysql> GRANT SELECT, INSERT, DELETE, UPDATE ON `zabbix`.* TO 'zabbix'@localhost IDENTIFIED by '<Zabbix Password>';

###for some reason i could not find the following three files on the disk so i hat do get them from another zabbix installation

mysql> source /usr/share/zabbix/database/create/schema/mysql.sql
mysql> source /usr/share/zabbix/database/create/data/data.sql
mysql> source /usr/share/zabbix/database/create/data/images_mysql.sql


APACHE2


nano /etc/conf.d/apache2 

APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PHP -D PHP5"



Softlink to the zabbix htdocs for apache to host

 ~ # cd /var/www/localhost/htdocs
htdocs # ln -s /usr/share/webapps/zabbix/2.2.2-r1/htdocs/ zabbix

NOTE: This symlink needs to be updated overtime as the zabbix version changes during zabbix updates.



 ~ # systemctl start apache2
 ~ # systemctl enable apache2

nano /etc/php/apache2-php5.5/php.ini
engine = On
max_execution_time = 300
memory_limit = 128M




ZABBIX CONFIG

/etc/zabbix/zabbix_server.conf

DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=******




NOTES

had to create dir /run/apache_ssl_mutex/ for Apache service to start 

mkdir /run/apache_ssl_mutex/





Comments

  1. Zabbix 2.2 On Gentoo Install Notes >>>>> Download Now

    >>>>> Download Full

    Zabbix 2.2 On Gentoo Install Notes >>>>> Download LINK

    >>>>> Download Now

    Zabbix 2.2 On Gentoo Install Notes >>>>> Download Full

    >>>>> Download LINK cW

    ReplyDelete

Post a Comment

Popular posts from this blog

sudo sh VMware-Remote-Console-12.0.4-21740317.x86_64.bundle -u vmware-vmrc

zabbix agent on gentoo

Zabbix Server on Arch Linux