Disclaimer: This guide was automatically translated by AI from the German original. Please verify commands and technical details before using them.
Back to overview: Debian guides
To simplify the initial setup of web server components, I created a script that performs the complete installation of Apache2, PHP, MariaDB, phpMyAdmin, WordPress, Nextcloud, Let's Encrypt Certbot, and cron jobs for automatic updates.
Simply run the following commands and answer the questions afterward:
Download the script:
wget https://raw.githubusercontent.com/kanuracer/scripts/main/linux/debian12/webserver/autoinstall_de.sh
Make it executable:
chmod +x autoinstall_de.sh
Start the script:
./autoinstall_de.sh
For the English version of the script, use the following commands:
Download the script:
wget https://raw.githubusercontent.com/kanuracer/scripts/main/linux/debian12/webserver/autoinstall_en.sh
Make it executable:
chmod +x autoinstall_en.sh
Start the script:
./autoinstall_en.sh
Note:
- Domain: Make sure your domain already points to the server before running the script.
- Nextcloud troubleshooting: If errors appear in the Nextcloud admin center, you can find a collection of recurring fixes here: Nextcloud Troubleshooting