Re: yum config in rhel 5.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 21, 2010 at 10:36 AM, sun solaris <keyhut@xxxxxxxxx> 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@xxxxxxxxxx?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
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux