Setting up a TurnKey Linux core VM for Nodejs (the way I like it)
There's a lot to like about TurnKey Linux packages. They're a damn easy way to set up a dev application server. I've used the Rails and PostgreSQL versions already for projects and there are over 45 version to chose from. [http://www.turnkeylinux.org/] This time I want to test an idea with Nodejs which means I have to roll my own. I grabbed the "core" version and went from there. I needed to add build tools and, I don't like to to do everything as root so I added a user with sudo powers... Add a user account for yourself and then, as root... apt-get update apt-get install build-essential apt-get install sudo vi /etc/sudoers you know the drill, add the user... Then, as a user, grab the latest nodejs package: git clone https://github.com/joyent/node.git if you want the bleeding edge, or download a stable version from github. Than... ./configure make sudo make install make test Have fun. [/items/Ubuntu] permanent link