Skip to content

Instantly share code, notes, and snippets.

@benatkin
Created December 11, 2009 09:26
Show Gist options
  • Save benatkin/254107 to your computer and use it in GitHub Desktop.
Save benatkin/254107 to your computer and use it in GitHub Desktop.
How I installed and ran node.js on Ubuntu Karmic Koala Desktop 64-bit:
1. $ sudo aptitude install scons
2. $ sudo aptitude install build-essential
3. Downloaded the node.js tarball from here (also tried the git repo - both worked!)
http://nodejs.org/#download
4. untar'ed it
5. changed to the directory
6. $ ./configure --prefix=/usr/local
7. $ make
8. $ sudo make install
9. ran node-repl and
10. changed to an empty directory
11. $ git clone git://github.com/alexanderte/websocket-server-node.js.git
12. $ cd websocket-server-node.js
(weird name for a directory)
13. $ node server.js
(left it running)
14. Installed Google Chrome for Linux beta
15. opened echo-client.html in Chrome for Linux Beta and Firefox 3.5. Works in Chrome, but not in Firefox (as expected).
How I installed and ran node.js on Snow Leopard:
1. Downloaded the node.js tarball from here (also tried the git repo - both worked!)
http://nodejs.org/#download
2. untar'ed it
3. changed to the directory
4. $ ./configure --prefix=/usr/local
5. $ make
6. $ sudo make install
7. ran node-repl and
8. changed to an empty directory
9. $ git clone git://github.com/alexanderte/websocket-server-node.js.git
10. $ cd websocket-server-node.js
(weird name for a directory)
12. $ node server.js
(left it running)
13. opened echo-client.html in Chrome for Mac Beta and Firefox 3.5. Works in Chrome, but not in Firefox (as expected).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment