Linux terminal proxy settings-Linux Enterprise Application-Linux server application information, the following is a detailed description. We know that Linux in the LAN usually needs to use a proxy when the terminal is connected to an external network.
If the proxy server on the campus network is 192.168.0.1: 3128, set proxy settings on the terminal.
Add
//----------------------
Http_proxy = 192.168.0.1: 3128
Ftp_proxy = 192.168.5.1: 3128
Export http_proxy
Export ftp_proxy
//----------------------
Then execute
Source. bash_profile
Check whether the setting is successful.
[Root @ localhost ~] # Echo $ http_proxy
IP address 192.168.0.1: 3128
[Root @ localhost ~] #
Test whether the download is successful. Use wget to test the download tool.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.