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.
Facebook0TwitterReddit0StumbleUpon0 Do you need to increase the memory limit in WordPress? Getting an error about memory Exhausted? The memory limit is one of the most common WordPress errors as the default limit of memory in WordPress is only set to 64mb! But there’s good news! The Memory Exhausted error is...
Facebook0TwitterReddit0StumbleUpon0 A vulnerability has been discovered in the “All In One WordPress Migration” WordPress plugin. All versions earlier than, and including 6.97 contain a vulnerability which allows Cross-Site Scripting (XSS).With over 2 million active installations, this vulnerability has the potential to be high impact, however, this is lessened by the...
Facebook0TwitterReddit0StumbleUpon0HostPresto will be launching a European point of presence in the coming weeks, specifically in Amsterdam. For customers needing their data located within the EU still please contact support to request migration to this location with ticket subject ‘EU Migration’. We will ensure this is actioned well before the Brexit...