企业实战|基于Cobbler实现多版本系统批量部署_操作系统批量部署软件技术

本文详细介绍了如何使用Cobbler实现多版本系统(如CentOS6和CentOS7)的批量部署。首先配置了rsync和tftp,接着安装并设置了Cobbler,包括安装syslinux,配置settings文件,添加distro,导入镜像,创建profile,并通过cobbler sync同步数据。此外,还特别强调了CentOS7安装时需额外指定安装源。最后提到了CobblerWeb界面的安装和使用,提供了一种图形化的配置方式。
摘要由CSDN通过智能技术生成

default-lease-time 43200;
max-lease-time 86400;
log-facility local7;
subnet 172.16.0.0 netmask 255.255.0.0 {
range 172.16.10.60 172.16.10.70;
option routers 172.16.0.1;
next-server 172.16.10.125;
filename “pxelinux.0”;
}

[root@scholar ~]# service dhcpd start

配置rsync和tftp

[root@scholar ~]# chkconfig tftp on
[root@scholar ~]# chkconfig rsync on
[root@scholar ~]# service xinetd start

配置cobbler

#检查需要修改的配置,需启动httpd服务及cobblerd
[root@scholar ~]# service cobblerd start
[root@scholar ~]# service httpd start
[root@scholar ~]# cobbler check
The following are potential configuration items that you may want to fix:

1 : The ‘server’ field in /etc/cobbler/settings must be set to something other than loc
alhost, or kickstarting features will not work. This should be a resolvable hostname o
r IP for the boot server as reachable by all machines that will use it.
2 : For PXE to be functional, the ‘next_server’ field in /etc/cobbler/settings must be
set to something other than 127.0.0.1, and should match the IP of the boot server on th
e PXE network.
3 : some network boot-loaders are missing from /var/lib/cobbler/loaders, you may run ‘c
obbler get-loaders’ to download them, or, if you only want to handle x86/x86_64 netboot
ing, you may ensure that you have installed a *recent* version of the syslinux package
installed and can ignore this message entirely. Files in this

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值