foreman ubuntu16 quick installation

foreman ubuntu16 quick installation

Quickstart Guide
The Foreman installer is a collection of Puppet modules that installs everything required for a full working Foreman setup. It uses native OS packaging (eg RPM and .deb packages) and adds necessary configuration for the complete installation.

Components include the Foreman web UI, Smart Proxy, Passenger, a Puppet master (either Puppet Server or under Passenger), 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.

Supported platforms
CentOS, Scientific Linux or Oracle Linux 7, x86_64
Debian 9 (Stretch), i386/amd64/aarch64
Red Hat Enterprise Linux 7, x86_64 Ubuntu 16.04 (Xenial),
i386/amd64/aarch64
Other operating systems will need to use alternative installation
methods (see the manual).
The installation will require 4GB of memory, see System Requirements for more information.

Installation
The Foreman installer uses Puppet (> 3.x required) to install Foreman. This guide assumes that you have a newly installed operating system, on which the installer will setup Foreman, a Puppet master, and the Smart Proxy by default. It's not advisable to follow the steps below on an existing system, since the installer will affect the configuration of several components.

Select operating system
To provide specific installation instructions, please select your operating system:

Repositories
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:

sudo apt-get -y install ca-certificates
cd /tmp && wget https://apt.puppetlabs.com/puppet5-release-xenial.deb
sudo dpkg -i /tmp/puppet5-release-xenial.deb
1.sudo apt -get -y install ca -certificates

2.cd /tmp && wget https: //apt.puppetlabs.com/puppet5-release-xenial.deb

3.sudo dpkg -i /tmp/puppet5 -release -xenial . deb

Enable the Foreman repo:

echo "deb http://deb.theforeman.org/ xenial 1.18" | sudo tee /etc/apt/sources.list.d/foreman.list
echo "deb http://deb.theforeman.org/ plugins 1.18" | sudo tee -a /etc/apt/sources.list.d/foreman.list
sudo apt-get -y install ca-certificates
wget -q https://deb.theforeman.org/pubkey.gpg -O- | sudo apt-key add

echo "deb http://deb.theforeman.org/ xenial 1.18" | sudo tee /etc/apt/sources.list.d/foreman.list
echo "deb http://deb.theforeman.org/ plugins 1.18" | sudo tee -a /etc/apt/sources.list.d/foreman.list
sudo apt-get -y install ca-certificates
wget -q https://deb.theforeman.org/pubkey.gpg -O- | sudo apt-key add

-
Downloading the installer

sudo apt-get update && sudo apt-get -y install foreman-installer
1 sudo apt -get update && sudo apt -get -y install foreman -installer
Running the installer
Ensure that ping $(hostname -f) shows the real IP address, not 127.0.1.1. Change or remove this entry from /etc/hosts if present.
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:

sudo foreman-installer
1 sudo foreman-installer
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 Foreman. Output should be similar to this:

Foreman is running at https://theforeman.example.com
Initial credentials are admin / 3ekw5xtyXCoXxS29
Foreman Proxy is running at https://theforeman.example.com:8443
Puppetmaster is running at port 8140
The full log is at /var/log/foreman-installer/foreman-installer.log

Summary <br /> The above is the full content of this article. I hope that the content of this article has certain reference value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links

You may also be interested in:
  • Problems and solutions encountered when installing mininet on Ubuntu 16.04.4LTS
  • Compile CPP files using G++ in Ubuntu
  • Configure VIM as a C++ development editor in Ubuntu
  • Initial settings after installing Ubuntu 16 in the development environment
  • Ubuntu terminal multi-window split screen Terminator
  • How to set up PostgreSQL startup on Ubuntu 16.04
  • Install and use Git and GitHub on Ubuntu Linux
  • Ubuntu 16.04 creates a development environment for vim and python3
  • Install Nvidia driver in Ubuntu 18 to solve black screen and adjust resolution problem
  • Simple implementation of supporting PHP5 and PHP7 dual versions in Ubuntu
  • Install Mininet from source code on Ubuntu 16.04

<<:  Enable remote access rights for MySQL under Linux and open port 3306 in the firewall

>>:  Uniapp WeChat applet: Solution to key failure

Recommend

HTML table tag tutorial (13): internal border style attributes RULES

RULES can be used to control the style of the int...

Docker container orchestration implementation process analysis

In actual development or production environments,...

Linux file systems explained: ext4 and beyond

Today I will take you through the history of ext4...

Use of Vue3 table component

Table of contents 1. Ant Design Vue 1. Official w...

Example of implementing the skeleton screen of WeChat applet

Table of contents What is a skeleton screen How t...

Realization of real-time file synchronization between Linux servers

Usage scenarios For existing servers A and B, if ...

Detailed steps for smooth transition from MySQL to MariaDB

1. Introduction to MariaDB and MySQL 1. Introduct...

Use of Linux usermod command

1. Command Introduction The usermod (user modify)...

A brief talk about cloning JavaScript

Table of contents 1. Shallow cloning 2. Deep clon...

Detailed explanation of MySQL high availability architecture

Table of contents introduction MySQL High Availab...

MySQL slow query pt-query-digest analysis of slow query log

1. Introduction pt-query-digest is a tool for ana...

Web page comments cause text overflow in IE

The experimental code is as follows: </head>...

Operate on two columns of data as new columns in sql

As shown below: select a1,a2,a1+a2 a,a1*a2 b,a1*1...