I'm trying to install Node.js on an Nginx+Passenger+Ruby server running the following steps as user 'deploy':
wget http://nodejs.org/dist/v0.10.26/node-v0.10.26.tar.gz tar zxvf node-v0.10.26.tar.gz cd node-v0.10.26 sudo ./configure && make && make install
Everything goes fine until it gets to the final make step and ends with this error:
IOError: [Errno 13] Permission denied: '/usr/local/bin/node' make: *** [install] Error 1
What permissions need to be set on that dir for node to be able to install correctly?