Install PhpMyadmin on CentOS

1. $ su -
2. # cd /var/html/www/
3. Download Phpmyadmin
# wget -c http://prdownloads.sourceforge.net/phpmyadmin/phpMyAdmin-2.11.3-english.tar.gz?download
4. Extract
# tar xvfz phpMyAdmin-2.11.3-english.tar.gz
5. # mv phpMyAdmin-2.11.3-english phpmyadmin
6. # cd phpmyadmin
7. # cp config.sample.inc.php config.inc.php
8. edit config
# vi config.inc.php
at :line 29
/* Authentication type */
change default Authentication type cookies to http
$cfg['Servers'][$i]['auth_type'] = ‘http’;
$cfg[’Servers’][$i][’auth_type’] = ‘http‘; # default is cookies
:
9. Restart http service
# service httpd [...]

Tags: , ,

Filed under:How To

Install SNMP Centos (Yum)

[root@titik ~]# yum install net-snmp net-snmp-libs net-snmp-utils
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
–> Populating transaction set with selected packages. Please wait.
—> Downloading header for net-snmp to pack into transaction set.
net-snmp-5.1.2-11.el4_6.1 100% |=========================| 36 kB 00:01
—> Package net-snmp.i386 0:5.1.2-11.el4_6.11.2 set to [...]

Tags: , , ,

Filed under:How To