Skip to main content


Showing posts from January, 2010

Install and Enable SNMP Service in Windows XP, Vista and 2003

SNMP (Simple Network Management Protocol) is an internet protocol used in network management systems to monitor network-attached devices such as computers, servers,routers, switches, gateways, wireless access points,VoIP phones, and etc. for conditions that warrant administrative attention. SNMP provides management data in the form of variables on the managed systems, which describe the system configuration parameter or current status value. These variables can then be read and queried (or sometimes set or write) by managing applications. Windows system running XP, Vista or 2003 does not turn on SNMP service by default, thus users need to manually install and enable SNMP service.

Note that you must be logged on as an administrator or a member of the Administrators group in order to complete this procedure. If your computer is connected to a network, network policy settings may also prevent you from completing this procedure.

How to Install and Enable the SNMP Service

In Windows XP and Wi…

Installing Open Office org in RHEL5

First want to download Open office ,

And save it in desktop ( for basic user )

Use following comment to extract package ,

tar zxvf OOo_{VERSION}_LinuxIntel_install_en-US.tar.gz

---- eg. #tar zxvf OOo_3.1.1_LinuxIntel_install_wJRE_en-US.tar.gz

Now want to install rpm, for that first goto rpm folder


---- eg. #cd OOO310_m19_native_packed-1_en-US.9420/RPMS/

After that you install the rpms by doing

#su -

#rpm -ivh *.rpm desktop-integration/*redhat*

have to replace the {VERSION} part with the actual version listed in the file you downloaded. Same thing with SOMEDIR, replace that with the name of the actual directory that gets extracted after running the first command.

Creating DVD repository for own system or server

1st Mount RHEL5 dvd

1)check :

#rpm -qa | grep vsftpd

-if /var/ftp directory didn't there means install

#rpm -ivh /media/RHEL5/Server/vsftpd* ( this is location of file in mounted dvd )

2) check :

#rpm -qa | grep createrepo

-if createrepo command not installed means install

#rpm -ivh /media/RHEL5/Server/createrepo* ( this is location of file in mounted dvd )

3)Copy dvd/cd files to pub:

#cp -avf /media/RHEL/* /var/ftp/pub/

4)copy grouping files:

#cp /var/ftp/pub/Server/repodata/comps-rhel5-server-core.xml /root

#cp /var/ftp/pub/VT/repodata/comps-rhel5-vt.xml /root

5)clear the old repos:

#rm -rf /var/ftp/pub/Server/repodata

#rm -rf /var/ftp/pub/VT/repodata

6)repo creation:

#createrepo -g /root/comps-rhel5-server-core.xml -v /var/ftp/pub/Server

#createrepo -g /root/comps-rhel5-vt.xml -v /var/ftp/pub/VT

7) create a file called :

for server:

#vim /etc/yum.repos.d/server1.repo


name=Server1 Server Repository



#This one is needed for xe…

Mounting NTFS Partition on RHEL5 with fuse-ntfs-3g

Here the simple steps for how to mount linux partitions in Redhat Enterprise Linux 5 (RHEL5)

First want to create rpmforge repository for get packages.
you can get steps here.

The gcc packages are important for installing fuse-ntfs-3

Intall gcc packages from your RHEL CD/DVD or other repository where gcc packages available. ( try EPEL or rpm fusion )

-- I am used my own dvd repository.
-- You can get this repository creation steps here.

After GCC installed do following ,

#yum -y install fuse fuse-ntfs-3g dkms dkms-fuse

this will install needed packages for mounting

Now want to create mount point , for that

#mkdir /mnt/windows

Now want to make entry in your /etc/fstab for permanent mount.

If want make back up use following comment

#cp /etc/fstab /etc/fstab.bkp

Before make entry in fstab want to know which type of hard disk we are using
if you know already skip this step, otherwise use following commant
#fdisk -l
Out put of this comment , under device boot it shows /dev/hda1 or /dev/sda1


Red Hat Enterprise Linux Enable rpm fusion Repository

Installing Free and Non free Repositories We have two separate software repositories:
free for Open Source Software (as defined by the Fedora Licensing Guidelines) which the Fedora project cannot ship due to other reasons
nonfree for redistributable software that is not Open Source Software (as defined by the Fedora Licensing Guidelines); this includes software with publicly available source-code that has "no commercial use"-like restrictions Download following file and install for free rpm fusion repository :

Download following file and install for non free rpm fusion repository :

Installing free and non free rpm fusion

#rpm -ivh rpmfusion-free-release-5-0.1.noarch.rpm

#rpm -ivh rpmfusion-nonfree-release-5-0.1.noarch.rpm

#yum repolist

-- for update repository list


Red Hat Enterprise Linux Enable EPEL (Extra Packages for Enterprise Linux) Repository

EPEL (Extra Packages for Enterprise Linux) is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise Linux (RHEL) and its compatible spinoffs, such as CentOS and Scientific Linux. EPEL provide lots of packages for CentOS / RHEL, It is not part of RedHat or CentOS but is designed to work with these major distributions. Please note that EPEL only provides free and open source software unencumbered by patents or any legal issues. In short you will not find mp3, dvd and music / media player under EPEL. However, you will find many programs related to networking, monitoring, sys admin, programming and so on. Packages are supplied in RPM format and in most cases are ready to use. Beware that some packages may break something and you should not blindly install those packages. How do I enable EPEL? Simply type the following command as root user: # rpm -Uvh http://download.fedora.redhat.c…

RPM FORGE repository for RHEL 5

This is simple method of creating repositories with rpmforge


-- this step is used to get rpmforge-release-0.3.6-1.el5.rf.i386.rpm package.

#rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm

-- this step used to install pmforge-release-0.3.6-1.el5.rf.i386.rpm package

#yum repolist

-- this step update repository list in your machine

You can find your rpmforge packages here