Qua locus

Keeping both eyes on the long game.

Posts Tagged ‘linux

How I installed monit as an upstart service

This blog has been split in three and all content moved to the new blogs – Qua Locus LifeQua Locus Tech and Qua Locus Puzzle – comments are disabled here.

Upstart is Ubuntu’s replacement for /sbin/init, and Monit is a great little monitoring service that lets you do intelligent things when errors occur and servers fall over. But for some reason Monit is still installed as a System V init daemon. So I switched it over to use Upstart.

Read the rest of this entry »

Advertisements

Written by CGF

April 22, 02014 at 21:33

Posted in Tech

Tagged with , ,

How I installed NVM and Node.JS globally

This blog has been split in three and all content moved to the new blogs – Qua Locus LifeQua Locus Tech and Qua Locus Puzzle – comments are disabled here.

Node.JS is a great little server and it’s also very easy to install and set up. In the same fashion, NVM is a fantastic tool for installing and switching from one installed version of Node to another. The problem arises when you develop as one user but the deployed application needs to be run as a different user and you need to guarantee that the Node configurations they are using are identical. How do you use NVM to install node globally for all users?

node

Read the rest of this entry »

Written by CGF

April 19, 02014 at 11:19

Posted in Tech

Tagged with , , ,

Improving my laptop’s battery life: Dell Inspiron 14z, Ubuntu 12.04

This blog has been split in three and all content moved to the new blogs – Qua Locus LifeQua Locus Tech and Qua Locus Puzzle – comments are disabled here.

The Dell Inspiron 14z is meant to have 4-5 hours battery life out of the box. Suffice to say that this wasn’t the case when I first put Ubuntu 12.04 (Precise Pangolin) on it. Two hours if I was lucky, more often 90 minutes or less.

With the help of many others on AskUbuntu.com I’ve got it up well beyond 4 hours now though. The detail and a summary of everything I did is here, hopefully this will be useful to others!

Written by CGF

June 25, 02013 at 22:56

Posted in Tech

Tagged with , , , ,