Friday, November 30, 2012

What is virtualization?


What is virtualization ?
Virtualization is nothing but creating a virtual which doesn’t have any physical parts such as desktop, cpu, hardisk i.e; we don’t have any physical maintance . By using virtualization we can build different operating systems as images . difference between normal and virtualization set up.

Here above shown set up for the normal and virtualization. But in virtualization we can run mutilple o.s (operating systems) in a single setup which will reduce the cost of the hardware and maintance

Tuesday, November 6, 2012

How to install nagios in ubuntu


How to install nagios in ubuntu

Nagios: Nagios is an open source application that monitors for computer network problems so that they can be fixed more quickly. Nagios was designed for use with the linux operating system, but it will also work under unix and most Unix-based systems. It is difficult to understand but very good tools to monitor the network and servers

#apt-get install apache2
#apt-get install libapache2-mob-php5
#apt-get install build-essentail
#apt-get install libgd2-xpm-dev

here create a user named nagios
#useradd -m -s /bin/bash nagios
#passwd nagios

#/usr/sbin/groupadd nagcmd
#/usr/sbin/usermod -a -G nagcmd nagios
#/usr/sbin/usermod -a -G nagcmd www-data
After this download the nagios from the nagios site
#wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.2.3.tar.gz

#wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.11.tar.gz
#ls
#tar xvf nagios-3.2.3.tar.gz
#cd nagios-3.2.3
#./configure –with-command-group=nagcmd
#make all
#make install
#make install init
#make install-config
#make install-commandmode
here we will edit a file and palce the emailid of ours
#vi /usr/local/nagios/etc/objects/contacts.cfg
here we will install nagios web config with apache
#make install-webconf
create a nagios login password
#htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
here restart the apache
#ls
tar xvf nagios-plugins-1.4.11.tar.gz
#cd nagios-plugins-1.4.11
#./configure –with-nagios-user=nagios –with-nagios-group=nagios
#make
#make install 
#ln -s /etc/init.d/nagios /etc/rcS.d/S99nagios

#/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

here we will restart the nagios
#/etc/init.d/nagios restart
after this go to browser and type http://localhost/nagios
username: nagiosadmin
password: which u given?
for more details click here

Sunday, November 4, 2012

cacti installation in ubuntu

About Cacti
Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of device
here we will show how we will install cacti in ubuntu

#apt-get install php5 php5-gd php5-mysql
after this install the cacti in ubuntu

#apt-get install cacti-spine
here the screen shots for the cacti installation is shown below
mysql password for the root user should be given
here repeat the mysql password

Configuring libphp-adodb in ubuntu
here we will select apache2 for the configuration of cacti

select yes for installation of cacti database packages in ubuntu

create a password for the database admin of cacti
reconfirm the password
then go to the browser and type http://localhost/cacti then it will be promting for the installation of the cacti
then install cacti installtion guide
then after this a login page will be created for the cacti
username: cacti
passwd: admin
reconfirm passwd: admin
after login to the page you can change the cacti password
after this the installation procedure for cacti is been shown with this u can monitor your local host and graphs of the loads
for more information login here