foreman ubuntu16 快速安裝
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 (e.g. 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
1sudo apt-get update && sudo apt-get -y install foreman-installerRunning 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
1sudo foreman-installerAfter 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
總結(jié)
以上就是這篇文章的全部內(nèi)容了,希望本文的內(nèi)容對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價值,謝謝大家對腳本之家的支持。如果你想了解更多相關(guān)內(nèi)容請查看下面相關(guān)鏈接
- Ubuntu16.04.4LTS安裝mininet遇到的問題及解決方案
- Ubuntu環(huán)境下使用G++編譯CPP文件
- Ubuntu下VIM配置成C++開發(fā)編輯器
- 開發(fā)環(huán)境Ubuntu16安裝以后的初始化設(shè)置
- Ubuntu終端多窗口分屏Terminator
- Ubuntu 16.04設(shè)置PostgreSQL開機啟動的方法
- 在Ubuntu Linux上安裝和使用Git和GitHub
- ubuntu16.04制作vim和python3的開發(fā)環(huán)境
- Ubuntu18下安裝Nvidia驅(qū)動解決黑屏并調(diào)整分辨率問題
- Ubuntu中支持PHP5與PHP7雙版本的簡單實現(xiàn)
- Ubuntu16.04源碼安裝Mininet
相關(guān)文章
linux 服務(wù)器自動備份腳本的方法(mysql、附件備份)
這篇文章主要介紹了linux 服務(wù)器自動備份腳本(mysql、附件備份),本文通過實例代碼給大家介紹的非常詳細,具有一定的參考借鑒價值,需要的朋友可以參考下2020-01-01
基于centos 6.5使用varnish實現(xiàn)網(wǎng)站動靜分離
這篇文章主要介紹了基于centos6.5使用varnish實現(xiàn)網(wǎng)站動靜分離,需要的朋友可以參考下2014-11-11
在CentOS 6 中安裝WordPress(一) 安裝Apache,Mysql, PHP環(huán)境
最近做個項目,拿到一臺CentOS 6服務(wù)器,需要在上面配置php環(huán)境,并安裝WordPress,我們先來看看第一步,配置AMP(Apache,Mysql, PHP)環(huán)境2014-06-06
Typecho程序偽靜態(tài)規(guī)則大全(包括Linux/Windows)
Typecho程序的偽靜態(tài)規(guī)則不同于wp直接默認可用,需要我們手工加載到空間中才可以生效。下面老左整理了這款程序在不同的主機環(huán)境中的偽靜態(tài)規(guī)則,希望對大家有所幫助2012-09-09
用DNSPod和Squid打造自己的CDN (三) 安裝CentOS Linux
這篇文章主要介紹安裝CentOS Linux的一些步驟,大家可以繼續(xù)查看下一章2013-04-04

