yum config in rhel 5.0

sun solaris keyhut at gmail.com
Wed Apr 21 11:21:43 UTC 2010


Hi Thank for giving me time
now i have to creat yum server. if want to install new package on my
linux machine should i do this things
??

Thanks & Regards
Jai

On 4/21/10, ambadas bhagat <ambadasbhagat at gmail.com> wrote:
> 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
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>




More information about the redhat-list mailing list