The Internet proxy is required in the company, and Ubuntu is so lazy:
1. Firefox proxy for Internet access
Click Edit> preferences> advanced> network> Settings to enter the IP address of the proxy server.
2. synapitc Package Manager was created
This is the most commonly used method for installing software in Ubuntu. If he cannot use it, it will take a long time to install the software. However, it is easy to set it up, just set it in settings-> preferences, similar to the root Firefox.
3. Other proxy settings
1. temporarily use apt-Get through HTTP Proxy
Before using apt-Get, enter the following command in the terminal (replace yourproxyaddress and proxyport according to your actual situation ).
Export http_proxy = http: // yourproxyaddress: proxyport
Cancel proxy use
Export http_proxy = ""
2. Set apt-get to permanently use HTTP Proxy
Sudo gedit/etc/APT/apt. conf Add the following line to your apt. conf file (replace yourproxyaddress and proxyport according to your actual situation ).
Acquire: http: proxy "http: // yourproxyaddress: proxyport ";
Save the apt. conf file.
3. Set Global Proxy for Internet access (APT-Get, wget, etc)
Gedit ~ /. Bashrc Add the following content at the end of your. bashrc file (replace according to your actual situation)
Yourproxyaddress and proxyport ).
Export http_proxy = "http: // yourproxyaddress: proxyport"
Save the file and restart the terminal.
After the above settings, your Ubuntu will be OK!