yum config in rhel 5.0

ambadas bhagat ambadasbhagat at gmail.com
Wed Apr 21 07:00:44 UTC 2010


On Wed, Apr 21, 2010 at 10:36 AM, sun solaris <keyhut at gmail.com> wrote:

> hi i am confuse about the yum
> how to configure it
> plz tell .......
>
> Thanks & Regards
> Jai
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>

first u have to copy all rpm packages in /var/ftp/pub/Server directory
then
#cd /var/ftp/pub
#cd Server
#ls
#rpm -ivh createrepo....... tab...
then
#createrepo -v /var/ftp/pubServer
after that  go to
#cd /etc/yum.repos.d
ls
#nano Server.repo
[Server]
name= redhat
baseurl=file:///var/ftp/pub/Server
enable=1
gpgcheck=0

#yum clean all
#yum list
this is the procedure for configuring yum in local machine

From
A.D. Bhagat



More information about the redhat-list mailing list