For CentOS 6.x only yum -y install createrepo yum-plugin-downloadonly epel-release yum-utils rsync zip unzip wget nano wget -O /home/epel-cm.zip http://centminmod.com/centminmodparts/epel_localmirror/epel-cm.zip wget -O /home/epel_include.txt http://centminmod.com/centminmodparts/epel_localmirror/epel_include.txt /usr/bin/unzip -qo /home/epel-cm.zip -d /home createrepo /home/epel-cm cat > "/etc/yum.repos.d/epel-cm.repo" <