Welcome 微信登录

首页 / 操作系统 / Linux / Cobbler2.4+CentOS 6.4 安装配置

Cobbler2.4+CentOS 6.4 安装配置一:安装包
#rpm -Uvh http://mirrors.hustunique.com/epel/6/x86_64/epel-release-6-8.noarch.rpm
#yum install cobbler  cobbler-web
#yum install dhcp httpd
#chkconfig cobblerd on
#chkconfig httpd on
#cobbler check
错误检测:看附录
二:配置环境
# vi /etc/cobbler/settings  /修改cobbler配置文件
server: "192.168.200.1"              #cobbler服务器地址做修改
next_server: "192.168.200.1"    #做修改
manage_dhcp: 1                    #cobbler接管dhcp
#vi /etc/cobbler/dhcp.template  /cobbler-dhcp设置dhcpd的routers-ip和range段
ddns-update-style interim;
allow booting;
allow bootp;
ignore client-updates;
set vendorclass = option vendor-class-identifier;
option pxe-system-type code 93 = unsigned integer 16;
subnet 192.168.200.0 netmask 255.255.255.0 {
    option routers                        192.168.200.254;
    option domain-name-servers 192.168.200.254;
    option subnet-mask                255.255.255.0;
    range dynamic-bootp            192.168.200.50 192.168.200.70;
    default-lease-time                21600;
    max-lease-time                    43200;
    next-server                            $next_server;
三:配置web环境
#vi /etc/cobbler/modules.conf
module = authn_configfile          /修改认证方式为密码文件类型
#htdigest /etc/cobbler/users.digest "Cobbler" tech      /添加tech用户,提示输入2遍密码确认
# cobbler sync    /输出*** TASK COMPLETE *** 表示配置无错误
# /etc/init.d/httpd restart
# /etc/init.d/cobblerd restart
访问web页面 https://192.168.200.1/cobbler_web      /使用刚才创建的用户登录
web页面管理
1:添加DVD源,
点击Importer DVD (先挂载镜像ISO),然后再Importer,点击run
2:Events观察日志 
Tue Nov  19 08:11:54 2013 Sync  complete log    /complete表示完成:
3:Distros里面查看源
CentOS6.4-x86_64
4:Profiles里添加部署工程
选择Distros和ks文件位置,然后保存5:客户端从网络启动后选择对应的工程文件开始自动部署更多详情见请继续阅读下一页的精彩内容: http://www.linuxidc.com/Linux/2013-11/92950p2.htm相关阅读:运维自动化之Cobbler安装配置 http://www.linuxidc.com/Linux/2013-03/81575.htmRHEL5.5下Cobbler的配置 http://www.linuxidc.com/Linux/2013-06/86115.htm运维自动化部署Cobbler之服务安装篇 http://www.linuxidc.com/Linux/2013-02/80133.htm利用Cobbler批量快速网络安装CentOS http://www.linuxidc.com/Linux/2012-12/75838.htmCentOS 6.3上安装部署 Cobbler http://www.linuxidc.com/Linux/2012-10/72094.htm
  • 1
  • 2
  • 下一页
CentOS 6.4 配置 KVM虚拟机笔记(快速简单方便安装)CentOS 5.8 配置phpMyAdmin相关资讯      Cobbler  CentOS 6.4 
  • 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)
  • Linux入门学习:CentOS 6.4 系统升  (03/12/2015 08:57:09)
本文评论 查看全部评论 (0)
表情: 姓名: 字数