OS: CentOS 6.2
Cacti version: 0.8.8
If you get the error in subject importing a template, simply edit /var/www/cacti/include/global_array.php, at line 558 add a comma at the end
and after it add a new line
Enjoy 
Ultima modifica di Spike il 21 marzo 2012 alle 22:11
Form Debian Unstable packages list
http://packages.debian.org/source/unstable/mssh
download
mssh_1.2.orig.tar.gz
mssh_1.2-1.1.diff.gz
Untar both files
1 2
| tar xzf mssh_1.2.orig.tar.gz
gunzip mssh_1.2-1.1.diff.gz |
Apply the patch
1
| patch -p0 < mssh_1.2-1.1.diff |
Enter mssh directory
Be sure you have installed the following packages
1
| su -c "yum install GConf2-devel gtk2-devel vte-devel" |
Run configure
Run make
Then make install (as root)
Enjoy 
Install SNMP
1
| yum install net-snmp-utils net-snmp-libs |
Create a new user using the net-snmp-create-v3-user command
1 2 3
| Usage:
net-snmp-create-v3-user [-ro] [-A authpass] [-X privpass]
[-a MD5|SHA] [-x DES|AES] [username] |
1 2 3 4 5
| [root@centos-mail ~]# net-snmp-create-v3-user -ro -A auth_password -X privacy_password -a SHA -x AES cactiuser
adding the following line to /var/lib/net-snmp/snmpd.conf:
createUser cactiuser SHA "auth_password" AES privacy_password
adding the following line to /etc/snmp/snmpd.conf:
rouser cactiuser |
Test it with
1
| snmpwalk -v 3 -u cactiuser -a SHA -A "auth_password" -l authPriv -x AES -X "privacy_password" localhost |
Change auth_password and privacy_password with your passwords.
Enjoy 
SOURCE: SNMP v3 Setup Guide by Digital Servitude
Ultima modifica di Spike il 12 febbraio 2012 alle 12:45
To mount a nfs share from a CentOS
1 2 3
| yum install nfs-utils
chkconfig rpcbind on
service rpcbind start |
Now you can mount it
1
| mount 192.168.0.50:/backup /mnt/backup/ |
Ultima modifica di Spike il 12 febbraio 2012 alle 12:45
If you try to login with Google Music Manager installed on a virtual machine, you get the following error
1
| Login failed: Could not identify your computer |
It checks your NIC MAC address, so all you have to do is to change it to something that belongs to a real vendor.
For example, if you MAC address is
Simply change the last character/number to something else:
Enjoy 