linux中爲subversion配置http代理服務器

subversion的配置文件爲 $HOME/.subversion/servers

打開該文件

root@ubuntu:~/.subversion# cd /root/.subversion/
root@ubuntu:~/.subversion# vi servers 
編輯global代碼段即可

[global]
# http-proxy-exceptions = *.exception.com, www.internal-site.org
http-proxy-host = 10.200.8.111
http-proxy-port = 909
# http-proxy-username = defaultusername
# http-proxy-password = defaultpassword
# http-compression = no
# No http-timeout, so just use the builtin default.
# No neon-debug-mask, so neon debugging is disabled.
# ssl-authority-files = /path/to/CAcert.pem;/path/to/CAcert2.pem
根據具體的代理服務器填寫上面的http-proxy-host和http-proxy-port部分就可以了。
如果有特殊的授權訪問需要,可能需要填寫後面的用戶名和密碼。


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章