Zero-basic learning puppet automated configuration management documents
The foreman official website provides complete installation steps for each version. Both source code installation and RPM package installation become very convenient. In addition, Foreman encapsulates the installation steps through the puppet module and provides a large number of installation parameters for transmission, which is quite convenient. However, because of its large system, many software agents, a large number of installed software packages, the installation process is not that simple.
The following are the issues to consider and Solutions
Note:All the subsequent recommendation instructions, operations, and tests are based on the latest version 1.5.4, while version 1.6 Only updates two Release versions, which is not stable yet.
About foreman1.5.4 version introduction and installation method can refer to the official website http://theforeman.org/manuals/1.5/index.html#3.4InstallFromSource
Operating System Selection
The foreman official Yum repository only provides el6 and F19 RPM (http://yum.theforeman.org/) packages, Debian's Deb package (http://deb.theforeman.org/), and RPM packages for earlier versions or other systems. You can also download the source code package:git clone https://github.com/theforeman/foreman.git -b 1.5.4
Therefore, if you want to use the RPM package for installation, use the following system and version:
Rhel6 .*
Centos6 .*
Fedora19
If you want to use the Deb package for installation, use the following system and version.
Debian Linux 7.0 (wheezy)
Debian Linux 6.0 (squeeze)
Ubuntu Linux 14.04 lts (trusty Tahr)
Ubuntu Linux 12.04 lts (precise pangolin)
If you do not plan to use the above systems, such as the sles systems used in many financial industries, you need to consider using the source code package for installation. The source code package installation is completed through the bundle command, which is also very convenient. In the future docker technology, it may be more appropriate to install this method.
Installation Package preparation
There are many packages on which Foreman depends to be installed. You need to obtain them from the following three websites:
1. Foreman Official Website:Http://yum.theforeman.org/
2. epel Official Website:Http://fedoraproject.org/wiki/EPEL
3. Official puppetlabs Website:Http://yum.puppetlabs.com/
Thoughts:There are so many installation packages on the above three official websites. What if I can get the foreman installation package?
If you're really lazy, go to my GitHub and download the https://github.com/kisspuppet/foreman-repo.
Precautions for Operating System Configuration
1. The operating system version must be rhel6 or later. 6.4 or 6.5 is recommended.
2. The host name must comply with the fully qualified FQDN name, followed by lowercase letters(When installing MySQL with an uppercase name, you will be prompted that the authorization issue cannot be passed.) eg. foreman.kisspuppet.com
3. Before installation, you must first install the puppet client and perform signature authentication with puppetmaster.
4. Ensure that the system time is consistent with that of puppetmaster, and disable the firewall and SELinux.
@ Kisspuppet
August 19, 2014 Shanghai
Return to the main directory for communication:
Public Account: puppet2014You can search and join, or scan the following QR code to join
650) This. width = 650; "src =" http://kisspuppet.com/img/weixin.jpg "alt =" Public Account "style =" margin: 0px; padding: 0px; Height: auto; Border: none; "/> Public Account
QQ chat group: 296934942
650) This. width = 650; "src =" http://kisspuppet.com/img/contact1.jpg "alt =" QQ Contact Group "style =" margin: 0px; padding: 0px; Height: auto; Border: none; "/>
This article is from the "www.kisspuppet.com" blog, please be sure to keep this source http://dreamfire.blog.51cto.com/418026/1565523
Introduction of Foreman architecture 2-Preparations for the environment before installation