Sunday 6 March 2011

Proxy setting on Ubuntu 10.10 at Doshisha University.

This is a reminder for proxy setting on Ubuntu 10.10 at Doshisha University.This is a reminder for proxy setting on Ubuntu 10.10 at Doshisha University.
Because there is a fatal bug in Ubunbu 10.10, network proxy would be invalid after the first update.
In that case, proxy should be configured by yourself.

1. edit /etc/bash.bashrc. Add to following lines at the end of file :
export http_proxy=http://username:password@proxy.doshisha.ac.jp:8080/
export ftp_proxy=http://username:password@proxy.doshisha.ac.jp:8080/


2. edit, or create new file /etc/apt/apt.conf :

Acquire::http::proxy "http://username:password@proxy.doshisha.ac.jp:8080/";
Acquire::ftp::proxy "ftp://username:password@proxy.doshisha.ac.jp:8080/";
Acquire::https::proxy "https://username:password@proxy.doshisha.ac.jp:8080/";


* To set up above configuration on text editor(gedit), type following command on terminal screen;
sudo gedit /etc/apt/apt.conf
sudo gedit ~/.bashrc

3. Access "Network Proxy" tool and configure your proxy settings.
System -> Preferences -> Network Proxy


Following article would be helpful;
http://ubuntuforums.org/archive/index.php/t-83401

* Note that login do-net is always required when you start new session,
or you can't connect to Internet service includes Ubuntu Software Center and Update Manager.