cobbler配置概要1.doc

cobbler配置概要1

Cobbler无人值守安装CentOS 1、更新系统 2、安装cobbler所需要的服务 3、配置epel yum源,使用阿里云yum源。 4、安装cobbler 关闭防火墙和selinux 临时关闭selinux 永久关闭可修改Selinux配置文件 启动cobbler 启动httpd服务 但是没有提示启动成功,这里需要修改配置文件,/etc/httpd/conf/httpd.conf, 添加ServerName 80,打开端口,再重启ok。 8、检查cobbler配置,cobbler check 出现报错,别急,需要重启cobbler就可以 重启后出现一堆提示: [root@localhost ~]# 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 localhost, or kickstarting features will not work. This should be a resolvable hostname or IP for the boot server as reachable by all machines that will use it. 编辑/etc/cobbler/setting文件,找到server选项,将ip修改成本地ip。 2 : For PXE to be functional, the next_server field in /etc/cobbler/settings must be set to something other than , and should match the IP of the boot server on the PXE network. 编辑/etc/cobbler/setting文件,找到next_server选项,将ip修改成本地ip. 3 : change disable to no in /etc/xinetd.d/tftp 编辑/etc/xinetd.d/tftp,将disable = yes 改成 no 4 : some network boot-loaders are missing from /var/lib/cobbler/loaders, you may run cobbler get-loaders to download them, or, if you only want to handle x86/x86_64 netbooting, you may ensure that you have installed a *recent* version of the syslinux package installed and can ignore this message entirely. Files in this directory, should you want to support all architectures, should include pxelinux.0, menu.c32, elilo.efi, and yaboot. The cobbler get-loaders command is the easiest way to resolve these requirements. 经过网上查找,这个cobbler的一个bug,需要执行命令: 5 : change disable to no in /etc/xinetd.d/rsync 编辑/etc/xinetd.d/rsync文件,将disable = yes 改成no 6 : debmirror package is not installed, it will be required to manage debian deployments and repositories 这个提示不用管,因为不用debian系统。如用到debian,需要安装debmirror包 7 : ksvalidator was not found, install pykickstart 需要安装pykickstart 8 : The default password used by the sample templates for newly installed machines

文档评论(0)

1亿VIP精品文档

相关文档