Find us on social media
Cloud VPS Guides — Linux
Complete guides to manage your VPS with Ubuntu, Debian and other Linux distributions. From initial setup to production deployment.
First SSH access to your Linux VPS
Connect to your Linux VPS for the first time via SSH, accept the server fingerprint, and navigate the system.
Create a user with sudo permissions
Create a user with administrator privileges to operate your VPS without using root directly.
Update the operating system
Keep your VPS up to date with the latest security patches and package updates on Ubuntu and Debian.
Configure firewall with UFW
Configure UFW to control incoming and outgoing traffic, allowing only the necessary ports.
Install and configure Nginx
Install and configure Nginx as a web server with server blocks to host sites on your VPS.
Install and configure Apache
Install Apache HTTP Server with virtual hosts and essential modules to serve websites.
Install MySQL/MariaDB
Install MySQL or MariaDB, secure the installation, and create databases and users for your apps.
Install PostgreSQL
Install PostgreSQL, create roles and databases, and configure authentication for local and remote connections.
Install Node.js with NVM
Install Node.js with NVM to manage multiple versions and set up your development environment.
Install Python and virtual environments
Install Python and configure virtual environments with venv to isolate dependencies per project.
Install Docker and Docker Compose
Install Docker Engine and Docker Compose to run applications in isolated containers.
Configure SSL with Let's Encrypt
Get free SSL certificates from Let's Encrypt with Certbot and enable HTTPS on your domain.
Configure SWAP memory
Create and configure SWAP memory to prevent processes from being killed due to low RAM on your VPS.
Monitor CPU, RAM and disk
Monitor CPU, RAM, disk, and network usage on your VPS to detect performance issues early.
Schedule tasks with Cron
Schedule automated tasks with Cron to run scripts and commands at defined intervals.
Deploy with PM2 (Node.js)
Deploy Node.js applications in production with PM2 for process management and automatic restarts.
Configure reverse proxy with Nginx
Configure Nginx as a reverse proxy to route traffic to internal applications by port or domain.
Manage services with systemd
Manage system services with systemd: start, stop, enable, and create your own custom services.
Transfer files with SCP and SFTP
Transfer files between your local machine and VPS securely using SCP, SFTP, and rsync.
Basic VPS security
Implement essential security measures: SSH keys, Fail2Ban, firewall, and automatic updates.
Install and configure Redis
Install Redis as a cache and in-memory data store to improve your application performance.
Configure automatic backups with rsync
Automate incremental backups with rsync and cron to protect your data on a remote server.
Install WordPress with Nginx + PHP + MySQL
Install WordPress on a LEMP stack (Linux, Nginx, MySQL, PHP) optimized for performance.
Configure SSH key authentication
Generate SSH keys, copy them to the server, and disable password authentication.
Install PHP and PHP-FPM
Install PHP-FPM with common extensions and configure pools for Nginx.
Multi-service deploy with Docker Compose
Deploy a complete application with Docker Compose: app, database, Redis, and Nginx.
Configure Fail2Ban against brute-force attacks
Install and configure Fail2Ban to block IPs attempting brute-force attacks.
Install WireGuard VPN
Set up a VPN server with WireGuard for secure and private access to your VPS.
Install and use Git on the server
Install Git, create bare repositories, and configure hooks for automatic deployment.
Install Go (Golang) and build applications
Install Go, build applications, and run them as services on your Linux VPS.