I needed a simple way to mirror some repos, and potentially kickstart some servers at a future date. While something like The Foreman would do the build side of things it doesnāt repo mirrors (yet). So I did an install of Cobbler .
This turned out to be more stright forward than I thought, first you need to ensure EPEL is enabledĀ ā¦.
Installing Cobbler on CentOS 6.x 1/1
yum install http://ftp.linux.ncsu.edu/pub/epel/6/i386/epel-release-6-8.noarch.rpm
yum install cobbler cobbler-web pykickstart
chkconfig cobblerd on
chkconfig xinetd on
service httpd restart
service xinetd start
service cobblerd start
service cobblerd status
cobbler get-loaders
vim /etc/cobbler/modules.conf
# Make the following changes ā¦.
[dns]
module = manage_dnsmasq
[dhcp]
module = manage_dnsmasq
[authentication]
module = authn_configfile
[authorization]
module = authz_allowall
# once done save and run the following ā¦.
cobbler check
cobbler sync
# cobbler sets the username and password for the web interface to cobbler / cobbler, change that by running ā¦.
htdigest /etc/cobbler/users.digest āCobblerā cobbler
ā¦.. all done. You should be able to access your installation atĀ ā¦..