Thursday, June 27, 2013

Install cacti in centos server

Install cacti in centos server

Install cacti in Centos server

 
Install cacti in centos server


Hi to all.
all of admins know Cacti is an open-source, web-based network monitoring and graphing tool designed as a front-end application for the open-source, industry-standard data logging tool RRDtool.
In this Article you will be learning how to install Cacti and installed it on CentOS 6 system.


Step 1 – Prerequisites

First we need to install some of the software packages needed for Cacti to run properly. Software which is not included or enabled in the base CentOS 6 installation are:
  • rrdtool
  • apache
  • mysql
  • cron
  • gcc
Let’s use yum to get these installed.

yum -y install mysql-server php php-cli php-mysql net-snmp-utils rrdtool 
  php-snmp gcc mysql-devel net-snmp-devel autoconf automake libtool dos2unix
 
gcc and the devel packages are required for the installation of spine, hence that’s why we include it here.
Now let’s make sure that our webserver and the database are automatically starting up after a reboot. Use the following commands to enable these:

chkconfig httpd on
chkconfig mysqld on
chkconfig crond on
 
Now that we did make sure that these services start after a reboot, let’s start them manually now in order to continue the installation. Cron may already be running so don’t panic if you don’t see the usual start message:


/etc/init.d/httpd start
/etc/init.d/mysqld start
/etc/init.d/crond start


Wednesday, June 26, 2013

uninstall httpd centos , uninstall httpd fedora

uninstall httpd centos , uninstall httpd fedora

uninstall httpd centos , uninstall httpd fedora

Remove httpd under Red Hat / RHEL / Fedora / CentOS Linux

Use rpm or yum command to delete the software.

To list the installed software type

rpm -qa | less
rpm -qa {software-name}
yum list | less
yum list {software-name}

To get information about httpd package, enter:
rpm -qa httpd
yum list httpd

To remove a software use rpm or yum command as follows