Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
Site Navigation
Linux Forums
Linux Articles
Product Showcase
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Free Publications


configure YUM server in Linux in order to install the rpm packages..

Configure yum server in RHEL 5.3


Follow the following steps to configure the yum repository in Linux (RHEL 5.3)



Mount the RHEL 5.3 installer disk using


#mount /dev/cdrom /mnt/cdrom



Create a directory under the /var as


#mkdir /var/ftp



Copy the contain of disk as


#cp -rv /media/RHEL_5.3 i386 DVD/ /var/ftp/pub


Step4.

Edit the yum.repos.d as


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


Step5

Add the following in the opened yum.repos.d file


[server]

name=server repository

baseurl=file:///var/ftp/pub/Server

{Note: (Server the letter S is in upper case) do not add this line}

gpgcheck=0



[VT]

name=server repository

baseurl=file:///var/ftp/pub/VT

note: V and T is in upper case.

gpgcheck=0



To install packages using yum


# yum install firefox (where firefox is the name of package.)









Thanks,

AK Kamal






Rate This Article: poorexcellent
 
Comments about this article

Comment title: * please do not put your response text here