Linux Server Configuration Agent

Source: Internet
Author: User
Tags ftp protocol


When the local area network needs to configure the agent, Windows can be configured through a browser, but Linux needs to modify the configuration file to achieve


Apply to global user, modify environment variable/etc/profile file, modify as follows:

# Vi/etc/profile

Add the following in this configuration file:

Http_proxy=http://username:[email protected]:8080https_proxy= $http _proxyftp_proxy=http://username:[email Protected]:8080no_proxy=*.cmcc;10.10.*export http_proxy Https_proxy Ftp_proxy

After modifying the configuration file for the environment variable, execute the following command to have the configuration file take effect:

Source/etc/profile


Description

Http_proxy # # HTTP protocol using Proxy server address

Https_proxy # # HTTPS protocol using secure proxy address

Ftp_proxy # # FTP protocol using Proxy server address

Username # # User name used by proxy

PASSWD # # Agent uses the password of the user name

Proxy.xxx.com # # Proxy address, can be IP, can also be a domain name

8080 # # The port used by the agent;

No_proxy # # Hosts or IPs that do not use proxies

Export # # Load variables

This article from "Shiyu" blog, reproduced please contact the author!

Linux Server Configuration Agent

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.