How to set a Static IP in Ubuntu – Ubuntu Network Confirguration

Setting a static IP in Ubuntu is useful for a lot of things. You may want to forward ports from your router to serve web pages, use SSH from outside your local network or set up some sort of media server.

These instructions have been tested and confirmed with Ubuntu 16.04 LTS and Ubuntu 14.04 LTS but should be fine on other versions.

How to Change the UUID of a Linux Partition

Duplicated UUID’s can be a big problem on your machine. But luckily it is easy to change the UUID of a Linux partition and can be done in roughly 1-2 minutes!

The UUID of a Linux partition is the Universally Unique IDentifier of that partition. I would say with a fair bit of confidence that in this and most scenarios, the Linux partition UUID has more of a local machine scope.

Faster DNS Servers….

DNS Servers are like phone books, they translate the the readable name of www.google.com to the IP of 173.194.41.131. In short, the quicker your DNS servers, the quicker the initial lookup/connection to the website…. check out namebench to find the fastest DNS servers for you!

How to a Set Static IP in Ubuntu – Graphically

Some recent changes to Ubuntu have changed the way we set a static IP in Ubuntu 12.04 and 12.10. Previously we could change the /etc/resolv.conf file adding in our static IP details. But due to some internal changes I’m finding it more stable to make changes in the graphical interface…. nm-connection-editor, as these new changes are overwriting the file with some generated content.

UPDATE: I have written some instructions on how to set a static IP in a more ‘Linux’ fashion. Check them out here (for wired connections only)

Remove Scrollbars From any Div with CSS

Recently I’m seeing quite a few people asking how to remove scrollbars from their page, both vertical and horizontal scrollbars. What I’m going to explain isn’t just for removing scrollbars but can also be used to make them appear permanently.

Install MySQL 5.5 From Source (Load Data Local Infile Issues?)

Why?…. LOAD DATA LOCAL INFILE?

I recently updated my home machine to Ubuntu 12.04 and found MySQL 5.5 installed as default. As happy as I was to have the latest stable MySQL server, I was a bit gutted to find that LOAD DATA LOCAL was disabled as default, due to security issues. These issues may be valid but this is my local environment and I’ve got projects that require it so thought I’d waste utilize some free time fixing it.