Product SiteDocumentation Site

Chapter 3. Installing and Configuring Cobbler

3.1. Installation
3.1.1. Checking The Installation
3.2. Configuring Cobbler
3.2.1. Enabling the Appropriate Services
3.2.2. Manage DHCP
3.2.3. Manage DNS
3.3. Reloading the Configuration
This part of the workshop lets you install Cobbler, and configure cobbler, explaining some of the nifty features Cobbler has.

3.1. Installation

To install Cobbler, use the following command:
# yum install cobbler
This will install the following packages:
  • httpd
  • mod_python
  • python-devel
  • tftp-server
  • xinetd
  • createrepo
  • rsync
  • python-cheetah
On any other distribution then Fedora, or Red Hat Enterprise Linux or CentOS with EPEL configured and enabled, you will need to make sure these packages or their equivalents exist.
To finish Cobbler's installation, make sure the services related to a PXE infrastructure are installed as well:
# yum install dhcp named
Example configuration for your dhcp and named server can be found in Appendix A, DHCP Configuration and Appendix B, Named Configuration.

In this Workshop

The sample configuration files in the Appendices are for reference. Cobbler is going to manage the DHCP server and Named server.

3.1.1. Checking The Installation

There's a few commands you can use to check the installation you are running. This can be useful in later diagnostics as well;
  • cobbler check
    Have cobbler check what else you may need to pay attention to. Very useful diagnostic tool, as it lists what else you may need to do to get cobbler up and running.
  • rpm -qV cobbler
    Verify that all the files that the package installs are intact; compare them to the original state. In this case, the files installed by the package cobbler are verified. Useful in tracing the steps you have taken.
  • rpm -qld cobbler
    List all files marked as documentation, in this case for the cobbler package.
  • rpm -qlc cobbler
    List all files marked as configuration, in this case for the cobbler package.