Ubuntu Suddenly Lost All Network Connectivity

One morning I switched my work laptop on, running Ubuntu 14.04, and found that I had completely lost all network connectivity. No ethernet LAN nor Wi-Fi connection, and no Gnome network manager icon. It turned out to be one of those peculiar things that seem to “just happen” from time-to-time in the Linux world. Read …

Continue reading ‘Ubuntu Suddenly Lost All Network Connectivity’ »

Configuring A General-Purpose Ubuntu 14.04 Server

Over the years I’ve used many different hosting solutions. From shared hosting, a dedicated server, to several VPSes. These all came with a graphical control panel, most often Plesk, from which the server could be administered. The downside was the cost of the licence. So a little while ago I took the plunge and purchased …

Continue reading ‘Configuring A General-Purpose Ubuntu 14.04 Server’ »

Use grep And sed To Search And Replace Text, But Beware Git

I recently needed to search and replace some text in a large number of PHP scripts. Back in my Windows days I had a lightweight freeware programme that was perfect for the job. But what to do on Linux? The answer was to combine grep and sed. But don’t forget to watch out for Git!

Taking SSH Off Port 22

It’s arguably a good idea to move your SSH listener off port 22. This is a quick and easy way to reduce hacking attempts and one of the first things you can do to further secure your server.

Installing Node.js v.4 with APT on Ubuntu 14.04

Node.js is an increasingly-popular JavaScript runtime that can be used to build server-side applications. Installing Node on Ububtu 14.04 via APT isn’t quite as straightforward as it could be, as the version in the default repositories is 0.10.25, dating back to early 2014.

Not Enough Free Disk Space for Ubuntu Software Updater

After using Ubuntu 14.04 for a little while I got a worrying message from the Software Updater saying “Not enough disk space. The upgrade needs a total of x M free on disk ‘/boot’. Please free at least an additional xxx k of disk space on ‘/boot’. Empty your trash and remove temporary packages of …

Continue reading ‘Not Enough Free Disk Space for Ubuntu Software Updater’ »

Apache JavaScript Directory Inaccessible

Shortly after setting up a fresh installation of Apache, I uploaded a website, only to find that none of the JavaScript was loading. It turns out that Apache helpfully provides you with a common JavaScript directory but if you’re not using it you may need to turn it off.

Moving from Outlook Express to Thunderbird

I found that moving from a Windows box using Outlook Express for email, to an Ubuntu box using Thunderbird was a little tricky. The export/import features took a bit of figuring out due to having multiple identities set up in Outlook Express.