Encrypting the $HOME directory under ubuntu/debian and other dists. In my case my $USER is “ubuntu” so be careful to replace that with your own user. Be sure to have more than the double free space in your $HOME than the size of the files to complete the migration, else copy your files temporarily in […]
Author: thanosme
Cacti installation for monitoring servers and routers
This is done with Ubuntu 12.04 Precise, but, it may be done with othe distros too. First install the required packages:
1 |
sudo apt-get install snmp snmpd apache2 mysql-server mysql-client rrdtool |
Go to /var/www/ download cacti, unpack it and rename it:
1 |
cd /var/www/ && sudo wget http://www.cacti.net/downloads/cacti-0.8.8a.tar.gz && sudo tar zxvf cacti-0.8.8a.tar.gz && sudo mv cacti-0.8.8a cacti |
Create a database for cacti, a user for the database and insert the cacti tables in it:
1 |
mysqladmin -u root -p create cactidb |
1 |
mysql -u root -p -e "GRANT ALL ON cactidb.* TO 'cacti-admin'@'localhost' IDENTIFIED BY 'yourpassword';" |
1 |
mysql -u root -p cactidb < /var/www/cacti/cacti.sql |
Edit […]
Ripping with dvdrip in cluster mode. Ubuntu 11.10
Ripping with dvdrip in cluster mode. This is implemented with ubuntu 11.10 but it can be done with other distros too. You need two or more computers requiring at least one to have installed GUI. Install the packages of the master node (The master node MUST have GUI installed!).
1 2 |
$ sudo apt-get install dvdrip nfs-kernel-server libdvdread4 dvdbackup $ sudo /usr/share/doc/libdvdread4/install-css.sh |
We don’t require from the […]