In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how CentOS uses commands to set up agents. It is very detailed and has certain reference value. Friends who are interested must finish reading it.
Set up the global proxy as follows:
1. Set the relevant environment variables in the profile file
# vi / etc/profile
Http_proxy= http://192.168.20.20:3128 # specifies the address of the proxy server used by the http, https, and ftp protocols respectively
Export http_proxy
2. Source / etc/profile shall take effect.
After the modification is completed, log out and log in again.
For the proxy for yum, also set up the / etc/yum.conf file and add the following code:
Proxy= http://username:password@yourproxy:8080/
# if there is no password restriction, it is as follows
# proxy= http://yourproxy:8080/
In this way, the operation of the yum will go through the agent.
The above is all the contents of the article "how to use CentOS commands to set up agents". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.