Linux安全网 - Linux操作系统_Linux 命令_Linux教程_Linux黑客

会员投稿 投稿指南 本期推荐:
搜索:
您的位置: Linux安全网 > Linux集群 > Architecture > » 正文

maven learning

来源: 未知 分享至:

set HTTP proxy :

1. first test weather your internet environment is reachable to the maven repository :

ping repo1.maven.org

2. if can not reach you can use the proxy , first also we will test the useable of the proxy :

telent xxx.xxx.xxx.xxx xxxx

(If system is WIN 7 use the follow step first :

控制面板---程序和功能---打开或关闭windows功能---勾选lnet.html' target='_blank'>telnet

退出 telnet : ctrl + ] , q .

)

<proxy>
			<id>my-proxy</id>
			<active>true</active>
			<protocol>http</protocol>
			<host>xxx.xxx.x.xxx</host>
			<port>xxx</port>
			<nonProxyHosts>
				*.google.com
			</nonProxyHosts>(for the request end with google.com do not use proxy)
</proxy>


Tags:
分享至:
最新图文资讯
1 2 3 4 5 6
验证码:点击我更换图片 理智评论文明上网,拒绝恶意谩骂 用户名:
关于我们 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 发展历史