CentOS 6.4 System Proxy Internet settings

Source: Internet
Author: User

In front of the Yum agent set up the Internet method, now set up the System Agent online,

A lot of the internet is not working, has been pro-test

[Email protected] ~]# cat. Bash_profile         #root目下添加代理上网, Blue code
#. Bash_profile

# Get the aliases and functions
If [-f ~/.BASHRC]; Then
. ~/.bashrc
Fi

# User specific environment and startup programs

Path= $PATH: $HOME/bin

Export PATH
http_proxy=192.168.20.228:8889
Export Http_proxy

[Email protected] ~]# source. Bash_profile #执行代理设置

[Email protected] ~]# Curl ifconfig.me #查看代理所在的公网IP
14.154.235.9

CentOS 6.4 System Proxy Internet settings

Related Article

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.