/Scripts

Scripts which makes my work easier

Primary LanguageShell

1. Open All Ports Script

This script allows you to reset your iptables rules to accept all incoming and outgoing traffic on an Ubuntu system.

One-Click Installation and Execution

  1. Open your terminal on an Ubuntu system.

  2. Run the following command to download and execute the script directly from the repository:

    bash -c "$(curl -fsSL https://raw.githubusercontent.com/NicoRuizDev/Scripts/main/open-all-ports.sh)"

2. Ubuntu Swap Installation Script

This script allows you to easily set up a swap file on your Ubuntu system. Swap space can help improve system performance by providing additional virtual memory.

One-Click Installation and Execution

  1. Open your terminal on an Ubuntu system.

  2. Run the following command to download and execute the script directly from the repository:

    bash -c "$(curl -fsSL https://raw.githubusercontent.com/NicoRuizDev/Scripts/main/install-swap.sh)"

3. Automatic Server Restart

This script allows you to automate server restarts at regular intervals. It can be helpful for server maintenance, scheduled updates, and optimizing system performance.

One-Click Installation and Execution

  1. Open your terminal on the server.

  2. Run the following command to download and execute the script directly from the repository:

    bash -c "$(curl -fsSL https://raw.githubusercontent.com/NicoRuizDev/Scripts/main/auto-restart.sh)"