Tag: Apache

Install LAMP on Debian 11 with Apache, MariaDB, and PHP

Install LAMP on Debian 11 with Apache, MariaDB, and PHP

If you’ve ever tried to host a PHP site or app and stared at a blank server thinking, “Okay… now what?”, you’re not alone. Before: you’ve got a fresh Debian 11 box and some PHP code (maybe WordPress, maybe a custom app), but nothing is running. After: you’ll have a working LAMP stack (Linux, Apache, MariaDB, PHP) on Debian 11,…

Read More »

Secure Apache on Debian 10 with Let’s Encrypt and Certbot

If you’re running a Debian 10 server with Apache and still serving your site over plain HTTP, you’re basically shouting your traffic across the internet. That’s bad news for logins, contact forms, and anything even slightly private. This hits small business sites, WordPress installs, and any DIY server where HTTPS was put off as “later”. The good news: with Let’s…

Read More »

How to: install mod_geoip2 for Apache2 on CentOS server.

mod_geoip2 is an Apache 2.x module for finding the country and city that a web request originated from. It uses the GeoIP library and database to perform the lookup. Steps: [*] Login via SSH as root to your server [*] Get the GeoIP C Library from MaxMind wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP.tar.gz Wait until finished –09:43:23– http://geolite.maxmind.com/download/geoip/api/c/GeoIP.tar.gz Resolving geolite.maxmind.com… 64.246.48.99 Connecting to geolite.maxmind.com|64.246.48.99|:80……

Read More »