Showing posts with label Yum server. Show all posts
Showing posts with label Yum server. Show all posts

Wednesday, September 5

YUM Server configuration steps


To solve the problem of dependency resolution and package location, volunteer programmers at Duke University developed Yellow dog Update, Modified or short for YUM. The system is based on repositories that hold RPMs and repodata file list. Yum server is the centralized server through which you can install all servers’ package. The data of Yum server is stored in /var/ftp/pub to install Yum server you should have minimum 7 GB  in /Var partition. If you don’t have var partition then you should create a new partition and mount with /var by using vi /etc/fstab.

LAB: - ---------------------------------------------------------------------------------------------

~] # create a drive like mkdir /popo
~] # mount /dev/cdrom /popo
~] # cd /popo/
Popo] # cd Server
Server] # rpm –ivh vsftpd (press tab key to complete the command)
Server] # rpm –ivh createrepo (press tab key to complete the command)
Server] # cp –rvf /popo/* /var/ftp/pub
Server] # cd /var/ftp/pub
Server] # cd Server
Server] # createrepo –v /var/ftp/pub/Server/
Server] # service vsftpd restart;chkconfig vsftpd on
Server] # service portmap restart;chkconfig portmap on
Server] # service iptables stop