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
~ # 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>';
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
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
~ # systemctl enable apache2
nano /etc/php/apache2-php5.5/php.ini
engine = On
max_execution_time = 300
memory_limit = 128M
/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/
Zabbix 2.2 On Gentoo Install Notes >>>>> Download Now
ReplyDelete>>>>> 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