All Guides
Linux VPS Server Einrichtung (Ubuntu)
Konfigurieren Sie Ihren Ubuntu-basierten VPS-Server von Grund auf.
Intermediate30 Min.
Setup Steps
1. Connect to your VPS via SSH:
ssh root@server_ip_address2. Update the system:
apt update && apt upgrade -y3. Create a new user:
adduser newuser
usermod -aG sudo newuser4. Configure SSH key-based authentication:
mkdir -p /home/newuser/.ssh
cp ~/.ssh/authorized_keys /home/newuser/.ssh/
chown -R newuser:newuser /home/newuser/.ssh
chmod 700 /home/newuser/.ssh
chmod 600 /home/newuser/.ssh/authorized_keys5. Harden SSH configuration (/etc/ssh/sshd_config):
PermitRootLogin no
PasswordAuthentication no
Port 22226. Restart SSH:
systemctl restart sshd7. Enable UFW firewall:
ufw allow 2222/tcp
ufw allow 80/tcp
ufw allow 443/tcp
ufw enable8. Set timezone:
timedatectl set-timezone Europe/Istanbul9. Create swap space (2GB):
fallocate -l 2G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo '/swapfile none swap sw 0 0' >> /etc/fstabRelated Guides
Apache Webserver Einrichtung
Installieren Sie den Apache HTTP-Server und konfigurieren Sie virtuelle Hosts.
Nginx Webserver Einrichtung
Installieren Sie den Nginx-Webserver und konfigurieren Sie ihn als Reverse Proxy.
Let's Encrypt SSL-Zertifikat
Holen Sie sich ein kostenloses SSL/TLS-Zertifikat mit Certbot.
Node.js und npm Einrichtung
Installieren Sie die Node.js-Laufzeitumgebung und den npm-Paketmanager.