Versioner sammenlignet

Nøgle

  • Linjen blev tilføjet.
  • Denne linje blev fjernet.
  • Formatering blev ændret.

...

Kodeblok
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install libssl-dev redis-server libexpat1-dev
sudo apt-get install nodejs
sudo apt-get install npm
sudo apt-get install git-core
Tip

On older OS'es (on Ubunto Ubuntu 10.04 LTS, newest version is v0.6.x - so compile nodejs Youself:

Kodeblok
mkdir source
cd source
git clone https://github.com/joyent/node.git
cd node
git checkout v0.10.25
 
(The message about the “detached HEAD” is ok to ignore. The message is explaining that you have the master pointer pointing to a commit in the middle of the history)

./configure
make && sudo make install

...