Knowledgebase

Articles

How to Automate Daily Backups Using Linux Cron Jobs Run crontab -e and add a daily 3:00 AM backup task:0 3 * * * tar -czf /backups/site_$(date... How to Back Up Your VPS Automatically to Google Drive or S3 with Rclone Keep offsite encrypted backups outside your VPS for true disaster recovery.Step-by-Step... How to Backup and Restore MySQL Databases via Command Line Backupmysqldump -u root -p app_db | gzip > app_db_$(date +%F).sql.gzRestoregunzip <... How to Check Disk Space Usage (df -h and du -sh) on Linux VPS Check overall filesystem usage:df -hFind which folders consume the most space:sudo du -sh /*... How to Check Inode Usage (df -i) When Disk Space Looks Free Resolve 'No space left on device' errors caused by millions of tiny session/cache... How to Clear Old System Logs & Temporary Files to Free Disk Space sudo journalctl --vacuum-time=7d sudo apt clean sudo rm -rf /tmp/*This safely trims systemd... How to Create and Expand Swap Memory on a Linux VPS Adding a 2GB or 4GB swap file prevents Out-Of-Memory (OOM) crashes during traffic spikes:sudo... How to Enable MySQL Slow Query Log to Find Bottlenecks Pinpoint unindexed SQL queries slowing down your website.Step-by-Step InstructionsEnable... How to Enable and Tune PHP OPcache for 5x Faster Execution Cache compiled PHP bytecode in RAM so PHP stops re-parsing files on every request.Step-by-Step... How to Expand a Linux Disk Partition After Upgrading VPS Storage Claim newly upgraded NVMe storage without rebooting or losing data.Step-by-Step InstructionsCheck... How to Install Netdata for Real-Time Visual VPS Monitoring Get live browser dashboards for CPU, RAM, Disk, Nginx, and MySQL metrics.Step-by-Step... How to Monitor Disk I/O Bottlenecks with iotop and iostat Identify which process is heavily reading or writing to disk.Step-by-Step InstructionsInstall... How to Monitor Real-Time CPU & RAM Usage (htop, top, free) sudo apt install -y htop htopUse free -m for a quick RAM/Swap snapshot and uptime to view 1-, 5-,... How to Mount and Format a Secondary NVMe Hard Drive on Linux After adding a Secondary Hard Drive from your A1 Client Area:lsblk sudo mkfs.ext4 /dev/sdb sudo... How to Optimize PHP-FPM pm.max_children for High Traffic Prevent 502 errors and RAM exhaustion by tuning PHP-FPM worker limits.Step-by-Step... How to Sync Files Between Servers Using rsync Over SSH Perform fast incremental backups and zero-downtime site migrations.Step-by-Step InstructionsUse... How to Transfer Files to Your VPS Using SFTP (FileZilla / WinSCP) Download FileZilla or WinSCP.Select Protocol: SFTP - SSH File Transfer Protocol.Host:... How to Tune MySQL / MariaDB InnoDB Buffer Pool for Speed Accelerate database-heavy apps by caching hot tables in RAM.Step-by-Step InstructionsSet...
« Back