Skip to main content

Posts

Showing posts from November, 2015

The Drill we sent to Mars - Smarter Every Day

One of the best engineering marvels.

HTTP Based YUM Repository [using httpd - RHEL6.6 CENTOS6.6]

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