Foreman supports agents from Puppet, Chef, Salt, and Ansible and provides reports via its management interface, by monitoring host configuration, report status, distribution, and trends. This tool may be what admins need to easily automate repetitive tasks, quickly deploy applications, and proactively manage servers, on-premise or in the cloud. For more about Foreman, please check its homepage. When you want to install Foreman on Ubuntu, please follow the steps below:
Add Foreman Repository
Before installing Foreman, you may want to first add its repository to Ubuntu. Using Puppet 5. x is recommended, which is available from the Puppet Labs repository. To use Puppet 5. x with Puppet Agent and Puppet Server: Next, enable the Foreman repository by running the commands below.
Install Foreman
Now that the Foreman repository and key have been added to Ubuntu, run the commands below to update and install the package This will fetch all the supported packages and install them including Foreman. 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. After it completes, the installer will print some details about where to find Foreman and the Smart Proxy and Puppet master if they were installed along with Foreman. The output should be similar to this: If you don’t get the dashboard info above, run the commands below: Make sure the server qualified name is in the /etc/hosts file. and it should be the first entry in the file. example: Now open your browser and browse to the server name or IP address and log in with the admin username and password printed above. Log on to the admin portal using the username and password printed above. Congratulations! You’ve just installed the Foreman server management tool on Ubuntu 16.04 | 18.04 LTS servers. Summary: This brief post shows students and new users how to install Foreman on Ubuntu 16.04 | 18.04. New users will find managing Ubuntu easy with Foreman. The tool takes away Linux complicity and allows almost anyone to manage Linux like a pro.