Archive for the ‘Linux’ Category

How to give access to only one specific www folder

Friday, December 11th, 2015

The basic mission here is to prevent general access to /var/www/xxx… whilst allowing access to /var/www/henriks-folder for the henrik user.... Read More

Fixing the 1440 problem in phpMyAdmin and getting rid of password for sudo in Ubuntu 14.04

Thursday, May 14th, 2015

Being timed out after 1440 seconds on your local dev machine is extremely annoying, here’s how to remedy that in two simple steps:... Read More

Faience Grey for Ubuntu 14.04

Saturday, February 14th, 2015

I just tried to use my old trusty Grey Reuben in Ubuntu 14.04 and something must’ve happened since 12.04 because it’s now broken.... Read More

Basic HTTP Authentication with Apache

Saturday, January 24th, 2015

Below is an example of how to http authenticate a whole project but leave two subdirectories and all their contents open.... Read More

Routing External IPs to Internal IPs with iptables

Sunday, July 27th, 2014

The information in the below guide turned out to be surprisingly difficult to come by, it took days of googling before everything was running smoothly.... Read More

Apache HTTP Proxying on non-default Ports

Saturday, April 12th, 2014

I’ve started proxying certain services through Apache to be able to have them on different machines than the main site/service.... Read More

Heartbleed, Ubuntu 12.04 and some Java HTTP Client is a bad combo

Saturday, April 12th, 2014

Oh my, after having discovered that my employer was vulnerable to the heartbleed bug I quickly ran apt-get update and apt-get upgrade on some Ubuntu 12.04 systems. Problem solved… not so fast, suddenly a lot of services communicating with us stopped understanding what we were returning over SSL.... Read More

KVM Virtual Machine Guest With Static Dedicated IP Setup

Monday, February 24th, 2014

First of all, this walk through pertains to Ubuntu 12.04 and assumes that your hosting company or ISP is able and willing to assign an extra static IP to an arbitrary hwaddress/mac on your host machine.... Read More

Enabling and Using Ubuntu Backports in Ubuntu 12.04 (Precise)

Wednesday, September 11th, 2013

Make sure you have the following line in your /etc/apt/sources.list: deb http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse... Read More

Grey Reuben – a GTK3, GTK2, Metacity and Unity Theme

Saturday, August 10th, 2013

So this weekend I finally had enough of the GTK2 vs GTK3 theme discrepancies. Up until now I’ve resorted to simply do the default Radiance theme combined with the Metacity part of Reuben.... Read More