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
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
-
Downloading the installer
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
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
相關文章
- ubuntu16 安裝mysql5.7UbuntuMySql
- 超順 | Ubuntu16 安裝配置aws gpuUbuntuGPU
- Ubuntu16環境安裝和使用NFSUbuntuNFS
- ubuntu16安裝pymesh2的方法Ubuntu
- ubuntu16安裝Django + nginx後臺執行UbuntuDjangoNginx
- 純淨Ubuntu16安裝CUDA(9.1)和cuDNNUbuntuDNN
- Anaconda3+CUDA10.1+CUDNN7.6+TensorFlow2.6安裝(Ubuntu16)DNNUbuntu
- FIBOS快速安裝
- odoo11在windows,ubuntu16,centos7下的安裝OdooWindowsUbuntuCentOS
- Ubuntu16桌面版編譯和安裝OpenCV4Ubuntu編譯OpenCV
- Jenkins快速上手安裝Jenkins
- 快速安裝python包Python
- Kubernetes單機快速安裝
- 快速手動安裝 msyql
- 快速安裝Docker服務Docker
- 快速安裝 kafka 叢集Kafka
- ubuntu16 安裝 python3.10 遇到 openssl 版本過低問題以及解決方案UbuntuPython
- centos7快速安裝dockerCentOSDocker
- Centos7快速安裝RocketMQCentOSMQ
- Spark 安裝部署與快速上手Spark
- Rust語言快速安裝指南Rust
- Linux系統快速安裝JDKLinuxJDK
- Linux 版本的 SQL Server 快速安裝LinuxSQLServer
- Nodejs 和 Electron ubuntu下快速安裝NodeJSUbuntu
- CentOS 6.5下快速安裝MySQL 5.7.17CentOSMySql
- Docker Linux快速安裝及Nginx部署DockerLinuxNginx
- python的pip快速安裝程式碼Python
- CentOS 7快速安裝Mongodb詳解CentOSMongoDB
- Go語言快速安裝手冊Go
- requirements.txt 快速備份與安裝專案所需安裝包UIREM
- kubernetes 1.9.2 快速安裝,只需三步
- Linux – CentOS 7 yum方式快速安裝MongoDBLinuxCentOSMongoDB
- CentOS7快速安裝python3CentOSPython
- (CMake):CMake安裝及快速入門案例
- (原創)linux安裝xgboost快速高效方法Linux
- 一種快速安裝InnoDB Cluster的方法
- 使用淘寶NPM映象快速安裝CordovaNPM
- 【openstack】cloudkitty元件,入門級安裝(快速)Cloud元件