Newer version available
This quickstart guide is for Foreman 1.4, but the latest version is 2.2.
The Foreman installer is a collection of Puppet modules that installs everything required for a full working Foreman setup. It uses native OS packaging (e.g. RPM and .deb packages) and adds necessary configuration for the complete installation.
Components include the Foreman web UI, Smart Proxy, Passenger (for the puppet master and Foreman itself), and optionally TFTP, DNS and DHCP servers. It is configurable and the Puppet modules can be read or run in “no-op” mode to see what changes it will make.
yum-config-manager --enable rhel-6-server-optional-rpms rhel-server-rhscl-6-rpms
Other operating systems will need to use alternative installation methods (see the manual).
The Foreman installer uses Puppet to install Foreman. This guide assumes that you have a newly installed operating system, on which the installer will setup Foreman, a puppet master with Passenger and the Smart Proxy by default.
For Red Hat variants, run this (replace ‘el6’ with ‘f19’ if appropriate):
For Debian variants, run this (replace ‘wheezy’ with ‘precise’ if on Ubuntu 12.04, or ‘squeeze’ for Debian 6):
The installation run is non-interactive, but the configuration can be customized by supplying any of the options listed in
foreman-installer --help, or by running
foreman-installer -i for interactive mode. More examples are given in the Installation Options section. Adding
-v will disable the progress bar and display all changes. To run the installer, execute:
After it completes, Foreman will be accessible at
https://fqdn/ with a default username/password of “admin” and “changeme”.
Continue reading the quickstart guide in the manual:
Or view the quickstart screencasts: