Set proxy in Linux

Source: Internet
Author: User

Linux setting proxy Linux system setting yum, wget, rpm command using Proxy: 1. using yum with a proxyserver --------------------------------------- To enable yum operations to use aproxy server you shocould first add the following parameter to/etc/yum. conf proxy = http: // yourproxy: 8080/where yourproxy is the name of the proxy server you want to access and 8080 isthe proxy port. if the server requires authentication you can specify the logi Ncredentials like: proxy = http: // username: password @ yourproxy: 8080/------------------------------------------- 2. the rpm package manager makesuse of the proxy environment variable. this can be set system wide in/etc/profile or user specific in ~ /. Bash_profile: export http_proxy = http: // yourproxy: 8080/export ftp_proxy = http: // yourproxy: 8080/----------------------------------------- 3. to use wget throug a proxy serveradd the following lines to/etc/wgetrc http_proxy = http: // yourproxy: 8080/ftp_proxy = http: // yourproxy: 8080/

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.