In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
When a local area network needs to configure a proxy, windows can be configured through a browser, but linux needs to be implemented by modifying the configuration file
Apply to the global user and modify the environment variable / etc/profile file as follows:
# vi / etc/profile
Add the following to this configuration file:
Http_proxy= http://username:passwd@proxy.xxx.com:8080https_proxy=$http_proxyftp_proxy=http://username:passwd@proxy.xxx.com:8080no_proxy=*.cmcc;10.10.*export http_proxy https_proxy ftp_proxy
After modifying the configuration file of the environment variable, execute the following command to make the configuration file take effect:
Source / etc/profile
Description:
Http_proxy # # http protocol uses proxy server address
Https_proxy # # https protocol uses secure proxy address
Ftp_proxy # # ftp protocol uses proxy server address
Username # # user name used by the agent
Passwd # # the agent uses the password of the user name
Proxy.xxx.com # # proxy address, which can be IP or domain name
8080 # # Port used by the agent
No_proxy # # hosts or IP that do not use proxies
Export # # load variables
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.