Foreman from scratch

Aus xinux.net
Zur Navigation springen Zur Suche springen

installation

Vorausetzung

  • frisch installiertes Ubuntu 16.04

vorbereiten system

apt-get remove resolv.conf
vi /etc/resolv.conf
nameserver 192.168.255.250
nameserver 192.168.255.251
search xinux.lan taribo.lan talaxia.de tuxmen.de
vi Interfaces einrichte
auto ens18
iface ens18 inet static
address 192.168.241.46
netmask 255.255.248.0
gateway 192.168.240.100
vi /etc/hosts
127.0.0.1	localhost
192.168.241.46	stan.xinux.lan stan

foreman isntalliern

apt-get -y install ca-certificates
  • puppet installieren
wget https://apt.puppetlabs.com/puppetlabs-release-pc1-xenial.deb
dpkg -i puppetlabs-release-pc1-xenial.deb
  • repositorys hinzufügen foreman
echo "deb http://deb.theforeman.org/ xenial 1.12" | sudo tee /etc/apt/sources.list.d/foreman.list
echo "deb http://deb.theforeman.org/ plugins 1.12" | sudo tee -a /etc/apt/sources.list.d/foreman.list
wget -q https://deb.theforeman.org/pubkey.gpg -O- | sudo apt-key add -
  • foreman installer installieren starten
apt-get update && sudo apt-get -y install foreman-installer
  • foreman isntaller starten
foreman-installer