资源镜像

资源网站 #

网站 地址 备注
蒂凡尼蓝 #0abab5
maven https://mvnrepository.com/
免费图标 https://www.svgrepo.com/
免费NPM http://npmmirror.com npm install –registry=https://registry.npmmirror.com
免费GO https://goproxy.cn export GOPROXY=https://goproxy.cn,direct

MAVEN配置国内源settings.xml #

<?xml version="1.0" encoding="UTF-8"?>
<settings
    xmlns="http://maven.apache.org/SETTINGS/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
    <!-- 本地仓库路径 -->
    <localRepository>D:\workspaces\repository</localRepository>
    <!-- 镜像配置 -->
    <mirrors>
        <!-- 阿里云 Maven 镜像 -->
        <mirror>
            <id>aliyunmaven</id>
            <mirrorOf>central</mirrorOf>
            <name>阿里云公共仓库</name>
            <url>https://maven.aliyun.com/repository/public</url>
        </mirror>
        <!-- 华为云 Maven 镜像 -->
        <mirror>
            <id>huaweicloud</id>
            <mirrorOf>*</mirrorOf>
            <name>HuaweiCloud Maven</name>
            <url>https://repo.huaweicloud.com/repository/maven/</url>
        </mirror>
    </mirrors>
    <pluginGroups />
    <proxies />
    <servers />
    <profiles>
        <profile>
            <id>jdk-21</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <properties>
                <maven.compiler.source>21</maven.compiler.source>
                <maven.compiler.target>21</maven.compiler.target>
                <maven.compiler.compilerVersion>21</maven.compiler.compilerVersion>
            </properties>
        </profile>
    </profiles>
</settings>

镜像网站 #

镜像 清华 中科 南科 阿里 华为
Debian 新×
Apache
Maven

离线debian源镜像 #

  • unstable 修改为debian的代号
  • non-free 修改为其他规范的软件,mirror.list里有模板
apt clean
apt update
apt install -y apt-mirror
sed -i 's|deb|#deb|g' /etc/apt/mirror.list
sed -i '$adeb https://mirrors.aliyun.com/debian unstable non-free' /etc/apt/mirror.list
apt-mirror