Minggu, 19 Februari 2012

How To Configure Proxy Server for Ubuntu Software Center



Ubuntu Software Center doesn't have configuration options for proxy server like Synaptic Package Manager. In Synaptic, you can set server URL, port number, username, and password. Such configuration makes Synaptic can enter directly to proxy server with authentication so Synaptic can be connected via that proxy server. But it is different with Ubuntu Software Center (USC). USC hasn't graphical configuration like Synaptic so we must set proxy server configuration in Ubuntu Global Network Proxy then click Apply System Wide. But that way will never success because Global Proxy Settings doesn't have place to set username and password. Now, how to enter proxy server configuration completely with right authentication so USC can connect to internet behind a proxy server? This is the steps.


1. Open Terminal (Ctrl+Alt+T)
2. Change directory to /etc/apt/apt.conf.d/ with command: cd /etc/apt/apt.conf.d/
3. Make a file there named 01proxy with command: sudo gedit 01proxy.
4. Check the existence of 01proxy with command: ls. If there, then a name 01proxy will appear in display. If not, repeat step 3.
5. Edit content of 01proxy with command: sudo gedit 01proxy.
6. Fill it with a row of this words:
Acquire::http::proxy "http://username:password@proxyserver:port/";
with note: username is your proxy username, password is your password, proxyserver is yuor proxy URL or it's ip number, port is port number to access the proxy (if you don't know, please confirm to your proxy administrator). Example:
Acquire::http::proxy "http://malsasa:traumalin89@proxyserver.server.net:443/";
7. Save (Ctrl+S).

Now you can try to install a program. You can start with installing Stardict, a simple but great dictionary. 





Leave a Reply

 
 

Followers