![]() ![]() Installing Software from Oracle Linux Yum Server.Configuring Your System to Install Software from Oracle Linux Yum Server.Loaded plugins: presto, refresh-packagekitĪdobe-linux-i386 Adobe Systems Incorporated enabled: 17Īs you can see the Recital repo is now being picked up and we have access to all the packages it is hosting. ![]() Once that is saved, at the shell prompt on the same machine (YUM client system). In this example I will call it recital.repo. Using your preferred text editor to create the. Navigate to the /etc/ directory on your system as root. repo file in the client systems /etc/ directory. We now have a fully functioning YUM repository for our hosted rpm packages. To do a final consistency check on your repository run the following command: verifytree /var/www/html/repo/recital/updates This will create the required metadata in the repodata directory of your /var/www/html/repo/recital/updates directory. ![]() To create this use the createrepo program we installed earlier.Īt the shell type the following command: createrepo -v -s md5 /var/www/html/repo/recital/updates The next step is to create the xml based rpm metadata. Once you have installed these required tools, create a directory in your chosen web server's document root e.g: mkdir -p /var/www/html/repo/recital/updatesĬopy the rpm's you wish to host into this newly created directory. Yum-utils contains the tools you will need to manage your soon to be created repository, and createrepo is used to create the xml based rpm metadata you will require for your repository. To create your own YUM repository, you will need to install the yum-utils and createrepo packages: yum install yum-utils createrepo As long as the required packages are available in the enabled repositories on your system, YUM will go out and get everything you need. Not only does it mean you don't need to trawl the web looking for somewhere to download the packages, YUM does a great job of satisfying any package dependencies. YUM is by far the easiest method of installing software on Red hat, Centos and Fedora. If you have software packages which you wish to share with others or simply between your own personal machines, a neat and easy solution is to create your own YUM repository and provide your. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |