torstai 29. syyskuuta 2011

Speed up STS / Eclipse updates by using a mirror for download.eclipse.org

download.eclipse.org is down currently.

With these instructions you will be able to use one of these mirrors instead:


  • http://eclipse.mirror.kangaroot.net/releases/indigo/ - [Belgium] Kangaroot Linux Solutions (http)

  • http://eclipse.ialto.com/releases/indigo/ - [France] Ialto (http)

  • http://eclipse.stu.edu.tw/releases/indigo/ - [Taiwan] Computer Center, Shu-Te University (http)

  • http://eclipse.c3sl.ufpr.br/releases/indigo/ - [Brazil] C3SL - Federal University of Parana (http)





These instructions are for Ubuntu Linux:



execute:

sudo apt-get install apache2
sudo a2enmod proxy proxy_http


Add file /etc/apache2/sites-available/eclipse-proxy

sudo nano /etc/apache2/sites-available/eclipse-proxy


Text for file


<VirtualHost *:80>
ServerName download.eclipse.org
<Proxy *>
AddDefaultCharset off
Order allow,deny
Allow from all
</Proxy>
ProxyRequests Off
ProxyPass / http://eclipse.mirror.kangaroot.net/
ProxyPassReverse / http://eclipse.mirror.kangaroot.net/
</VirtualHost>



execute:

sudo a2ensite eclipse-proxy
sudo /etc/init.d/apache2 restart


Add this line to /etc/hosts :

127.0.0.200 download.eclipse.org


Comment that line out if you want to disable the proxy.

Ei kommentteja:

Lähetä kommentti