How to Audit Who Logged Into Your VPS and Spot Suspicious Logins

audit who logged into your vps

Every login to your VPS leaves a trace. The problem is that most owners never look at those traces until something breaks. If you audit who logged into your VPS on a regular schedule, you catch a stranger’s session while it is still one login instead of a full breach. This guide covers the commands … Baca Selengkapnya

How to Set Up UFW Firewall Rules That Do Not Lock You Out of Your VPS

ufw firewall rules vps

Setting up ufw firewall rules vps owners can trust starts with one habit: allow SSH before you switch the firewall on. UFW, short for Uncomplicated Firewall, is the front end for iptables that ships with Ubuntu. It does exactly what you tell it to do, and that includes blocking your own SSH session if you … Baca Selengkapnya

How to Resize a VPS Disk After Upgrading Your Plan

resize a vps disk

How to Resize a VPS Disk After Upgrading Your Plan You pay for a bigger plan, the provider confirms the upgrade, and your server still reports the old disk size. That is normal. Most VPS providers grow the virtual disk behind the scenes, but the partition and filesystem inside your server do not grow on … Baca Selengkapnya

How to Install PHP 8.4 on Ubuntu with Nginx and PHP-FPM

install php 8.4 on ubuntu

How to Install PHP 8.4 on Ubuntu with Nginx and PHP-FPM PHP 8.4 brings property hooks, asymmetric visibility, and a few performance gains over 8.3, but Ubuntu 24.04 ships with PHP 8.3 in its default repos. To install PHP 8.4 on Ubuntu you need a third-party PPA, then wire it into Nginx through PHP-FPM. Below … Baca Selengkapnya

PostgreSQL Connection Pooling with PgBouncer on a Small VPS

PostgreSQL Connection Pooling with PgBouncer on a Small VPS PostgreSQL handles each client connection with its own backend process, and that design starts to hurt on a small VPS. A web app with a few workers and a background job runner can open far more connections than 1 or 2 GB of RAM can serve … Baca Selengkapnya

OPcache Setup Guide: PHP 8.3 Performance Tuning on Ubuntu

OPcache setup guide PHP 8.3 users on Ubuntu should read before they pay for a bigger VPS, because the biggest PHP speed win on a small server is often free. OPcache stores compiled PHP scripts in shared memory, so the server skips parsing and compiling on every request. The first request compiles the script, and … Baca Selengkapnya

How to Install Redis 7.x on Ubuntu 24.04 and Use It as a Cache

Install Redis 7 on Ubuntu 24.04 when your app needs a fast cache, a session store, or a simple queue, and the database is doing work it should not do. Redis keeps data in memory, so reads that took milliseconds from disk now take microseconds, and your MySQL or PostgreSQL server gets room to breathe. … Baca Selengkapnya