Qua locus

Keeping both eyes on the long game.

Posts Tagged ‘bash

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 »

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 , , ,