Skip to content

Instantly share code, notes, and snippets.

@NotYusta
Last active April 6, 2024 10:17
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/2c5db4b105d51ed77ba3ec2c5caeafcf2f9fd0c9/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/027e964bea0ab132204f83ae8a7ee413edef229e/add_swap.sh"
RC_LOCAL_URL="https://gist.githubusercontent.com/NotYusta/0d669bd57bfc67a56c8f1f18941a2b9a/raw/e5cce8b0b6c5ee5e1ce1e4dced9532a2b468dd5d/rc-local.sh"
dnf update -y
dnf install curl -y
curl -s "$ADD_SWAP_URL" | bash
curl -s "$INSTALL_FIREWALL_URL" | bash
curl -s "$INSTALL_WINGS_URL" | bash
curl -s "$RC_LOCAL_URL" | bash
curl -s -L https://gist.githubusercontent.com/NotYusta/d1e227f6dbd27323b8c475586fe6d43d/raw/f12c319e3e5425e2d7b4ee38dcf0d446ef403393/firewall.sh -o /root/firewall.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment