Network Troublshooting > General Networking Support in Linux

YUM CONFIGURATION

(1/1)

PCSSUN0007:
hi all,

i want to make local yum repositry for standalone pc

idveera:
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









itguy:
you can check below site for step by step info.

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

Navigation

[0] Message Index

Go to full version