Skip to content

Instantly share code, notes, and snippets.

@NotYusta
Last active August 7, 2024 08:46
Show Gist options
  • Save NotYusta/3520958b4be2e5b191c54521c8ee7d71 to your computer and use it in GitHub Desktop.
Save NotYusta/3520958b4be2e5b191c54521c8ee7d71 to your computer and use it in GitHub Desktop.
Add swap, Install Firewall, Wings & Docker
#!/bin/sh
INSTALL_FIREWALL_URL="https://gist.githubusercontent.com/NotYusta/d1e227f6dbd27323b8c475586fe6d43d/raw/6f83177c3de274a974c93f7bced86f386f9a36ce/firewall.sh"
INSTALL_WINGS_URL="https://gist.githubusercontent.com/NotYusta/77c998832676310b53761adb0c3546c7/raw/e895f9309591ca807025732e1832838322bb6b09/install_wings.sh"
ADD_SWAP_URL="https://gist.githubusercontent.com/NotYusta/bc86b388b0661604bbab70a987c88bd2/raw/833edc535dc0e063c3f60fe402f6c23a96648231/add_swap.sh"
RC_LOCAL_URL="https://gist.githubusercontent.com/NotYusta/0d669bd57bfc67a56c8f1f18941a2b9a/raw/4e00f34a1332bcb01f425adca91d8c6e8964e2d7/rc-local.sh"
dnf update -y
dnf install curl -y
curl -s "$ADD_SWAP_URL" | bash
curl -s "$INSTALL_WINGS_URL" | bash
curl -s -L "$INSTALL_FIREWALL_URL" -o /root/firewall.sh
chmod +x /root/firewall.sh
bash /root/firewall.sh
curl -s "$RC_LOCAL_URL" | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment