网站运营
位置:首页>> 网站运营>> foreman ubuntu16 快速安装

foreman ubuntu16 快速安装

作者:大囚长  发布时间:2023-08-05 04:07:50 

标签:foreman,echo

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-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

0
投稿

猜你喜欢

  • 有人说一台不和外面联系的电脑是最安全的电脑,一个关闭所有端口,不提供任何服务的电脑也是最安全的。黑客经常利用我们所开放的端口实施攻击,这些攻
  • 网站性能压力测试是服务器网站性能调优过程中必不可缺少的一环。只有让服务器处在高压情况下,才能真正体现出软件、硬件等各种设置不当所暴露出的问题
  • 2008新春大假宣告落幕。日前百度发布“2008春节热点报告”,报告通过对亿万网民的检索数据分析,反映了春节期间人们关注的焦点话题,如,春运
  • 用户网页加载时间分为三部分:网页执行时间+页面及页面元素加载时间+浏览器渲染网页时间针对这三部分时间,我将加速的方法依加速的方式分成以下几类
  • 北京时间11月7日消息,据国外媒体报道,美国互联网流量监测机构comScore周五宣布,已发布今年9月全球10大互联网资产排行榜。以用户停留
  • 1、什么是FTP?FTP有哪些功能?FTP(File Transfer Protocol)是 Internet上用来传送文件的协议(文件传输
  • 一、我只用GG的“AdSense 内容广告”所选广告代码只有三种:要么纯文字,要么纯图片,当然还有文
  • 关于搜索引擎优化的方程式:SEO=∫Clock=∫C1+L2+K3+O41、∫是一个积分符号
  • 其实我真的很纯洁!我是去搜索《足球尤物》这部电影。但居然被提示“"尤物" 已被 Google 筛选掉,因为启用了 Goo
  • 北京时间11月3日晚间消息,据国外媒体今日报道,谷歌旗下YouTube的内容合作伙伴总监乔丹·霍夫纳(Jordan H
  • FlashFXP是一款优秀的FTP工具,但是很多朋友在使用过程中仅掌握其基本的上传/下载功能,其实在FlashFXP里面隐藏了很多实用的技巧
  •  一、锚链接的使用链接是互联网网页之间连接的纽带,没有链接所有网页和网站之间都会是孤立的。什么是锚链接?在SEO这个领域里锚链接可
  • 成都SEO记得有一次在坛子里看牛人的文章说:SEO高手们是不需要Keywords和Description??百思不得其解,困惑得想找个六层的
  • Linux中许多常用命令是必须掌握的,这里将我学linux入门时学的一些常用的基本命令分享给大家一下,希望可以帮助你们。这个是我将鸟哥书上的
  • 1.不要找全站链接,一个页面给过来链接就可以,全站链接权重降低还可能会被认为作弊。2.不要只找高PR的链接。3.控制链接数量增加的速度。短时
  • 有时候为了服务器的安全,我们需要经常登录远程的朋友,可以考虑将administrator改名字,这样一般不知道我们的用户名的人也会增加密码破
  • 2008年11月13日,中国互联网协会联合谷歌中国、新浪网、搜狐网、腾讯网、网易等国内知名网站,在京召开了主题为"搜索·未来&qu
  • 恶意链接(Link Spamming):也称“作弊链接技术”)指为提高网站在google排名搜索引擎
  • 前面我们讲过,FTP协议的数据传输存在两种模式:主动模式和被动模式。这两种模式发起连接的方向截然相反,主动模式是从服务器端向客户端发起;被动
  • Discuz!7.0是康盛创想(Comsenz)公司于2008年12月份发布的一款论坛BBS建站产品。在Discuz!7.0中,道具中心为论
手机版 网站运营 asp之家 www.aspxhome.com