Tag Archives: Linux - Page 2

Size of MySQL fields – incorrect assumptions

I came to the world of MySQL with very little experience. I inherited a DB with a client I took on, and found myself learning what I needed as I went on. And I found something out today that surprised …

Read more »

Protecting WordPress from script fishing attacks with Fail2Ban (more…)

A better, but slightly more complex, solution has been posted here A previous post here suggested using a blanket ban on all 404s recorded in the access.log, but this isn’t working quite as well as expected. Mainly due to the …

Read more »

Fail2Ban with sendEmail Python MTA and SMTP

The servers I administer are on Amazon cloud, and there are often problems with outgoing emails and sendmail, so for a quick fix to add outgoing email support to scripts, I’m okay with using sendEmail, a small Python SMTP email …

Read more »

Protecting Apache webservers from WordPress admin login dictionary attacks with fail2ban

A better solution has been posted here but I’ll leave this post up too. A very popular webserver I administer has been getting more attention from the script kiddies, and the Apache access log has been filling up with repeated …

Read more »

Screenshots with Awesome WM and xsnap

One thing I really, really liked about Compiz was the ability to hold down CTRL, drag the mouse over part of the screen, and take a screenshot. Sadly I discovered this about a week before it broke in 11.04 – …

Read more »

Awesome WM config tweaks

I use Awesome WM which has made a splendid alternative to Gnome/Unity since soon after this was unleashed in Ubuntu 11.04. Not only did I find Unity to be dog-slow, I was finding windows were getting in the way more …

Read more »

Using a config file with SSH

I found this to be very much worth doing once I started spending a fair amount of time SSHing into different remote systems on a regular basis. So now I have about 18 of these for personal, and client, servers. …

Read more »

A few helpful Bash settings and aliases

I’m constantly trying to get my hands off the mouse and onto the keyboard so I’ve been looking for tweaks and tricks to help me to do what I need to do with fewer mouse clicks and keystrokes. I’ve been …

Read more »

WordPress upload/upgrade permissions with group ownership

I have to maintain a few WP blogs for clients. It’s not a package I overly enjoy working with. Sure, it does the job pretty well and is hugely popular, But there is something about it that I just find …

Read more »

Ubuntu 64 Minimal Install Upgrades

I’ve been running Ubuntu 64 installed from the minimal install for about 4 months now, and have been slowly tweaking it to get it just how I want to be. This mainly came about after a…not quite disastrous, but certainly …

Read more »