0

I was following this guide to install Redmine on my server: http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Ubuntu

it written there:

Run the following commands to export your proxy settings for both http (port 80) and https (port 443):

export http_proxy="http://proxy.your.server:port" 
export https_proxy="http:proxy.your.server:port"

so i did... and now i can't install things, for example :

Failed to fetch http://il.archive.ubuntu.com/ubuntu/pool/universe/g/gems/gems_1.1.1-1_amd64.deb  404  Not Found

But if i insert the url address to my browser - i do get the file. Not sure there is connection between the two things.
I would like to know what was my http_proxy before i changed it.

Eric Carvalho
  • 55,453

1 Answers1

0

http_proxy and https_proxy are, by default, blank. You can run unset http_proxy https_proxy to undo your actions.

You should only set a proxy if your PC is actually behind a proxy. If it is, you would already know the proxy details (the hostname and port, and username and password if applicable), and you would therefore replace http://proxy.your.server:port with the appropriate details.

Since you can access the internet through your browser without configuring a proxy, I think you probably aren't behind one. Therefore, you can just unset the variables as described initially and proceed with the rest of the tutorial.

Note that web proxies are common in corporate environments, but it's very uncommon for people to configure proxies in their own homes, and hosted servers won't sit behind web proxies. Proxies are normally used to control access to certain categories of websites (e.g. social media or webmail), or to add a local caching layer, or for malware filtering.