Month: May 2012

Run NodeJS with non-root / user permission using Runit in Ubuntu 12.04 Precise

Run NodeJS with non-root / user permission using Runit in Ubuntu 12.04 Precise

After leaving NodeJS about 6 month, I still hard to find articles who explain how to running NodeJS services in production mode. This is mean, running NodeJS services by user permission (not by root) and can automatically restart if crashed. Well, this is not only for NodeJS cases, but you can also implement this solution …

+ Read More

How to install and uninstall sphinx search from source in Ubuntu

How to install and uninstall sphinx search from source in Ubuntu

Instead using synaptic and install sphinxsearch deb package, we also can use the source. First, you should download source package from the sphinxsearch website http://sphinxsearch.com/downloads/. At this example, I use sphinx-2.0.4-release.tar.gz. I use Ubuntu 12.04 Precise. Then you can extract it and start compiling. Here are the steps to do : 123456sudo apt-get install build-essential …

+ Read More