Wondering how to create our own CentOS 5 based yum repository? Basically, we want to make rpm packages and then be able to do things like:
yum install our-custom-package
yum remove our-custom-package
yum update our-custom-package
Thanks.
|
Wondering how to create our own CentOS 5 based yum repository? Basically, we want to make rpm packages and then be able to do things like:
Thanks.
| |||
feedback
|
This question came from our site for professional and enthusiast programmers.
|
On the server, place your .rpm files into
On this server, configure Apache (or other web server) to allow GET access to You may wish to verify that this works from another machine. Both of these commands should work:
On each client, as root, create a file:
This file should contain the following text:
Note that you can Finally, on the client:
That should get you up and running. There are, of course, a lot of options and a lot of things to consider (like GPG security) at each step. I also learned a bit from http://www.cyberciti.biz/tips/redhat-centos-fedora-linux-setup-repo.html | |||
|
feedback
|