yum Repository Creation on using httpd Web Server. Installing prerequisites. To setup a repository we need to install createrepo package. yum install createrepo. Create directories to store the repo. Below are the directories to be created, to store the rpms in. mkdir -p /export/custom-repo/yum-channels/custom-repo-channel-app/SRPMS mkdir -p /export/custom-repo/yum-channels/custom-repo-channel-app/x86_64 mkdir -p /export/custom-repo/yum-channels/custom-repo-channel-sys/SRPMS mkdir -p /export/custom-repo/yum-channels/custom-repo-channel-sys/x86_64 Create subdirectories as below. [root@repo-server ~]# ls -l /export/custom-repo/ total 12 drwxrwxr-x 2 repomgr repomgr 4096 Oct 14 09:06 pkg drwxr-xr-x 2 root root 4096 Oct 13 16:18 repodata drwxr-xr-x 5 repomgr repomgr 4096 Oct 14 11:09 yum-channels [root@repo-server ~]# ls -l /export/custom-repo/yum-channels/ total 20 drwxr-xr-x 4 repomgr repomgr 4096 Oct 14 11:09 custom-repo-channel-app drwxr-xr-x 4 repomgr repomgr ...