MEMO 一下 Debian testing 上面的 Node 安裝
實在進步太快了,裝 pre compiled 的套件沒有感覺
sudo apt-get install build-essential python-software-properties libssl-dev libreadline-dev git-core curl libcurl4-openssl-dev
記一下 libcurl4-openssl-dev # 只是目前 debian testing 上面依存的套件
git clone https://github.com/joyent/node.git
cd node
git checkout v0.6.6 # 目前最新的 release tag
./configure
make
sudo make install
發展快速,社群活躍,最重要就像的第四台老師有說得 Location, Location, Location
Node.js 是 Open, Open, Open (community, community, community, 內建的 npm 套件管理, 這一點夠方便吧)
想要變高,變帥,變聰明前,不要忘了,上場前,把 node.js 的傢伙戴上
http://www.webresourcesdepot.com/the-awesome-node-js-and-its-gang/
https://github.com/joyent/node/wiki/modules
參考
http://fred-zone.blogspot.com/2011/12/debian-nodejs-express.html
http://www.freshblurbs.com/install-node-js-and-express-js-nginx-debian-lenny
八卦一下,我的 VPS RAM 太小,本來是要說 Get your JVM,不過看起來,這一隻怪獸,還是要找多一點 RAM 的主機,才願意開始幹活
terry@atomvm:/node$ java -version/node$ node -v
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
terry@atomvm:
v0.6.6