Wednesday, April 20, 2011

How To Install YUM Server in RHEL 6

Step By Step Configration of Yum Server
1. mount /dev/cdrom /mnt
2 rpm -ivh /mnt/Server/Packages/vsftpd*
3. cp -rv /mnt/* /var/ftp/pub/
4. rpm -ivh /mnt/Server/Packages/delta*
5. rpm -ivh /mnt/Server/Packages/Pythen-delta*
6. rpm -ivh /mnt/Server/Packages/createrepo*
7. vi /etc/yum.repos.d/server.repo
[yum-server]
name= This is my RPM store
baseurl=file:///var/ftp/pub/
enable=1
gpgcheck=0
8. createrepo -v /var/ftp/pub
9. rm -rf /var/ftp/pub/.olddata
10. yum clean all
11. yum update
Now Your Yum Server is Configured