Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => General Networking Support in Linux => Topic started by: PCSSUN0007 on June 19, 2009, 09:08:56 AM

Title: YUM CONFIGURATION
Post by: PCSSUN0007 on June 19, 2009, 09:08:56 AM
hi all,

i want to make local yum repositry for standalone pc
Title: Re: YUM CONFIGURATION
Post by: idveera on June 21, 2009, 07:11:42 AM
hi

first mount DVD ( redhat os) for your /mnt directory

then follow below steps

# mkdir  /var/ftp/pub/Server
# cd /mnt
# cd /Server
# cp -r . /var/ftp/pub/Server
# rpm -ivh createrepo -v /var/ftp/pub/Server

then

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


(RHEL)
name=RHEL
baseurl=file:///var/ftp/pub/Server
enabled=1
gpgcheck=0


wq!  -- to save


# cd /var/ftp/pub/Server
Server# rm -rf .olddata

#yum clean all
# yum install package name









Title: Re: YUM CONFIGURATION
Post by: itguy on January 26, 2013, 06:45:36 PM
you can check below site for step by step info.

http://redhatserverconfiguration.blogspot.in/p/yum-server-introduction-yellowdog.html