Yum server stands for Yellowdog updater modifier (YUM) is an open source CLI based package management tool to install rpm based software in Server.
This is best practice to have this configuration of this YUM server locally in the server as it make works easy to perform and install the software as it takes all the dependencies in the software you do not need to install the dependencies one by one.
Install YUM Server I’m using VMWare to Perform this task ,
Step 1 . first you need to mount the ISO Image Or DVD From the media
First make a directory to store the mount Packages
Mount /dev/cdrom /mnt
In this /mnt folder the packages will be permanent stored that is why you have to move the packages.
Step 2. You can check where is mounted the files
I moved the packages folder as it does not mount permanent you have to move the Packages folder.
Step 3 . now you have to install some dependencies to run the createrepo Commands
These are important packages for YUM Server installation as it is used to create the Createrepo Command
Step 4 . You have to build up a repo for the packages
Step 5. Now you have to make a repo file where from it will pick the packages to install
Note : .repo is must at the end of file name otherwise it will work .
Eg : abc.repo
You can see I made a file inside this location with Server.repo
Go to the location cd /etc/yum.repos.d/ then make a file with .repo extention
Step 6. Now it’s time to configure the Server.repo file as of this you will be able to install the Packages.
This file should be configured properly otherwise it will not work anymore.
I have already configured the file.
Press Insert button on keyboard to write
Do not forgot to save this file by typing at the end of wq!
Step 7 . Yum clean all
Try to install the Packages.