Linux VPS
Create a swap file
Add swap space to protect small VPS from running out of memory. · 3 Min. Lesezeit
Diese Seite ist derzeit auf Englisch verfügbar. Eine Übersetzung folgt in Kürze.
fallocate -l 2G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo '/swapfile none swap sw 0 0' >> /etc/fstab
Lower the swappiness so swap is used only when needed:
echo 'vm.swappiness=10' > /etc/sysctl.d/99-swap.conf
sysctl --systemCheck with free -h.
Bestellen Sie einen von Technikern gebauten Server oder schreiben Sie uns — wir sind 24/7 online. Support →
Linux VPS
Connect to a Linux VPS via SSHHow to log in to your Linux server from Windows, macOS or Linux.Log in with SSH keys and disable passwordsCreate an SSH key pair, install it on the server and turn off password logins.First 10 minutes on a new Ubuntu/Debian serverUpdate packages, create a sudo user, set the time zone and enable automatic security updates.Install Nginx, PHP and MariaDB (LEMP)Set up a web server stack for PHP websites on Ubuntu 24.04.