Cobbler is free and open source Linux installation server Which allows rapid setup of network installation environments. You can install operating systems automatically on multiple systems simultaneously over the network using Cobbler. Cobbler can help with provisioning, managing DNS and DHCP, package updates, power management, configuration management orchestration, and much more. OS installation in Cobbler is based on the Kickstart file and used start installation on clients or systems.
Cobbler does not require any special kind of hardware to install. You'll only need a CentOS 7 server and a root user privileges over it. You can switch from non root user to root user using sudo -i .
It is highly recommended to install Cobbler on a freshly updated server and system. So you are requested to upgrade available packages and update your system. Simply run below given command and it'll do the job for you.
``yum -y update`
Next, enable the EPEL repository using following command.
yum -y install epel-release
Before installing Cobbler on your server you'll need to install the Apache web server and to do so run following command.
yum -y install httpd
Next, run the following command to install Cobbler along with its required dependent packages.
Next, update this encrypted root password in settings file /etc/cobbler/settings under the parameter default_password_crypted .
You'll also need to enable Cobbler’s DHCP, DNS,PXE and TFTP feature by changing the parameter value from 0 to 1.
You can use any text editor to edit /etc/cobbler/settings file, here we are using nano text editor. You can also install it yum -y install nano
You can import ISO files of other Linux flavors also. In case if you are getting signature errors while importing, then run the below command to resolve the issue.
cobbler signature update
Next, you'll need to verify the Distro list and run following command to view the Distro list.
cobbler distro list
You should see the following output.
Create Kickstart File
You'll need to create a Kickstart file for CentOS 7 with a name CentOS7.ks. /var/lib/cobbler/kickstarts is the default location of kickstart files.
Now create a CentOS7.ks file using any text editor, here we are using the nano text editor.
Add the following content to the file then save and exit from the text editor.
Replace server IP, root password and other details with your own ones.
#platform=x86, AMD64, or Intel EM64T
# Firewall configuration
# Install OS instead of upgrade
# Use HTTP installation media
Open up your favorite web browser and visit http://YourServerIP/cobbler_web/
Use Cobbler as both username and password.
Boot the Clients with PXE
Basic configuration of Cobbler is finished now boot the system with pxe on which you want to perform automatic os installation.
Finally Select the CentOS 7 as OS and press enter and you'll see that OS installation is started.
In this tutorial you learned to install Cobbler and configure it on your CentOS 7 server. We hope now you have enough knowledge that you can use Cobbler to install OS on multiple system simultaneously.
If you find your cPanel disk space filling up, or an email address has hit its disk space quota, cPanel has a helpful built in Email Disk Usage tool. This will provide you with a simple to understand breakdown of how much disk space each folder for a particular email...
Although WHM will normally automatically keep itself up to date, you may want to manually check for server updates / push through an update that is pending, or it may be that you have automatic updates switched off on your cPanel server. In this guide we will show you how...
You may sometimes need to manually adjust the PHP settings on your cPanel server – for example if a site is hitting the PHP memory, or file size upload limit. WHM allows you to quickly change the settings of any PHP version installed on the server when needed, using the...