Cobbler configuration in RHEL5.5

Source: Internet
Author: User
First, people often think that installing the operating system is to install an optical drive on a computer drive, and then press the next step until the computer restarts to complete the installation, or install it through an advanced USB flash drive, however, have you ever thought about purchasing a computer in a classroom or when a company opens business, the general installation methods such as optical drive installation and USB flash drive are no longer suitable, and administrators cannot afford this time, in this case, you need to install the operating system in batches to free the Administrator time. The advantage of operating system deployment in batches is that it saves time and effort and allows multiple machines to install the operating system environment simultaneously: RHEL5.

First, people often think that installing the operating system is to install an optical drive on a computer drive, and then press the next step until the computer restarts to complete the installation, or install it through an advanced USB flash drive, however, have you ever thought about purchasing a computer in a classroom or when a company opens business, the general installation methods such as optical drive installation and USB flash drive are no longer suitable, and administrators cannot afford this time, in this case, you need to install the operating system in batches to free the Administrator time. The advantage of operating system deployment in batches is that it saves time and effort and allows multiple machines to install the operating system at the same time.

Environment: RHEL5.5 vmware9.0

Preparations before installation: Disable SElinux to configure the IP address and configure the yum source.

Lab Note: The NIC must support PXE startup (supported by vmware by default). The server can download cobbler and other software from the Internet.

Experiment topology:

 

IP Address Configuration

Here I used two NICs, eth0, to download and install software from the Internet in NAT mode.

Eth1 is used to deploy the operating system as a separate LAN VMnet2

1 # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm

# Rpm-ivh rpmforge-release-0.5.1-1.el5.rf.i386.rpm

//// // #64-bit:

/// # Wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm

//// # Rpm-ivh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm

Mount/dev/cdrom/mnt/

2 yum install cobbler httpd rsync tftp-server xinetd dhcp

Manually enable the wsgi Module

Vim/etc/httpd/conf. d/wsgi. conf

# LoadModule wsgi_module modules/mod_wsgi.so # Remove it.

Service cobblerd restart

Service httpd restart

Cobbler import -- path =/mnt/-- name = RedHat-5-i386

 

Cobbler list

4. Modify the xinet. d configuration file

# Vi/etc/xinetd. d/rsync

Change disable = yes to no

# Vi/etc/xinetd. d/tftp

Change disable = yes to no

Vi/etc/cobbler/settings

Next_server: '127. 0.0.1 '// change to the local IP Address: 192.168.1.1

Server: '127. 0.0.1 '// change to local IP Address: 192.168.1.1

Manage_dhcp: 0 // change to 1 // enable DHCP Management Service

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.