This tutorial is based on the Fzaninoto Uptime and maybe some people want to do an easy and fast way to use it, but they will face a problem if they don’t have the required packages.
So, here is the tutorial for it, and all of this is run under my Debian 6 32bit OpenVZ VPS from prometeus.
Installing Node.js
1 2 3 4 5 6 7 8 9 10 11 |
This tutorial is based from : https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager # apt-get update && apt-get upgrade # apt-get install python g++ make git-core curl build-essential openssl libssl-dev libyaml-perl libjson-any-perl # mkdir ~/nodejs && cd $_ # wget -N http://nodejs.org/dist/node-latest.tar.gz # tar xzvf node-latest.tar.gz && cd `ls -rd node-v*` # ./configure # make install To check if you have completed the installation, type : # node -v |
* Please also note that it would take some time to complete the installation
Installing Uptime and NPM dependencies :
1 2 3 4 5 |
# git clone git://github.com/fzaninotto/uptime.git # cd uptime # npm install # npm install config # npm install uglify-js |