Monday 9 May 2011

Installing Webmin on CentOs 5

Here is all you need to do to get it installed:

This will install some dependencies.
yum -y install perl-Net-SSLeay
Install the system:
cd /usr/src
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.510-1.noarch.rpm
rpm -i webmin-1.510-1.noarch.rpm

Webmin install complete. You can now login to
https://sip.indusphone.com:10000/
as root with your root password. 



Friday 6 May 2011

how to extract file .gz and install driver in linux

# 1: Uncompress tarball

To uncompress them, execute the following command(s) depending on the extension:
$ tar zxf file.tar.gz
$ tar zxf file.tgz
$ tar jxf file.tar.bz2
$ tar jxf file.tbz2

Now change directory
$ ls
$ cd path-to-software/

# 2: Build and install software

Generally you need to type 3 commands as follows for building and compiling software:
# ./configure
# make
# make install

Tuesday 3 May 2011

command to check hba wwn and hba vendor name

cat /sys/class/scsi_host/hostn/device/fchost\:hostn/port_name

or

cd /sys/class/fc_host/host1/device/fc_host:host1
more port_name

vendor name :

lspci |grep -i -e fib -e hba