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


Yum server is used for installing the Linux packages without dependencies.

Configure yum server in RHEL 5.3


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


STEP1.



Mount the RHEL 5.3 installer disk using


#mount      /dev/cdrom     /mnt/cdrom


Step2.



Create a directory under the /var as


#mkdir      /var/ftp


Step3.



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


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



http://4.bp.blogspot.com/_3FBp7crlvJY/TEWeHlfWvdI/AAAAAAAAAAw/irvK-Xb6Ius/s320/Screenshot-1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5495972773435456978" /></a>



Step9 .



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