So I change tw.archive.ubuntu.com to us.archive.ubuntu.com
~$ sudo gedit /etc/apt/sources.list
~$ sudo gedit /etc/apt/sources.list
# Reverse Proxy ProxyRequests Off <Proxy *> Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 Allow from 1.2.3.0/23 </Proxy> ProxyPass /chat/ http://mydomain.com:1234/ ProxyHTMLURLMap http://mydomain.com:1234 /chat/ <Location /msg/> ProxyPassReverse / # ProxyHTMLEnable if mod_proxy_html version >= 3.1 else SetOutputFilter # ProxyHTMLEnable On SetOutputFilter proxy-html ProxyHTMLURLMap / /chat/ # RequestHeader unset Accept-Encoding </Location>
var http = require('http'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}); res.end('Hello World\n'); }).listen(8888, "127.0.0.1"); console.log('Server running at http://127.0.0.1:8888/');
~$ node HelloWorld.js
$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.10 Release: 10.10 Codename: maverick