Difference between revisions of "Setting up internet access"
Line 5: | Line 5: | ||
#In the directory <span style="font-family:courier new,courier,monospace;">/etc/apt/apt.conf.d/ </span> create the file<span style="font-family:courier new,courier,monospace;">10proxy</span> | #In the directory <span style="font-family:courier new,courier,monospace;">/etc/apt/apt.conf.d/ </span> create the file<span style="font-family:courier new,courier,monospace;">10proxy</span> | ||
− | <code> | + | <code> cd /etc/apt/apt.conf.d/</code> |
− | cd /etc/apt/apt.conf.d/ | ||
− | sudo nano 10proxy | + | <code> sudo nano 10proxy</code> |
− | </code> | + | |
+ | <code></code><code> 2. In this file add the line </code> | ||
+ | |||
+ | <code> Acquire::http::Proxy "http://username:password@proxy_address:port";</code> | ||
+ | |||
+ | <code> 3. Save the file and exit- Type Ctrl-X and type Y when asked whether to save changes</code> | ||
+ | |||
+ | <code> 4. In the terminal type</code> | ||
+ | |||
+ | <code></code> | ||
+ | |||
+ | <code></code> | ||
+ | |||
+ | <code></code> | ||
+ | |||
+ | <code></code> |
Revision as of 11:04, 29 April 2015
Setting up internet proxy
If you need to access the internet via a proxy as is the case in several universities we must follow the following steps
- In the directory /etc/apt/apt.conf.d/ create the file10proxy
cd /etc/apt/apt.conf.d/
sudo nano 10proxy
2. In this file add the line
Acquire::http::Proxy "http://username:password@proxy_address:port";
3. Save the file and exit- Type Ctrl-X and type Y when asked whether to save changes
4. In the terminal type