Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to set a proxy server for using Firefox in Ubuntu 11.10. First I tried to simply set the proxy manually in Firefox, but didn't work. Then, I have tried the methods described at the bottom of this page under "Setting up apt-get to use a http-proxy" https://help.ubuntu.com/community/AptGet/Howto

I am new to Ubuntu, and searched and read many pages about how it works, but can't seem to find the solution to this.

-- Temporary proxy session method -- Would be just fine for me as long as I can easily repeat it every time I boot Ubuntu, but didn't work. I am guessing the reason is this part:

"If you normally use sudo to run apt-get you will need to login as root first for this to work unless you also add some explicit environment settings to /etc/sudoers, etc."

-- APT configuration file method -- As I understand the "/etc/apt/ directory" is under the root, to which I don't have access.

The "gksudo gedit /etc/apt/apt.conf" command, as suggested on the page, created an apt.conf file for me, but realized that I couldn't save it under the root.

-- Bash rc method -- Couldn't even get the .bashrc file

Am I reading the instructions wrong? It seems to me that I need root access to either of the first two methods I created a user account as administrator which I believe should provide root privileges, but could not find a way to enable it, so couldn't perform the above.

What is the solution to this? Or does this have anything to do with the fact that I am using a USB bootable Ubuntu?

(Note: can't upgrade to higher version of Ubuntu at the moment, as those require pae tag in the kernel, and my current computer doesn't have that)

Thanks to all who can help me with this.

share|improve this question
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.