Cobbler batch deploy RedHatLinux

Source: Internet
Author: User
The previous article introduced how to use Kickstart to deploy RedHatLinux in batches. For details, see http://www.linuxidc.com/linux/2012-05/60606.htm. Now we have a better choice. That is: Cobbler. We recommend that you first check the following content: Kickstart batch deploy redhat. System Environment: Find the default Repository in CentOS5CentOS5.4

The previous article introduced how to use Kickstart to deploy RedHat Linux in batches. For details, see http://www.linuxidc.com/linux/2012-05/60606.htm. Now we have a better choice. That is: Cobbler. We recommend that you first check the following content: Kickstart batch deploy redhat.

System Environment: CentOS 5

Cobbler cannot be found in the default Repository of CentOS5.4. Install rpmforce Repository first. Very powerful, nearly 10000 software packages.

  1. #32Bit:
  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. #64Bit:
  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. Install related software:

Yum-y install cobbler dhcp httpd xinetd tftp-server

# The cobbler configuration file is in/var/lib/cobbler/and/etc/cobbler (different versions may be different)
# Xinetd tftp-server is used as a tftp server, which is required for pxe startup.
# The httpd server stores ks files and installation CDs. Note that the/var/www/cobbler directory must have sufficient space for Linux installation files (move and create soft links)

2. Check the cobbler Configuration:

  1. Cobbler check

#0: The 'server' field in/var/lib/cobbler/settings must be set to something other than localhost, kickor starting features will not work. this shoshould 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 shoshould match the IP of the boot server on the PXE network.
#2: change 'disable' to 'no' in/etc/xinetd. d/tftp

# Follow the prompts to solve the problem. Set the server and next_server in/var/lib/cobbler/settings to the IP address of the server,/etc/xinetd. in d/tftp, disable = yes and manage_dhcp are set to 1 to facilitate DHCP management.

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.