Server Automation Scripts to quickly install apps in Debian & Ubuntu
This application can be executed in 2 ways. One way is running the script in your command-line, or as a start-up script, with arguments.
The following scripts (and their number) are currently available:
- Initial Setup for Ubuntu 22.04
- Docker & Docker-Compose
- Nginx + PHP 8.0 FPM
- MariaDB
If you want the server to restart after installation, you can add 999 to the list of actions.
To run multiple scripts, just enter a comma-separated list of numbers, eg.: 0,1,999
!!! ROOT IS REQUIRED TO RUN THIS SCRIPT !!!
To run the interactive script, enter the following
$ curl -fsSL https://raw.githubusercontent.com/systemedz/server-automation-scripts/develop/quickinstall_ubuntu2204.sh -o install.sh
$ sudo chmod +x install.sh
$ sudo ./install.sh
You can also run the script without any interaction by adding the scripts to run as arguments, like this:
$ curl -fsSL https://raw.githubusercontent.com/systemedz/server-automation-scripts/develop/quickinstall_ubuntu2204.sh -o install.sh
$ sudo chmod +x install.sh
$ sudo ./install.sh 0,1,999
This script was intentionally made with the purpose of quickly installing servers on DigitalOcean via their User Data option, when creating a droplet. In this case, you can enter this:
#!/bin/bash
curl -fsSL https://raw.githubusercontent.com/systemedz/server-automation-scripts/develop/quickinstall_ubuntu2204.sh -o /tmp/install.sh && chmod +x /tmp/install.sh && /tmp/install.sh 0,1,999