Cobbler2.4+CentOS 6.4 安裝配置

來源:互聯網
上載者:User

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:用戶端從網路啟動後選擇對應的工程檔案開始自動部署

更多詳情見請繼續閱讀下一頁的精彩內容:

營運自動化之Cobbler安裝配置

RHEL5.5下Cobbler的配置

營運自動化部署Cobbler之服務安裝篇

利用Cobbler批量快速網路安裝CentOS

CentOS 6.3上安裝部署 Cobbler

  • 1
  • 2
  • 下一頁

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.