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
-
hi all,
i want to make local yum repositry for standalone pc
-
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
-
you can check below site for step by step info.
http://redhatserverconfiguration.blogspot.in/p/yum-server-introduction-yellowdog.html