Server Setup & Deployment Guide
Reinstalling the Server
Use the Strato control panel to reinstall Ubuntu 22.04, set a strong root password, and add your SSH public key.
Firewall and Security Setup
Configure UFW firewall to allow HTTP, HTTPS, and SSH ports. Disable root SSH login, add a non-root user, install fail2ban and unattended-upgrades for security.
Web Server and Software Installation
Install Apache, PHP 8.3, MySQL, PhpMyAdmin and configure them for your web projects.
Deploying GitHub Projects
Generate SSH keys for GitHub, add keys to your GitHub account, clone repositories to /var/www
, and set proper file permissions and groups.
Composer and Frontend Setup
Install Composer and Node.js, run Laravel commands, and configure Apache virtual hosts.
HTTPS Setup with Certbot
Use Certbot to obtain and install SSL certificates, enabling HTTPS on your domains.
Accessing MySQL Remotely via SSH Tunnel
Create SSH tunnels for local database access without exposing MySQL publicly.
Domain Management on Strato Server
Add new websites, configure Apache virtual hosts, manage permissions, and secure your domains with HTTPS.
For detailed steps, visit the linked sections or ask for specific instructions.