Monday, 9 December 2013

How to remove proxy from the linux terminal

As linux has become one of the major platforms in the computer systems. But it is still far from being perfect like windows or mac. It works, but sometimes it just don't. But it is still the best when it comes to Character User Interface(CUI). Sure, Windows and Mac also provide terminal, but they are simply not as developed as of ubuntu or any linux.

Since its launch it has come a long way down the road. But still today, it not the perfect or simplest platform to work, its graphical interface still face lot of problems. One if its problem is changing the proxy.

When proxy is changed from the network settings , from the settings applications, sometimes it doesn't apply to linux terminal or even the browser. No matter how many times system proxy is changed or restarted it just doesn't work. Method to change the proxy through is simple and it always works, all you have to do is follow following steps.

1.  Firstly you have to gain the root access of the system. You can achieve that by su command or sudo su, and then entering your user password if you have never done it before.

2. #cd /etc/apt

3. There will be a file located named "apt.conf"

4. Open the file by #nano apt.conf

5. In this you file all your proxy for various http, https, ftp connections proxy would be mentioned.

6. Change the proxy, to your desired configuration.

7. Save the file and now your new settings will be implimented to the entire system.

Hope it helped, if still any problem occurs, feel free to contact me.

No comments:

Post a Comment