Cobbler is licensed under the General Public License (GPL), version 2 or later. You can download it, free of charge, using the links below.
The latest source code (it's all Python) is available through git.
Clone the repo using git:
$ git clone https://github.com/cobbler/cobbler.git
$ cd cobbler $ git checkout release24
When building from source, make sure you have the correct Prerequisites for Installation. Once they are, you can install cobbler with the following command:
This command will rewrite all configuration files on your system if you have an existing installation of Cobbler (whether it was installed via packages or from an older source tree). To preserve your existing configuration files, snippets and kickstarts, run this command:
To install the Cobbler web GUI, use this command:
It is also possible to build packages from the source file. Right now, only RPMs are supported, however we plan to add support for building .deb files in the future as well.
To build RPMs from source, use this command:
As you can see, an RPM is output for each component of cobbler, as well as a source RPM. This command was run on a system running Fedora 20, thus the fc20 in the RPM name - this will be different based on the distribution you're running.
To install cobbler from source on Debian Squeeze, the following steps need to be made:
$ a2enmod proxy $ a2enmod proxy_http $ a2enmod rewrite
$ ln -s /usr/local/lib/python2.6/dist-packages/cobbler /usr/lib/python2.6/dist-packages/ $ ln -s /srv/tftp /var/lib/tftpboot
$ chown www-data /var/lib/cobbler/webui_sessions
/usr/local/...or fix the install location
The same steps will most likely be required on the current 2.2.x stable branch.