maven使用ss代理

把maven安装目录下的conf/settings.xml复制一份到~/.m2/下

在<proxies>标签中添加

<proxy>
      <id>socks5</id>
      <active>true</active>
      <protocol>http</protocol>
      <username></username>
      <password></password>
      <host>127.0.0.1</host>
      <port>1080</port>
      <nonProxyHosts>127.0.0.1</nonProxyHosts>
</proxy>

  

时间: 2024-12-18 06:52:00

maven使用ss代理的相关文章

Maven的HTTP代理设置

http://blog.sina.com.cn/s/blog_4f925fc30102ed3y.html 第一.检测本地网络是否不能直接访问Maven的远程仓库,命令为ping repo1.maven.org,截图如下: 第二.要检查代理服务器是否畅通,比如现在有一个IP地址为192.168.10.117,端口为3267的代理服务,我们需 要先运行telnet  192.168.10.117 3267来检查该地址的该端口是否畅通,如果得道出错信息需要先获取 正确的代理服务器信息,如果telnet

kali 安装ss代理客户端的方法(纯属个人总结)

1.声明版本,因为别的版本没测试过 2.下载客户端安装包 wget https://github.com/shadowsocks/shadowsocks/archive/master.zip 这个是代码部分:在github上面,可以clone,用上面的下载就可以https://github.com/shadowsocks/shadowsocks.githttps://github.com/shadowsocks/shadowsocks/tree/master 东西在这里 3.安装 unzip m

maven 使用国内代理

一直使用 maven默认仓库,maven 的下载速度一直不快不慢:最近换了网络,maven秒变蜗牛,换了阿里云的镜像,瞬间飞快. 配置文件 ${USER_HOME}/.m2/settings.xml: 设置阿里云镜像 <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/

Linux 安装Maven和nexus代理仓库

1    说明 2    安装步骤 2.1      下载地址 2.2      MAVEN安装步骤 2.2.1   解压Maven安装包 2.2.2  配置环境变量 2.3      Sonatype Nexus私服安装步骤 1    说明 环境:redhat Enterprise Linux Server5.3-x64. 版本:Maven 3.0.5 ,Nexus-2.5.1-bundle. 2    安装步骤 2.1      下载地址 Maven: http://mirrors.cnni

maven使用阿里代理下载

<mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror> <mirror> <id>uk</id>

centos 6 / 7 安装ss代理

本文仅做技术探讨,请在遵守相应的法律法规的前提下使用. ****************************************************************************************************************************************************************** 一键安装脚本 centos6:https://raw.githubusercontent.com/teddysun/s

SS代理服务器配置

操作环境:CentOS 6.8 32bit 1.安装yum curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 2.进行系统更新 yum -y update 3.安装wget下载器 yum -y install wget 4.下载ss安装脚本 wget --no-check-certificate https://raw.githubusercontent.com/teddy

Ubuntu 终端使用ss代理

用polipo软件,这个软件可以吧socket5转换成http代理 $ sudo apt-get install polipo $ sudo vim /etc/polipo/config 在文件中加入 socksParentProxy = "localhost:1080" socksProxyType = socks5 logLevel = 4 启动代理服务 $ sudo service polipo start 验证 $ curl ip.gs $ http_proxy = http:

git设置ss代理

// 查看当前代理设置 git config --global http.proxy http/https协议 //设置代理(clone https://前缀的repo会走代理) git config --global http.proxy 'http://127.0.0.1:1080' git config --global https.proxy 'http://127.0.0.1:1080' git config --global http.proxy 'socks5://127.0.0.