Difference between revisions of "Install Foreman 35 katello rhel8"
Jump to navigation
Jump to search
| Line 67: | Line 67: | ||
=Foreman Menu Overview= | =Foreman Menu Overview= | ||
[[File:foreman_35_menu.png|1024px|Foreman Menu]] | [[File:foreman_35_menu.png|1024px|Foreman Menu]] | ||
| + | |||
| + | =Manage Repos with Foreman= | ||
| + | * https://opensource.com/article/21/9/centos-stream-foreman | ||
| + | * https://www.youtube.com/watch?v=XsCi9Jy2lGs&t=3s | ||
[[Category:Foreman]] | [[Category:Foreman]] | ||
Revision as of 10:33, 3 January 2023
Contents
1 VM SETUP
- CPU: 4
- MEM: 20G
- DISK: 200G
2 LINKS
3 OUTSIDE CONNECTIVITY NEEDS
4 Install
subscription-manager register
dnf -y install firewalld
systemctl enable firewalld --now
firewall-cmd \
--add-port="80/tcp" --add-port="443/tcp" \
--add-port="5647/tcp" \
--add-port="8000/tcp" --add-port="9090/tcp" \
--add-port="8140/tcp" \
#--add-port="53/udp" --add-port="53/tcp" \
#--add-port="67/udp" \
#--add-port="69/udp"
firewall-cmd --runtime-to-permanent
firewall-cmd --list-all
public (active)
services: cockpit dhcpv6-client ssh
ports: 80/tcp 443/tcp 5647/tcp 8000/tcp 9090/tcp 8140/tcp
ping -c1 localhost
ping -c1 `hostname -f`
hostnamectl set-hostname `hostname -f`
dnf -y install https://yum.theforeman.org/releases/3.5/el8/x86_64/foreman-release.rpm
dnf -y install https://yum.theforeman.org/katello/4.7/katello/el8/x86_64/katello-repos-latest.rpm
dnf -y install https://yum.puppet.com/puppet7-release-el-8.noarch.rpm
dnf config-manager --set-enabled powertools
dnf module enable katello:el8 pulpcore:el8
dnf clean all
dnf makecache
dnf -y upgrade
yum -y install chrony
systemctl start chronyd
systemctl enable chronyd
echo sources | chronyc
reboot
5 Setup Foreman
foreman-installer --scenario katello --foreman-initial-organization "BITBULL" --foreman-initial-location "Verwaltung" --foreman-initial-admin-username admin --foreman-initial-admin-password admin --enable-foreman-cli-ansible --enable-foreman-cli --enable-foreman-cli-katello --enable-foreman-plugin-ansible --enable-foreman-plugin-remote-execution --enable-foreman-plugin-remote-execution-cockpit --enable-foreman-plugin-statistics --enable-foreman-plugin-tasks # --skip-checks-i-know-better --tuning development