Thursday, December 21, 2006

Setup Your Own YUM Server's Group Functionality

According to Fedora Core installation manual, we can setup our own YUM server on our internal network to provide installation or updating service to save bandwidth.

There are several ways, such as http, ftp or nfs. In the http case, we copy the file hierarchy to /var/www/http, and createrepo/repoview. Then ensure httpd is up, you can yum install the packages from the server. However, I found "yum grouplist" doesn't work. After I checked createrepo manual, I found I have to create group information. Then copy a "comps.xml" to my repodata directory, and #createrepo -g repodata/comps.xml, and now the group functionality works.

No comments: