CentOS 7.6安装Cobbler 2.8.4

操作系统: CentOS7.6
cobbler:cobbler-2.8.4-4,IP地址为192.168.1.108

先关闭selinux和防火墙: firewalld selinux 关闭

1、安装

rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

yum install -y tftp-server httpd dhcp yum-utils cobbler cobbler-web cman debmirror xinetd rsync pykickstart fence-agents createrepo

解决web访问cobbler报错
yum install -y python2-pip
pip install Django==1.8.9

2、设置开机自启动

sed -i ‘/disable/c\\tdisable\t\t\t= no’ /etc/xinetd.d/tftp
sed -i -e ‘s/\=\ yes/\=\ no/g’ /etc/xinetd.d/rsync
systemctl enable cobblerd.service
systemctl enable dhcpd.service
systemctl enable httpd.service
systemctl enable xinetd.service
systemctl enable rsyncd.service 继续阅读“CentOS 7.6安装Cobbler 2.8.4”