# workon myenv# cd virtualenv### prefix is required both for compilation and for npm:# export PREFIX=$(pwd)# export NODEVER=0.10.18## wget http://nodejs.org/dist/v${NODEVER}/node-v${NODEVER}.tar.gz# tar -zxf node-v${NODEVER}.tar.gz# cd node-v${NODEVER}# ./configure --prefix=$PREFIX# make && make install## cd ..# rm -rf node-v${NODEVER}# rm node-v${NODEVER}.tar.gz### next, install necessary packages with npm -g:# npm install -g coffee-script### to refresh shell command cache use hash -rfrom https://gist.github.com/max-arnold/6623465
ppt.cc/fVjECx ppt.cc/fEnHsx ppt.cc/fRZTnx ppt.cc/fSZ3cx ppt.cc/fLOuCx ppt.cc/fE9Nux ppt.cc/fL5Kyx ppt.cc/fIr1ax ppt.cc/f71Yqx tecmint.com linuxcool.com linux.die.net linux.it.net.cn ostechnix.com unix.com ubuntugeek.com runoob.com man.linuxde.net bit.ly/2EzoUDo bit.ly/2tW6eYT bit.ly/2X6vadl bit.ly/2viLpHU linuxprobe.com linuxtechi.com howtoforge.com linuxstory.org systutorials.com ghacks.net linuxopsys.com v.gd/2P9wTx v.gd/FtfpqE v.gd/eMfHsm v.gd/Ub7mqv v.gd/RReVk0 v.gd/vS3uTI v.gd/4Zxmba
Total Pageviews
Wednesday, 1 January 2014
安装nodejs到virtualenv中
Labels:
nodejs