CentOS下Cobbler的安装和配置教程

2020-01-30 14:43:49王旭

echo -e "*thardtnofilet65535" >> /etc/security/limits.d/90-nproc.conf</p> <p># ntpd
cat > /etc/sysconfig/clock <<EOF
ZONE="Asia/Shanghai"
UTC=true
ARC=false
EOF
/sbin/service ntpd stop
/usr/sbin/ntpdate 210.167.182.10
/sbin/service ntpd start</p> <p>COMMIT
EOF</p> <p>%end
&#91;/python&#93;</p> <p>&#91;python&#93;
# 访问cobbler_web
http://IP/cobbler_web
&#91;/python&#93;


五.报错总结

当出现以下信息解决办法

复制代码 &#91;python&#93;
1 : some network boot-loaders are missing from /var/lib/cobbler/loaders
2 : comment out 'dists' on /etc/debmirror.conf for proper debian support
3 : comment out 'arches' on /etc/debmirror.conf for proper debian support
&#91;/python&#93;


解决方法:

复制代码 &#91;python&#93;
1.cobbler get-loaders
2 - 3: yun install debmirror && vi /etc/debmirror.conf
@dists="sid" => #@dists="sid"
@arches="i386" => #@arches="i386"