Creating
your own repository
Step
1) Check if the package is installed if not install the package :
create repo
Step
2) Make a directory for repository
createrepo
/root/<Directory-name>
Step
3) Edit the main configuration file
/etc/yum.repos.d/rhel-debuginfo.repo
Edit
according to the below configurations
#[rhel-debuginfo]
#name=Red
Hat Enterprise Linux $releasever - $basearch - Debug
#baseurl=ftp://10.10.19.30/pub/
(your directory path of RPMs)
#enabled=1
#gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Step
4) Edit the yum.conf file
/etc/yum.comf
Set
the gpgcheck=0
Step
5 ) Update repository
Yum
update
Step
5 ) Install any software from repository
Yum
install <rpm-name>
Thanking you
Hope U Like it.....