Skip to main content

enterprise linux boilerplate

## ## ct deploy for EL ## ## ## install base stuff ## dnf update -y reboot dnf -y install yum-utils dnf config-manager --set-enabled crb dnf -y install epel-release /usr/bin/crb enable dnf repolist | grep epel dnf -y install bind-utils tmux git vim whois wget curl openssh-server sudo certbot tar systemctl enable sshd && systemctl start sshd ## ## install cockpit ## dnf -y install cockpit systemctl disable auditd systemctl start cockpit.socket systemctl enable --now cockpit.socket systemctl status cockpit.socket ## ## user creation ## useradd -u 42069 -m -s /bin/bash jgalley usermod --append -G wheel jgalley #passwd jgalley usermod --password '$6$cnf9W.dpRaJfuADG$6Eer/0SqMngyks7DkMH7tBqg3gie3mEC8qLrVSrJB9glVejXubeJAshP.plxYKhQG/5Cyj6X3AwK1AAW3Le4g1' jgalley mkdir -p /home/jgalley/.ssh cat > /home/jgalley/.ssh/authorized_keys < /etc/systemd/system/regenerate_ssh_host_keys.service <