Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Servers Support => Topic started by: alokrajak on February 13, 2011, 03:04:56 PM
-
I have red Hat Linux 5 & i did not know how to configure yum repository server
Please advice me
Thanks & Regards
Alok
-
First you would need to root Login
then open
cd /etc/yum.repos.d/
Directory and make one file give any filename.repo extension.
open this file vi /etc/yum.repos.d/filename.repo
and write matter
[RHEL-5-Repository]
name=RHEL5 repository
baseurl=file:///cdrom
enabled=1
gpgcheck=0
save this file.
and run Command
yum install <package name>