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 would like some recommendations for setting up the proxy server settings for Xubuntu 11.10.

I tried searching on Google and I got 2 common results that made use of command line stating that I should put these texts:

export http_proxy="http://server:portnumber"
export https_proxy="http://server:portnumber"
export ftp_proxy="http://server:portnumber"
export HTTP_PROXY="http://server:portnumber"
export HTTPS_PROXY="http://server:portnumber"
export FTP_PROXY="http://server:portnumber"

on...

1) .bashrc file
2) /etc/environment

...therefore, what/where's the best way to put the codes then? Is the .bashrc file a user config or a system-wide config?

Lastly, can a GUI be installed to make such reconfiguration easier for students? I'm actually teaching them how to use Xubuntu (because Ubuntu's having a hard time with our workstations).

Thanks!

share|improve this question
add comment

1 Answer

As far i know, you only need the first 3 lines:

 export http_proxy="http://server:portnumber"
 export https_proxy="http://server:portnumber"
 export ftp_proxy="http://server:portnumber"

.bashrc is a file in your home directory (~/.bashrc) that contains user specific configuration. You'll use it to configure the proxy for only one user.

If you want the configuration to apply system wide (to all users), put the code in /etc/environment. Note that this requires root access.

Unfortunately, i don't know of any GUI that can be used in xubuntu.

Note: these could also read:

  export http_proxy="http://username:password@192.168.1.2:8080" 
  export https_proxy="http://username:password@192.168.1.2:8080" 
  export ftp_proxy="http://username:password@192.168.1.2:8080" 

in case you need to add the username and password to the proxy server address.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.