foreman ubuntu16 快速安装
作者:大囚长 发布时间:2023-08-05 04:07:50
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.deb1.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-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
1sudo 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
总结
以上就是这篇文章的全部内容了,希望本文的内容对大家的学习或者工作具有一定的参考学习价值
来源:https://blog.csdn.net/Jailman/article/details/82465979


猜你喜欢
- 由于刚进了高中,高一的学业还是比较繁忙的,已经近乎几个月没有来Chinaz侃侃了,今天由于我身体的不适,没有去学校上课,于是闲着闲着便来到了
- 在godaddy注册域名是一个痛苦的经历,太繁琐了,但由于他们提供的域名附加服务很多,域名还是超值的,推荐大家在godaddy注册域名。为了
- 距离 9 月 23 日,刚好是 Google 的 Chrome Frame 发布一个月的日子,来自各方面对 Chrome Frame 的声音
- 概要本文介绍了如何配置“域名系统”(DNS) 服务器,使其承载可从外部访问(即从Internet 访
- 本文简单介绍怎样登录Godaddy账户,并将Godaddy账户中的主要内容翻译为中文供大家参考第一:访问Godaddy的网站:Godaddy
- WEB3.0时代已悄然降临在我们站长的身边,而这个时代我们靠什么赚钱呢?这是一个新的研究课题.可是在WEB2.0普遍流行的当今互联网江湖,可
- 国庆长假是市民上网的高峰期,瑞星反病毒专家提醒网民,近期通过MSN、QQ、U盘等传播的蠕虫病毒有泛滥的趋势,一些带有木马特征的病
- 今年开始,godaddy陆续发布了主机管理的一些新功能,主要的总结如下:1.Windows主机支持压缩和解压缩可以直接在控制面板中压缩和解压
- 本报讯(记者 敖祥菲) 昨日,在2008百度世界大会的开场发言中,百度公司总裁兼CEO李彦宏用将近一半的演讲篇幅来讲述大洋彼岸充满火药味的总
- 运行环境:winxp+SQL2000本地本虚拟目录:D:\www.actsun.com论坛安装目录:bbs通过企业管理器生成数据库名:bbs
- 本文为大家分享了VMware 12 下 Ubuntu 16.04镜像 安装教程,供大家参考,具体内容如下1)安装前准备PC电脑操作系统是WI
- 10月29日消息,日前,百度空间(hi.baidu.com)联合娃哈哈慈善基金会,共同发起“点亮爱的心愿”大型慈善公益活动,提交自己爱心梦想
- 一、事件背景:由于工作需要使用vscode远程连接到Ubuntu。(具体连接方法可百度,本文仅限分享其中遇到的问题)二、问题现象:在这过程中
- linux usb摄像头设备信息查看linux下usb摄像头操作,离不开v4l2框架V4L2是Video for linux2的简称,为li
- 20岁的黑龙江无业人员段宗屹,通过发送 “灰鸽子”木马病毒,获取淘宝网店铺店主的银行信息,先后3次盗取店主账户内两万余元资金。近日,宣武法院
- 今年开始到未来的3年,是我国电子商务进入高速发展期的核心时期,电子商务低成本、高效率、信息对称这些优势会迅速地爆发出来,并被大家所接受。电子
- 一,需求1,虚拟用户登录由于之前配置成功了postfix+MySQL虚拟用户登录,体会到了使用虚拟用户的好处和灵活性,所以这次也考虑采用虚拟
- 国庆期间,笔者放了好几天长假,街头人多就窝在家中,闲来无事玩玩网络游戏打发时间。近日欲出售一个网游帐号,顺便了解一下国庆网络游戏交易平台情况
- 腾讯科技讯(编译/中涛)北京时间5月20日消息,据国外媒体报道,微软必应地图(Bing Maps)技术主管克里斯·彭德尔顿(Chris Pe
- 为了使各企业使用谷歌AdWords进行市场营销时能更加顺畅,编辑特制作了“谷歌网络营销点金术”系列专