How to configure proxy for svn client in centos

Source: Internet
Author: User
This article describes how to configure proxy for the svn client in centos. For more information, see SVNcentosCentOS.

I use the subversion installed by the root user through yum: yum-y install subversion

After installation ~ There is a hidden folder under the Directory. you can see it is named. subversion through ls-a. There is a servers file under the Directory, which can configure the proxy CHECK code.

You can use a proxy to checkout all domains in global, or configure a separate group to use a proxy for the specified domain.

Copy codeThe code is as follows:
[Global]
# Http-proxy-exceptions = * .exception.com, www.internal-site.org
Http-proxy-host = defaultproxy.whatever.com
Http-proxy-port = 7000
Http-proxy-username = defaultusername
Http-proxy-password = defaultpassword

After the configuration, you can mount a proxy to the SVN client. if you only want to mount a proxy to a specific domain, use another section to configure the proxy:


Copy codeThe code is as follows:
[Groups]
Group1 = * .googlecode.com
# Othergroup = repository.blarggitywhoomph.com
# Thirdgroup = * .example.com
### Informationforthefirstgroup:
[Group1]
Http-proxy-host = proxy.myoffice.com
Http-proxy-port = 8080
# Http-proxy-username = blah
# Http-proxy-password = doubleblah
# Http-timeout = 60

The above is just an excerpt from my configuration. I configured a proxy for the googlecode domain.

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.