Saturday 2 June 2018

How to configar yum server in redhat linux 5

I will tell you how to configure yum server in this tutorial, how it works, where it is used, to make yum server, we will use redhat linux 5 if you do not have redhat linux installed and you have If you do not have an installation then you can find out how to install it by clicking this link.

HOW TO INSTALL RED HAT ENTERPRISE LINUX 5


Yum server is used to install redhat linux's rpm package. This rpm package contains redhat linux's iso file. You can learn how to put rpm packages in one folder by opening the iso file from here. By clicking this link

The Rpm package is used to install many of Redhat linux's services such as telnet server, ftp server, http server, tftp server, web server, nfs server, samba server, vnc server, etc. Configure the way I will tell in my upcoming tutorial

To configure Yum server, you first need an iso file of redhat linux 5 Redhat linux 5 can be downloaded from here

Download Redhat enterprise linux 5 iso

Redhat can take the iso file of linux 5 in the system with the help of pen drive or Everything software, how to file files from one system to another system from Everything software. You can learn by clicking this link

How to use (Everything Software) and install


So let us configure yum server

First of all you will go to the folder in which you put rpm files I have placed on the desktop in the server folder you can see in the image below.



To access that folder, you will use the command prompt by opening the command prompt and you will type this command in the  cd Desktop /






To view on desktop, type the ls  command, you will see a folder called server name here.




To go to the Server folder, type cd SERVER / Press the Enter key to view the rpm package by typing ls  and press the enter key







Type cd to exit the server folder and press the enter key



Now you have to go to yum's configuration file and create a file named a.repo where you must write some lines. In these lines you have to give the full path to the place where the server folder is located

To go to the configuration file of yum, cd /etc/yum.repos.d/ will type in the enter key you can see in the image below



Will use vim to create a file named a.repo

Type vim a.repo Press the Enter key as per the image given below



Now open an empty page in front of you to type anything on this page, it will need to be added to  insert mode, type i for it will be typed below  insert





Now here you have to type the lines written in the image below.



         Note :-   Instead of / Desktop / SERVER you can place where your folder is saved


To save this file press Esc to press(  Shift + : ) , then type wq and press enter key You can see the image shown below.



Yum server is configured

To check the Yum server we will install the service of a nfs

To install, type yum install nfs * and press the enter key



Now here you have to type y



NFS has been installed here































0 comments:

Post a Comment