In order to know more about YUM, Please see man pages for YUM. Local YUM repository is created, now you can install any package you want with yum command. Gpgcheck => This is to check the authentication of the repository, which is disabled in this case. =>This informs what is the repository name.Ĭomment => Its used to see the information about the repo.īaseurl => This is the server and path of the repo(here its a local repo so the base url is just a file:///įor example, if you are creating YUM client through FTP then base url should be something like this Let me explain what actually these four entries mean. The new file which is created contains as follows.Īfter entering these entries save and exit from the file. repo files from /etc// folder?A: Every time when you try to install packages through YUM, your yum will check all these files for repositories for getting packages which will or will not work and most probably delay is increased in getting those packages from online servers. What if I don’t move or remove the default. repo files which should be removed or moved to other directory, so that YUM server will check default.
Note : The directory /etc// contaions two. Whether you perform network installation or local yum repository, you need to dump your Linux OS from DVD.Īs part of this article, we will mount the DVD on /media and copy all the DVD Content to local directory /data.Ĭreate a file with repo as extension and specify the YUM details in /etc/ folder.
#How to install redhat linux 6 step by step free
ALSO WATCH THIS YUM SERVER CONFIGURATION TUTORIAL VIDEO FREE ON OUR YOUTUBE CHANNEL