All posts tagged ubuntu

Blocking Countries on Nginx without the GeoIP Module

the-world-in-flags

Sometimes blocking entire swathes of the world is the way to go if you truly want a defense in depth approach on your web apps, for instance do your administrators truly need to log on from every country on Earth?  As website administrators we get a feel for where our legitimate traffic is coming from and where we see nefarious connections from.

Continue reading →

Bonding Interfaces on Ubuntu 12.04LTS

uber-neat-uber-switches

Having multiple interfaces on a server helps for a variety of reasons, and recently I had to get a server (a Sun Micrososystems X4100 incidentally), up and running with Ubuntu 12.04LTS and bonded interfaces.

Continue reading →

Setting up Nginx with Cloudflare

generic_cloud

I’ve written about the very excellent Cloudflare CDN before.  It’s a fantastic content delivery network with inbuilt security, I love it.  This is another quick howto to get your Nginx web server working properly with Cloudflare.

I will assume you already have a working LEMP server working.

Continue reading →

Useful SSH Commands (Including Mac OSX)

im-doing-the-internet

SSH Port Forwarding Examples

SSH is a very flexible and very useful tool for those of us working across multiple systems sometimes in multiple locations.  Here are a few SSH commands I regularly use and include mostly SSH port forwarding.  I use all these commands regularly on Linux and Mac OSX and they all work quite happily!

Continue reading →

How to Install AVG Anti Virus on Ubuntu Server

virus

Although in my experience Linux is much less susceptible to malware, it would be unfair to say that they are completely secure.  Even if a Linux machine isn’t infected it doesn’t mean it can’t be an unsuspecting virus delivery mechanism.  Although saying that a web server really shouldn’t be delivering any malware…

AVG is a widely recognised anti-malware vendor, especially in the Windows world, and we’ll be installing their Linux Antivirus on our server and then setting it for a scheduled run daily. Continue reading →