Tag Archives: Gentoo

Useful info for Gentoo users

Gentoo Forums :: View topic – emerge -U world – How often

I found this post in the Gentoo forums. Someone had it in their signature and is a useful hint on how you SHOULD use emerge to update packages.

Powered by ScribeFire.

Continue reading

Posted in Computers | Tagged , | Comments Off on Useful info for Gentoo users

Cacti, SNMP and Gentoo

Here are the instructions I followed to get SNMP and Cacti working on Gentoo:

emerge cacti cacti-cactid
groupadd cacti
useradd -g cacti -G cron cactiuser

cd /var/www/localhost/htdocs/cacti/
mysql –user=root cacti < cacti.sql
chown -R cactiuser rra/ log/
mysql
mysql> create database cactidb;
mysql> grant all on cactidb.* to root;
mysql> grant all on cactidb.* to root@localhost;
mysql> grant all on cactidb.* to cactiuser;
mysql> grant all on cactidb.* to cactiuser@localhost;
mysql> set password for cactiuser@localhost=password(‘mycactipw’);
mysql> exit

nano config.php

$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "mycactipw";

Now open browser to http://localhost/cacti

Follow the steps:

Login as admin password admin
change password

Continue reading

Posted in Computers | Tagged , , , | 2 Comments