服务器之家:专注于VPS、云服务器配置技术及软件下载分享
分类导航

Linux|Centos|Ubuntu|系统进程|Fedora|注册表|Bios|Solaris|Windows7|Windows10|Windows11|windows server|

服务器之家 - 服务器系统 - Ubuntu - foreman ubuntu16 快速安装

foreman ubuntu16 快速安装

2022-07-21 09:07大囚长 Ubuntu

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

?
1
2
3
4
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

延伸 · 阅读

精彩推荐
  • Ubuntuubuntu14.10升级ubuntu15.04的详细教程

    ubuntu14.10升级ubuntu15.04的详细教程

    ubuntu14.10怎么升级到ubuntu15.04?又该升级系统了,但是很多人对ubuntu系统很不熟悉,下面我们一起来看看ubuntu14.10升级ubuntu15.04的详细教程,需要的朋友可以...

    百度经验4632019-09-18
  • UbuntuUbuntu系统用自带的shotwell软件简单编辑照片的教程

    Ubuntu系统用自带的shotwell软件简单编辑照片的教程

    有时候照片需要微调亦喜爱,但是Ubuntu系统又不会安装软件,该怎么办呢?其实Ubuntu系统自带了一款修图软件 Shotwell,下面分享他的使用方法,需要的朋友...

    百度经验3422019-10-17
  • UbuntuUbuntu系统中如何关闭alt快捷键?

    Ubuntu系统中如何关闭alt快捷键?

    最近有些朋友问小编Ubuntu系统中如何关闭alt快捷键?今天小编就为大家带来Ubuntu系统中关闭alt快捷键的方法,希望能够帮助到大家!有需要的朋友一起去看看...

    脚本之家5302019-05-31
  • UbuntuUbuntu 14.04 下开启PHP错误提示

    Ubuntu 14.04 下开启PHP错误提示

    PHP编码出错不提示,这对于开发来说,是很不方便的,脚本之家的小编在本文将讲解如何开启错误提示步骤,需要的朋友可以参考下 ...

    Ubuntu教程网2932019-11-01
  • UbuntuUbuntu16.04配置lamp环境的具体方法

    Ubuntu16.04配置lamp环境的具体方法

    下面小编就为大家带来一篇Ubuntu16.04配置lamp环境的具体方法。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧...

    Ubuntu教程网10522022-01-19
  • Ubuntuubuntu16.04安装试用unity8的方法

    ubuntu16.04安装试用unity8的方法

    今天小编要为大家带来的是ubuntu16.04安装试用unity8的方法!希望对大家会有帮助!有需要的朋友一起去看看吧...

    ubuntu之家2422019-06-24
  • Ubuntuubuntu xrandr修改显示器分辨率(临时效果)

    ubuntu xrandr修改显示器分辨率(临时效果)

    ubuntu xrandr修改分辨率不会的朋友可以运行下边的命令将改变您显示器的分辨率,但是效果是临时的 ...

    ubuntu教程网2462019-11-21
  • Ubuntu如何在Ubuntu下启动Apache的Rewrite功能

    如何在Ubuntu下启动Apache的Rewrite功能

    本篇文章是对在Ubuntu下启动Apache的Rewrite功能的具体操作步骤进行了详细的分析介绍,需要的朋友参考下 ...

    Ubuntu教程网5502020-05-09