Cobbler Automated Installation centos6.2

Source: Internet
Author: User
Tags rsync

Cobbler Automated Installation

Website address :

http://www.cobblerd.org

1. Installing the epel source

#rpm-IVH http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm#vim/etc/yum.repos.d/ Epel.repo

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/58/4F/wKiom1SuHQ_Ah4bgAACUZdb6u0o059.jpg "title=" Picture 1.png "alt=" Wkiom1suhq_ah4bgaacuzdb6u0o059.jpg "/>

2. Installing Cobbler Components

#yum-y install cobbler DHCP tftp xinetd httpd syslinux

3. Prepare ISO Direct Mount

# mount/dev/cdrom1/media/with ISO direct Louis ISO #mount-o Loop/www/os/centos-6.2-x86_64-bin-dvd1.iso/media

4,check , there is an error

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/58/4F/wKiom1SuHXfxSc4NAAJy7Owo5ug836.jpg "title=" Picture 2.png "alt=" Wkiom1suhxfxsc4naajy7owo5ug836.jpg "/>

5 . Restart the check

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/58/4B/wKioL1SuHk2zQwmGAAYiGHdfHpA877.jpg "title=" Picture 3.png "alt=" Wkiol1suhk2zqwmgaayighdfhpa877.jpg "/>

6, as required to modify the content, generally only modify the following steps just fine

(1) Edit the /etc/cobbler/settings file, locate the server option, fix the native IP Address: 192.168.56.101

(2 /etc/cobbler/settings file, find   next_server ip address: 192.168.56.101

(3 /etc/xinet.d/rsync DISABLE = YES  Change to disbale = no

service rsync{         disable = no        flags            = ipv6        socket_type      = stream        wait             = no         user            = root         server          =  /usr/bin/rsync        server_args     =  --daemon        log_on_failure  += userid} 

(4) configuring DHCP

Modify the cobbler configuration, let cobbler to manage the DHCP Service, edit the file /etc/cobbler/ Settings

#vim/etc/cobbler/settingsmanage_dhcp:1

Modify a DHCP template

#vim  /etc/cobbler/dhcp.templatesubnet 192.168.56.0 netmask 255.255.255.0 {      option routers              192.168.56.101;     option domain-name-servers 192.168.56.101;      option subnet-mask          255.255.255.0;     range dynamic-bootp         192.168.56.200 192.168.56.254;     default-lease-time          21600;     max-lease-time              43200;     next-server                  $next _server;      class  "Pxeclients"  {          match if  substring  (option vendor-class-identifier, 0, 9)  =  "Pxeclient";           if option pxe-system-type = 00:02 {                    filename  "Ia64/elilo.efi";           } else if  option pxe-system-type = 00:06 {                   filename  "Grub/grub-x86.efi";           } else if option pxe-system-type =  00:07 {                   filename  "GRUB/grub-x86_64.efi ";          } else {                   filename  "pxelinux.0";           }     }}

(5) Modify the default ks.cfg, here refers to the installation requirements of the machine, you can modify the installation system requirements and software

# CP/ROOT/ANACONDA-KS.CFG/VAR/LIB/COBBLER/KICKSTARTS/DEFAULT.KS

(6) Change Password

#openssl passwd-1-salt ' fajlfjal ' Cobbler ' $1$fajlfjal$udbs4n.xbtitcc5pa0bvz. Replace the encrypted string of the production with the default in/etc/cobbler/settings , as follows: default_password_crypted: "$1$fajlfjal$udbs4n.xbtitcc5pa0bvz."

(7 media mount iso --name - -arch 32 Span style= "font-family: ' The song Body '; > or 64 bit system

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/58/4C/wKioL1SuH7OzlCfxAAM2xVLtLAY712.jpg "title=" Picture 4.png "alt=" Wkiol1suh7ozlcfxaam2xvltlay712.jpg "/>

View Import Image

# Cobbler Distro List centos6.2-x86_64

(8) sync config file #cobbler sync

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/58/4F/wKiom1SuHtSjmEUMAAcEmmhdTBQ454.jpg "title=" Picture 5.png "alt=" Wkiom1suhtsjmeumaacemmhdtbq454.jpg "/>

7. Verifying the installation

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/58/4F/wKiom1SuHsWgdGVBAAC4ZQxfBcI560.jpg "title=" Picture 6.png "alt=" Wkiom1suhswgdgvbaac4zqxfbci560.jpg "/>

The installation is very fast

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/58/4C/wKioL1SuH3uCYQaeAAD5TqgW2JY109.jpg "title=" Picture 7.png "alt=" Wkiol1suh3ucyqaeaad5tqgw2jy109.jpg "/>

8. Cobbler Web Management installation

#yum-y Install Cobbler-web

The default user name password is cobbler, Web page management

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/58/4C/wKioL1SuH1XQH6csAAIeoMj8LPA319.jpg "title=" Picture 8.png "alt=" Wkiol1suh1xqh6csaaieomj8lpa319.jpg "/>

This article is from the "Bamboo Potential" blog, please be sure to keep this source http://peaceweb.blog.51cto.com/3226037/1600669

Cobbler Automated Installation centos6.2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.