Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ How to Install Foreman under Ubuntu     - Android Scroller call mechanism and the relationship of computeScroll (Programming)

- Use web2py + uWSGI + Nginx Web server built on Linux (Server)

- Port is not being used, how will bind failure? (Server)

- Linux system security knowledge (Linux)

- 24 Docker recommendations (Linux)

- Ubuntu 14.04, 13.10 install OpenCV 2.4.9 (Linux)

- Linux Regular expressions grep and egrep (Linux)

- Oracle set and remove columns unavailable (Database)

- The istgt PSD on ported to Mac OS X (Linux)

- RedHat 6 xrdp use remote login interface (Linux)

- Android 4.2 compilation notes (Programming)

- Common Linux system performance monitoring command (Linux)

- Java implementation chain store binary tree (Programming)

- Linux Systems Getting Started Learning: Configuration PCI passthrough on a virtual machine (Linux)

- Ubuntu install virtual machine software VirtualBox 4.3.10 (Linux)

- Creating and extracting archives 11 tar command examples in Linux (Linux)

- MySQL 5.7 can not log in problem (Database)

- How to manage the time and date at systemd Linux systems (Linux)

- Production Environment MongoDB Fragmentation and Cluster Solution (Database)

- Compile and install Memcached can not find GCC (Programming)

  How to Install Foreman under Ubuntu
  Add Date : 2018-11-21      
  Foreman is an integrated data center life cycle management tool that provides provisioning, configuration management, and reporting capabilities, and Puppet Dahboard Like, Foreman is a Ruby on Rails program .Foreman and Dashboard different places is that, more attention Foreman service provisioning and the ability to manage the data center, for example, and guiding tool, PXE boot server, DHCP server and server open tool integration.

Foreman machine unified management platform

Foreman with Puppet integration uses, typically as a puppet of the front-end access.
Foreman takes care of provisioning until the point puppet is running, allowing Puppet to do what it does best. (Hard doubled -_- !!)
Foreman can display system catalog information Facter components, and can provide real-time information from the host Puppet report
Foreman can prepare you to manage all the work the new machine. It is designed to automate manual management of all work completed, the machine can be reconfigured by Foreman.
Foreman is able to manage large-scale (of course, including small-scale), the enterprise-class network, there may be a lot of domains, subnets, and a lot of puppet master node .Foreman may also be implemented configuration version of backtracking.
Foreman can run on almost all popular Linux systems, such as:

RHEL / CentOS / Fedora / Oracle Enterprise Linux / Scientific Linux
Debian / Ubuntu
Also supports many cloud providers, such as:

Amazon EC2
oVirt and RHEV
Google Compute engine
how to install
 Well, now we enter the topic, enter the following command, first switch to the Root account:

sudo su

Or enter


Foreman enable Puppet labs and libraries:

apt-get -y install ca-certificates
 wget https://apt.puppetlabs.com/puppetlabs-release-trusty.deb
 dpkg -i puppetlabs-release-trusty.deb
 echo "deb http://deb.theforeman.org/ trusty 1.9"> /etc/apt/sources.list.d/foreman.list
 echo "deb http://deb.theforeman.org/ plugins 1.9" >> /etc/apt/sources.list.d/foreman.list
 wget -q http://deb.theforeman.org/pubkey.gpg -O- | apt-key add -

Update Source:

apt-get update

Download Foreman-installer installation script:

apt-get -y install foreman-installer

Foreman run the install command:


After a few minutes, you will see the following output:


 * Foreman is running at https: //server.unixmen.local
 Initial credentials are admin / jrPiWSpSBXBdzv57
 * Foreman Proxy is running at https: //server.unixmen.local: 8443
 * Puppetmaster is running at port 8140
 The full log is at /var/log/foreman-installer/foreman-installer.log

Write down the one shown in boldface user name and password. Later we need to use to access Foreman panel.

Configuration Foreman

First, we need to enable the "diffs", which will help you see Foreman reports.

Edit /etc/puppet/puppet.conf file:

vi /etc/puppet/puppet.conf

Find the following line and modify ture:


show_diff = true


Save and close the file.

Next, we need to add to Foreman Foreman host database. run:

puppet agent --test


Warning: Unable to fetch my node definition, but the agent run will continue:
 Warning: Error 400 on SERVER: Failed to find server1.unixmen.local via exec: Execution of '/etc/puppet/node.rb server1.unixmen.local' returned 1:
 Info: Retrieving pluginfacts
 Info: Retrieving plugin
 Info: Caching catalog for server1.unixmen.local
 Info: Applying configuration version '1441613934'
Notice: Finished catalog run in 0.22 seconds

Note: Puppet 3+ version will display a warning message: the first time that the node can not be found. Ignore the warning to continue.

Foreman Web console access

Open a Web browser and navigate to: https: // IP address /.

Will appear before the screen, enter the record login account and password.

Download we can go to understand the whole console interface
- Ubuntu 14.04 build Android 5.1 development environment and compiler (Linux)
- The method of Linux into the rescue mode (Linux)
- CentOS terminal display Chinese (Linux)
- Cool Android realization SVG animation (Programming)
- PostgreSQL 9.4.3 Installation and Configuration under CentOS 6.5 (Database)
- Docker knowledge base (Server)
- Upgrade to Linux Mint 16 petra Mint 17 Qiana (Linux)
- Monitoring services are running properly and will email alert (Server)
- Oracle 11gr2 new APPEND_VALUES tips (Database)
- MySQL Parameter Tuning Best Practices (Database)
- PSUADE installation under Linux (Linux)
- Debian (Wheezy) Install Java environment / replace OpenJDK as the SUN JDK (Linux)
- Share and show your code on GitHub (Linux)
- GNU Linux system variables (sysctl configuration commands) integrated use (Linux)
- Nginx reverse proxy and self-signed https (Server)
- Linux 64-bit porting (Programming)
- Ubuntu disable graphics card (Linux)
- Linux RHCS basic maintenance commands (Linux)
- MySQL service failed to start thinking of settlement under CentOS7 (Database)
- Memory leak analysis using Android studio (Programming)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.