Foreman from scratch: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
David (Diskussion | Beiträge)
Die Seite wurde neu angelegt: „=installation= ==Vorausetzung== *firsch installiertes Ubuntu 16.04 ==vorbereiten system== apt-get remove resolv.conf vi /etc/resolv.conf nameserver 192.168…“
 
Thomas (Diskussion | Beiträge)
 
(Eine dazwischenliegende Version von einem anderen Benutzer wird nicht angezeigt)
Zeile 1: Zeile 1:
=installation=
=installation=
==Vorausetzung==
==Vorausetzung==
*firsch installiertes Ubuntu 16.04
*frisch installiertes Ubuntu 16.04
 
==vorbereiten system==
==vorbereiten system==
  apt-get remove resolv.conf
  apt-get remove resolv.conf
Zeile 29: Zeile 30:
  echo "deb http://deb.theforeman.org/ plugins 1.12" | sudo tee -a /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 -
  wget -q https://deb.theforeman.org/pubkey.gpg -O- | sudo apt-key add -
*foreman installation starten
*foreman installer installieren starten
  apt-get update && sudo apt-get -y install foreman-installer
  apt-get update && sudo apt-get -y install foreman-installer
*foreman isntaller starten
foreman-installer

Aktuelle Version vom 11. Oktober 2017, 18:14 Uhr

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