David Peach

Page 123 of 211

Posts by David Peach

2nd August 2015

There is always a logical answer

I installed Ubuntu server on my spare computer the other day and all was fine.

I then moved the Apache document root to a directory in my home folder — a common thing done by people, I hear.

I have done this many times before and always worked fine — as did this for a time.

I had done this via ssh as is common with a server OS. Only thing was, was once I exited the ssh, Apache seemed to stop working.

I spent about an hour then, at around midnight, trying to figure out what had gone wrong. What had I done differently? The answer was simple: nothing…… or so I thought.

Turns out I had encrypted my home directory on installation of the OS. Probably a good thing to do, except that of course when trying to view the Apache server page in a browser it would error — due to my having moved it’s root from its default into my home folder.

As soon as I logged in via ssh to the server, it would work again. But when exiting it would stop.

This was simply down to the fact that my logging into the home directory via ssh would cause it to decrypt itself — making the apache page viewable. And then when I exited the ssh, it would re-encypt, thus breaking it.

Fu fu fu.

Off to see Mission Impossible: Rogue Nation tonight. Really looking forward to it.

I just hope there are no annoying people about. i.e. screaming kids, idiots on phones, people saying things like “Oh he was in thingymajig” or “This bit is sick”.

I must be getting old.

1st August 2015

European Lynx

Ocelot on the prowl

Madagascar Hopping Rats

Squirrel Monkey watching us

Beaded Lizard

Red-tailed racer

Otter standing up like a cute little thing

Sleepy Rhea

Captain Owl-merica

Why is it in spy films, when they receive a phone call, they sometimes get asked to “go secure”? Why not just encrypt all calls by default?

31st July 2015

Installing Ubuntu server. Crazy Friday night, I know.