Last active
November 10, 2019 06:50
-
-
Save rkennesson/ca6a5ab0286934ae1991e75af99524d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HISTIGNORE= | |
HISTCONTROL=ignorespace | |
HISTSIZE='INFINITY' | |
HISTFILESIZE='INFINITY' | |
yum install -y epel-release bash-completion | |
yum install -y podman certbot | |
yum install -y firewalld | |
systemctl enable firewalld --now | |
yum install -y ntp | |
firewall-cmd --permanent --add-service=ntp | |
yum install -y nginx | |
systemctl enable nginx --now | |
firewall-cmd --permanent --add-service=http | |
firewall-cmd --permanent --add-service=https | |
yum install -y ssh | |
systemctl enable sshd --now | |
firewall-cmd --permanent --add-service=ssh | |
dd if=/dev/zero of=/swapfile count=2048 bs=1MiB | |
chmod 600 /swapfile | |
mkswap /swapfile | |
swapon /swapfile | |
echo "/swapfile swap swap defaults 0 0" >> /etc/fstab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Notepadqq | |
bat (cat replacement) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment