Welcome 微信登录

首页 / 操作系统 / Linux / Cobbler批量部署RedHat Linux

前面一篇介绍了使用Kickstart批量部署RedHat Linux 见 http://www.linuxidc.com/Linux/2012-05/60606.htm,但是这种方法配置起来比较麻烦。现在,我们有了更好的选择。那就是:Cobbler。在看以下内容时最好先看下:Kickstart批量部署redhat。系统环境:CentOS 5CentOS5.4默认的Repository里找不到Cobbler,先安装rpmforce这个Repository。很全很强大,近10000个软件包。
  1. #32位:   
  2. wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm   
  3. rpm -ivh rpmforge-release-0.5.1-1.el5.rf.i386.rpm   
  4. #64位:   
  5. wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm   
  6. rpm -ivh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm  
1. 安装相关软件: yum -y install cobbler dhcp httpd xinetd tftp-server  # cobbler的配置文件在/var/lib/cobbler/和/etc/cobbler下(不同版本可能不同)
# xinetd tftp-server用来做tftp服务器,pxe启动需要。
# httpd服务器主要存放ks文件和安装光盘。注意 /var/www/cobbler 目录必须具有足够容纳 Linux 安装文件的空间(移动,建软链接) 2. 检查 cobbler 配置:
  1. cobbler check  
#0: The "server" field in /var/lib/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.
#1: For PXE to be functional, the "next_server" field in /var/lib/cobbler/settings must be set to something other than 127.0.0.1, and should match the IP of the boot server on the PXE network.
#2: change "disable" to "no" in /etc/xinetd.d/tftp # 按提示解决相关问题,把 /var/lib/cobbler/settings 中的 server 和 next_server 设为本服务器的 IP 地址,/etc/xinetd.d/tftp中disable = yes,manage_dhcp 设为 1,以便管理 DHCP
  • 1
  • 2
  • 下一页
Kickstart批量部署RedHat LinuxUbuntu 12.04 SSH 安装相关资讯      Cobbler 
  • Cobbler自动化安装部署Ubuntu和  (07月26日)
  • Linux运维自动化之Cobbler安装部署  (09/20/2015 10:15:03)
  • 自动化安装工具Cobbler简易安装配  (09/01/2015 20:28:09)
  • Linux运维自动化工具 Cobbler  (04月09日)
  • Cobbler自动批量部署CentOS 6和  (09/12/2015 16:50:16)
  • Cobbler添加自定义 YUM 源  (02/24/2015 20:27:33)
本文评论 查看全部评论 (0)
表情: 姓名: 字数