ubuntu install node.js socket.io
2012-11-19 15:29
579 查看
https://github.com/joyent/node
http://www.shaunambrose.com/2011/10/28/how-to-setup-node-js-npm-and-coffeescript-on-ubuntu/
apt-get update
101 apt-get install git-core curl build-essential openssl libssl-dev
102 which python
104 git clone https://github.com/joyent/node.git https://github.com/joyent/node/wiki/Troubleshooting-installation
returns this error:
got this working instead with
110 cd node/
112 vi configure
113 ./configure
114 make
121 make install
123 npm install -g coffee-script
124 coffee -v
npm install express
npm install
socket.io@0.8.7
npm install socket.io-client@0.8.7
??warn - client not handshaken client should reconnect !!!@0.8.7
install redis: npm
install hiredis redis
??install redis node-waf: Command not found
apt-get install nodejs-dev
wget http://nodejs.org/dist/v0.8.14/node-v0.8.14.tar.gz
36 ls
37 tar -xzf node-v0.8.14.tar.gz
38 ls
39 cd node-v0.8.14/
40 ls
41 cat README.md
42 ./configure
43 make
44 make install
45 ls
46 ls /usr/local/
47 ll /usr/local/
48 ll /usr/local
49 ls
50 ls -l /usr/local/
51 ls -l /usr/local
52 man chmod
53 ls
54 sudo -i
55 ls
56* make install
57 npm install express
58 npm instlal coffee-script
59 npm install coffee-script
60 ..
61 cd ..
62 coffee -v
63 cd node-v0.8.14/
64 cd ..
65 node
66 cd node-v0.8.14/
67 ls
68 cd node_modules/
69 ls
70 npm uninstall coffee-script
71 npm install -g coffee-script
72 cd ..
73 coffee
74 cd node_modules/
75 ls
76 npm install coffee-script socket.io socket.io-client hiredis redis async express
77 npm install async
78 cd ..
79 coffee
80 cd ..
81 coffee
82 vi /home/test/.bashrc
83 coffee
84 ls
85 cd node-v0.8.14/
86 ls
87 npm install msgpack
88 cd ..
89 yum
90 wget http://fastdl.mongodb.org/linux/mongodb-linux-i686-1.8.1.tgz
91 wget http://fastdl.mongodb.org/linux/mongodb-linux-i686-2.2.1.tgz
92 ls
http://www.shaunambrose.com/2011/10/28/how-to-setup-node-js-npm-and-coffeescript-on-ubuntu/
apt-get update
101 apt-get install git-core curl build-essential openssl libssl-dev
102 which python
104 git clone https://github.com/joyent/node.git https://github.com/joyent/node/wiki/Troubleshooting-installation
returns this error:
fatal: https://github.com/joyent/node.git/info/refs download error - The requested URL returned error: 403
got this working instead with
git clone --depth 1 git://github.com/joyent/node.git
110 cd node/
112 vi configure
113 ./configure
114 make
121 make install
123 npm install -g coffee-script
124 coffee -v
npm install express
npm install
socket.io@0.8.7
npm install socket.io-client@0.8.7
??warn - client not handshaken client should reconnect !!!@0.8.7
install redis: npm
install hiredis redis
??install redis node-waf: Command not found
apt-get install nodejs-dev
wget http://nodejs.org/dist/v0.8.14/node-v0.8.14.tar.gz
36 ls
37 tar -xzf node-v0.8.14.tar.gz
38 ls
39 cd node-v0.8.14/
40 ls
41 cat README.md
42 ./configure
43 make
44 make install
45 ls
46 ls /usr/local/
47 ll /usr/local/
48 ll /usr/local
49 ls
50 ls -l /usr/local/
51 ls -l /usr/local
52 man chmod
53 ls
54 sudo -i
55 ls
56* make install
57 npm install express
58 npm instlal coffee-script
59 npm install coffee-script
60 ..
61 cd ..
62 coffee -v
63 cd node-v0.8.14/
64 cd ..
65 node
66 cd node-v0.8.14/
67 ls
68 cd node_modules/
69 ls
70 npm uninstall coffee-script
71 npm install -g coffee-script
72 cd ..
73 coffee
74 cd node_modules/
75 ls
76 npm install coffee-script socket.io socket.io-client hiredis redis async express
77 npm install async
78 cd ..
79 coffee
80 cd ..
81 coffee
82 vi /home/test/.bashrc
83 coffee
84 ls
85 cd node-v0.8.14/
86 ls
87 npm install msgpack
88 cd ..
89 yum
90 wget http://fastdl.mongodb.org/linux/mongodb-linux-i686-1.8.1.tgz
91 wget http://fastdl.mongodb.org/linux/mongodb-linux-i686-2.2.1.tgz
92 ls
相关文章推荐
- node.js安装socket.io总是报错“ws@0.5.0 install"
- 使用git管理nodejs+socket.io+redis+juicer+waterfall+ubuntu+aws ec2开发网站
- 使用git管理nodejs+socket.io+redis+juicer+waterfall+ubuntu+aws ec2开发网站
- node.js和socket.io实现im
- node.js中的socket.io的广播消息
- socket.io与node.js api 调用示例
- 基于Node.js+socket.IO创建的Web聊天室
- 使用Node.js+Socket.IO搭建WebSocket实时应用
- Node.js项目实战-构建可扩展的Web应用(第一版):9 WebSocket,Socket.IO和DerbyJS的实时应用程序
- nodejs+socket.io实现websocket通信初探
- (转)使用Node.js+Socket.IO搭建WebSocket实时应用
- node.js之socket.io编程
- socket.io node.js mysql
- node.js中的socket.io入门实例
- node.js中Socket.IO的进阶使用技巧
- 使用Node.js+Socket.IO搭建WebSocket实时应用
- Popush系统架构学习体会(0)—Node.js+Socket.io+Backbone.js
- [Node.js]29. Level 6: Socket.io: Setting up Socket.io server-side & Client socket.io setup
- 使用node.js + socket.io + redis实现基本的聊天室场景
- Node.js 基于socket.io聊天室的BUG解决经过