You are on page 1of 4

Configure linux yum server step by step guide example and implementation

YUM stands for Yellow dog Updater, Modified because it is based on YUP, the Yellow dog Updater. How to create dump of H!" C# $hether you perform networ% installation or create yum repository file you need dump of H!" C#. &t is generally created on server in HC! exam. Candidate is given a location of this dump to perform networ% installation. $e will create dump of H!" C# on 'var'ftp'pub and use this for networ% installation or to create yum repository files.

Chec% how many space is available on 'var partition mimimun ( )* space is re+uired

,ow mount H!" dvd on mnt and copy entire dis% on 'var'ftp'pub #ump is created on 'var'ftp'pub now you can umount H!" dvd Configure yum server HC! !-.M /U!01&2, *ac%up of the edhat !nterprise "inux 3 is ta%en in 'var'ftp'pub on server named 0erver.example.com. You can install all re+uired pac%ages using yum by creating the repository file. Pre +uest of yum server we assume that you have completed these pre +uest of yum server 4 . "inux system with hostname 0erver.example.com and with ip address of 567.589.:.73( 4 #ump of H!" dis% on 'var'ftp'pub location 2nce you have completed these pre +uests follow this guide.

change directory to 'var'ftp'pub'0erver yum and createrepo rpm are re+uired for yum server install them ,ow install createrepo rpm .fter installing necessary pac%age change directory to 'var'ftp'pub

,ow create repository of 0erver directory repository of all rpm will be created in few minute

,ow create repository for ;1 &n few second all necessary repository will be created for ;1 ,ow create errata directory and repository for it

#uring the process of creating repository two hidden directory with named .olddata is created automatically remove them

,ow chec% hostname and change directory to 'etc'yum.repos.d. copy sample repository file to the file with hostname .nd open it #efault repository file loo% li%e these emove defaults line and set new location of 0ever and ;1 as shown here 0ave file with <w+ and exit ,ow remove all temporary data file with yum clean all command

Congratulation You have successful create yum server 1o test yum server remove telnet pac%age .fter chec%ing all dependences it will as% for conformation press y ,ow install telnet pac%age from yum server .fter chec%ing all dependences it will as% for conformation press y

You might also like