mirror of
				https://gitee.com/SuperManito/LinuxMirrors
				synced 2025-11-04 08:20:28 +08:00 
			
		
		
		
	新增支持两个软件源
This commit is contained in:
		@@ -724,23 +724,25 @@ function ChooseMirrors() {
 | 
				
			|||||||
    echo -e '|                                               |'
 | 
					    echo -e '|                                               |'
 | 
				
			||||||
    echo -e '+-----------------------------------------------+'
 | 
					    echo -e '+-----------------------------------------------+'
 | 
				
			||||||
    echo -e ''
 | 
					    echo -e ''
 | 
				
			||||||
    echo -e ' ❖   阿里云              1)'
 | 
					    echo -e ' ❖   阿里云                  1)'
 | 
				
			||||||
    echo -e ' ❖   腾讯云              2)'
 | 
					    echo -e ' ❖   腾讯云                  2)'
 | 
				
			||||||
    echo -e ' ❖   华为云              3)'
 | 
					    echo -e ' ❖   华为云                  3)'
 | 
				
			||||||
    echo -e ' ❖   网易                4)'
 | 
					    echo -e ' ❖   网易                    4)'
 | 
				
			||||||
    echo -e ' ❖   搜狐                5)'
 | 
					    echo -e ' ❖   搜狐                    5)'
 | 
				
			||||||
    echo -e ' ❖   清华大学            6)'
 | 
					    echo -e ' ❖   清华大学                6)'
 | 
				
			||||||
    echo -e ' ❖   浙江大学            7)'
 | 
					    echo -e ' ❖   北京大学                7)'
 | 
				
			||||||
    echo -e ' ❖   南京大学            8)'
 | 
					    echo -e ' ❖   浙江大学                8)'
 | 
				
			||||||
    echo -e ' ❖   重庆大学            9)'
 | 
					    echo -e ' ❖   南京大学                9)'
 | 
				
			||||||
    echo -e ' ❖   兰州大学           10)'
 | 
					    echo -e ' ❖   重庆大学               10)'
 | 
				
			||||||
    echo -e ' ❖   上海交通大学       11)'
 | 
					    echo -e ' ❖   兰州大学               11)'
 | 
				
			||||||
    echo -e ' ❖   哈尔滨工业大学     12)'
 | 
					    echo -e ' ❖   上海交通大学           12)'
 | 
				
			||||||
    echo -e ' ❖   中国科学技术大学   13)'
 | 
					    echo -e ' ❖   哈尔滨工业大学         13)'
 | 
				
			||||||
 | 
					    echo -e ' ❖   中国科学技术大学       14)'
 | 
				
			||||||
 | 
					    echo -e ' ❖   中国科学院软件研究所   15)'
 | 
				
			||||||
    echo -e ''
 | 
					    echo -e ''
 | 
				
			||||||
    echo -e " 运行环境  ${BLUE}${SYSTEM_NAME} ${SYSTEM_VERSION_NUMBER} ${SYSTEM_ARCH}${PLAIN}"
 | 
					    echo -e " 运行环境  ${BLUE}${SYSTEM_NAME} ${SYSTEM_VERSION_NUMBER} ${SYSTEM_ARCH}${PLAIN}"
 | 
				
			||||||
    echo -e " 系统时间  ${BLUE}$(date "+%Y-%m-%d %H:%M:%S")${PLAIN}"
 | 
					    echo -e " 系统时间  ${BLUE}$(date "+%Y-%m-%d %H:%M:%S")${PLAIN} ${BLUE}$(cat /etc/timezone)${PLAIN}"
 | 
				
			||||||
    CHOICE_A=$(echo -e "\n${BOLD}└─ 请选择并输入你想使用的软件源 [ 1-13 ]:${PLAIN}")
 | 
					    CHOICE_A=$(echo -e "\n${BOLD}└─ 请选择并输入你想使用的软件源 [ 1-15 ]:${PLAIN}")
 | 
				
			||||||
    read -p "${CHOICE_A}" INPUT
 | 
					    read -p "${CHOICE_A}" INPUT
 | 
				
			||||||
    case $INPUT in
 | 
					    case $INPUT in
 | 
				
			||||||
    1 | 2 | 3)
 | 
					    1 | 2 | 3)
 | 
				
			||||||
@@ -756,26 +758,32 @@ function ChooseMirrors() {
 | 
				
			|||||||
        SOURCE="mirrors.tuna.tsinghua.edu.cn"
 | 
					        SOURCE="mirrors.tuna.tsinghua.edu.cn"
 | 
				
			||||||
        ;;
 | 
					        ;;
 | 
				
			||||||
    7)
 | 
					    7)
 | 
				
			||||||
        SOURCE="mirrors.zju.edu.cn"
 | 
					        SOURCE="mirrors.pku.edu.cn"
 | 
				
			||||||
        ;;
 | 
					        ;;
 | 
				
			||||||
    8)
 | 
					    8)
 | 
				
			||||||
        SOURCE="mirrors.nju.edu.cn"
 | 
					        SOURCE="mirrors.zju.edu.cn"
 | 
				
			||||||
        ;;
 | 
					        ;;
 | 
				
			||||||
    9)
 | 
					    9)
 | 
				
			||||||
        SOURCE="mirrors.cqu.edu.cn"
 | 
					        SOURCE="mirrors.nju.edu.cn"
 | 
				
			||||||
        ;;
 | 
					        ;;
 | 
				
			||||||
    10)
 | 
					    10)
 | 
				
			||||||
        SOURCE="mirror.lzu.edu.cn"
 | 
					        SOURCE="mirrors.cqu.edu.cn"
 | 
				
			||||||
        ;;
 | 
					        ;;
 | 
				
			||||||
    11)
 | 
					    11)
 | 
				
			||||||
        SOURCE="mirror.sjtu.edu.cn"
 | 
					        SOURCE="mirror.lzu.edu.cn"
 | 
				
			||||||
        ;;
 | 
					        ;;
 | 
				
			||||||
    12)
 | 
					    12)
 | 
				
			||||||
        SOURCE="mirrors.hit.edu.cn"
 | 
					        SOURCE="mirror.sjtu.edu.cn"
 | 
				
			||||||
        ;;
 | 
					        ;;
 | 
				
			||||||
    13)
 | 
					    13)
 | 
				
			||||||
 | 
					        SOURCE="mirrors.hit.edu.cn"
 | 
				
			||||||
 | 
					        ;;
 | 
				
			||||||
 | 
					    14)
 | 
				
			||||||
        SOURCE="mirrors.ustc.edu.cn"
 | 
					        SOURCE="mirrors.ustc.edu.cn"
 | 
				
			||||||
        ;;
 | 
					        ;;
 | 
				
			||||||
 | 
					    15)
 | 
				
			||||||
 | 
					        SOURCE="mirror.iscas.ac.cn"
 | 
				
			||||||
 | 
					        ;;
 | 
				
			||||||
    *)
 | 
					    *)
 | 
				
			||||||
        SOURCE="mirrors.aliyun.com"
 | 
					        SOURCE="mirrors.aliyun.com"
 | 
				
			||||||
        echo -e "\n$WARN 输入错误,将默认使用 ${BLUE}阿里云${PLAIN} 作为国内源!"
 | 
					        echo -e "\n$WARN 输入错误,将默认使用 ${BLUE}阿里云${PLAIN} 作为国内源!"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										32
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										32
									
								
								README.md
									
									
									
									
									
								
							@@ -74,21 +74,23 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  - #### 软件源
 | 
					  - #### 软件源
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    |       |    镜像站名称    |                                 镜像站地址                                  | IPv6  | Kali Linux | Rocky Linux | Fedora | openEuler | EPEL  |
 | 
					    |       |     镜像站名称     |                                 镜像站地址                                  | IPv6  | Kali Linux | Rocky Linux | Fedora | openEuler | EPEL  |
 | 
				
			||||||
    | :---: | :-------------: | :-----------------------------------------------------------------------: | :---: | :--------: | :---------: | :----: | :-------: | :---: |
 | 
					    | :---: | :---------------: | :-----------------------------------------------------------------------: | :---: | :--------: | :---------: | :----: | :-------: | :---: |
 | 
				
			||||||
    |   1   |      阿里云      |             [mirrors.aliyun.com](https://mirrors.aliyun.com)              |   ✓   |     ✓      |             |   ✓    |     ✓     |   ✓   |
 | 
					    |   1   |        阿里云      |             [mirrors.aliyun.com](https://mirrors.aliyun.com)              |   ✓   |     ✓      |             |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
    |   2   |      腾讯云      |            [mirrors.tencent.com](https://mirrors.tencent.com)             |   ✓   |     ✓      |      ✓      |   ✓    |           |   ✓   |
 | 
					    |   2   |        腾讯云      |            [mirrors.tencent.com](https://mirrors.tencent.com)             |   ✓   |     ✓      |      ✓      |   ✓    |           |   ✓   |
 | 
				
			||||||
    |   3   |      华为云      |        [mirrors.huaweicloud.com](https://mirrors.huaweicloud.com)         |   ✓   |     ✓      |             |   ✓    |     ✓     |   ✓   |
 | 
					    |   3   |        华为云      |        [mirrors.huaweicloud.com](https://mirrors.huaweicloud.com)         |   ✓   |     ✓      |             |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
    |   4   |       网易       |                [mirrors.163.com](https://mirrors.163.com)                 |       |            |      ✓      |   ✓    |     ✓    |       |
 | 
					    |   4   |         网易       |                [mirrors.163.com](https://mirrors.163.com)                 |       |            |      ✓      |   ✓    |     ✓    |       |
 | 
				
			||||||
    |   5   |       搜狐       |               [mirrors.sohu.com](https://mirrors.sohu.com)                |       |            |             |   ✓    |          |       |
 | 
					    |   5   |         搜狐       |               [mirrors.sohu.com](https://mirrors.sohu.com)                |       |            |             |   ✓    |          |       |
 | 
				
			||||||
    |   6   |     清华大学     |   [mirrors.tuna.tsinghua.edu.cn](https://mirrors.tuna.tsinghua.edu.cn)    |   ✓   |     ✓      |             |   ✓    |     ✓     |   ✓   |
 | 
					    |   6   |       清华大学     |   [mirrors.tuna.tsinghua.edu.cn](https://mirrors.tuna.tsinghua.edu.cn)    |   ✓   |     ✓      |             |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
    |   7   |     浙江大学     |             [mirrors.zju.edu.cn](https://mirrors.zju.edu.cn)              |       |     ✓      |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
					    |   7   |       北京大学     |             [mirrors.pku.edu.cn](https://mirrors.pku.edu.cn/Mirrors)      |   ✓   |            |             |        |     ✓     |   ✓   |
 | 
				
			||||||
    |   8   |     南京大学     |             [mirrors.nju.edu.cn](https://mirrors.nju.edu.cn)              |       |     ✓      |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
					    |   8   |       浙江大学     |             [mirrors.zju.edu.cn](https://mirrors.zju.edu.cn)              |       |     ✓      |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
    |   9   |     重庆大学     |             [mirrors.cqu.edu.cn](https://mirrors.cqu.edu.cn)              |       |     ✓      |             |   ✓    |           |   ✓   |
 | 
					    |   9   |       南京大学     |             [mirrors.nju.edu.cn](https://mirrors.nju.edu.cn)              |       |     ✓      |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
    |  10   |     兰州大学     |              [mirror.lzu.edu.cn](https://mirror.lzu.edu.cn)               |   ✓   |            |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
					    |  10   |       重庆大学     |             [mirrors.cqu.edu.cn](https://mirrors.cqu.edu.cn)              |       |     ✓      |             |   ✓    |           |   ✓   |
 | 
				
			||||||
    |  11   |   上海交通大学    |             [mirror.sjtu.edu.cn](https://mirror.sjtu.edu.cn)              |   ✓   |     ✓      |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
					    |  11   |       兰州大学     |              [mirror.lzu.edu.cn](https://mirror.lzu.edu.cn)               |   ✓   |            |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
    |  12   |  哈尔滨工业大学   |             [mirrors.hit.edu.cn](https://mirrors.hit.edu.cn)              |   ✓   |     ✓      |             |        |     ✓     |   ✓   |
 | 
					    |  12   |     上海交通大学    |             [mirror.sjtu.edu.cn](https://mirror.sjtu.edu.cn)              |   ✓   |     ✓      |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
    |  13   | 中国科学技术大学  |            [mirrors.ustc.edu.cn](https://mirrors.ustc.edu.cn)             |   ✓   |     ✓      |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
					    |  13   |    哈尔滨工业大学   |             [mirrors.hit.edu.cn](https://mirrors.hit.edu.cn)              |   ✓   |     ✓      |             |        |     ✓     |   ✓   |
 | 
				
			||||||
 | 
					    |  14   |   中国科学技术大学  |            [mirrors.ustc.edu.cn](https://mirrors.ustc.edu.cn)             |   ✓   |     ✓      |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
 | 
					    |  15   | 中国科学院软件研究所 |             [mirror.iscas.ac.cn](https://mirror.iscas.ac.cn)              |       |     ✓      |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    以上为脚本当前使用的开源镜像站,所有镜像站均支持 `Debian` `Ubuntu` `CentOS` 软件源  
 | 
					    以上为脚本当前使用的开源镜像站,所有镜像站均支持 `Debian` `Ubuntu` `CentOS` 软件源  
 | 
				
			||||||
    如果使用过程中脚本不能正常输出中文内容则可对照此列表使用,顺序与脚本一致,之后一路回车即可
 | 
					    如果使用过程中脚本不能正常输出中文内容则可对照此列表使用,顺序与脚本一致,之后一路回车即可
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -71,21 +71,23 @@ bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirro
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
- ### <i class="fa-solid fa-list-ol fa-fade" style="--fa-animation-duration: 2s; --fa-fade-opacity: 0.6;" ></i> 软件源
 | 
					- ### <i class="fa-solid fa-list-ol fa-fade" style="--fa-animation-duration: 2s; --fa-fade-opacity: 0.6;" ></i> 软件源
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  | | 镜像站名称 | 镜像站地址 | IPv6 | Kali Linux | Rocky Linux | Fedora | EPEL |
 | 
					  |       |     镜像站名称     |                                 镜像站地址                                  | IPv6  | Kali Linux | Rocky Linux | Fedora | openEuler | EPEL  |
 | 
				
			||||||
  | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: |
 | 
					  | :---: | :---------------: | :-----------------------------------------------------------------------: | :---: | :--------: | :---------: | :----: | :-------: | :---: |
 | 
				
			||||||
  | 1 | 阿里云 | [mirrors.aliyun.com](https://mirrors.aliyun.com) | :fa-solid fa-check: | :fa-solid fa-check: |  | :fa-solid fa-check: | :fa-solid fa-check: |
 | 
					  |   1   |        阿里云      |             [mirrors.aliyun.com](https://mirrors.aliyun.com)              |   ✓   |     ✓      |             |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
  | 2 | 腾讯云 | [mirrors.tencent.com](https://mirrors.tencent.com) | :fa-solid fa-check: | :fa-solid fa-check: | :fa-solid fa-check: | :fa-solid fa-check: | :fa-solid fa-check: |
 | 
					  |   2   |        腾讯云      |            [mirrors.tencent.com](https://mirrors.tencent.com)             |   ✓   |     ✓      |      ✓      |   ✓    |           |   ✓   |
 | 
				
			||||||
  | 3 | 华为云 | [mirrors.huaweicloud.com](https://mirrors.huaweicloud.com) | :fa-solid fa-check: | :fa-solid fa-check: |  | :fa-solid fa-check: | :fa-solid fa-check: |
 | 
					  |   3   |        华为云      |        [mirrors.huaweicloud.com](https://mirrors.huaweicloud.com)         |   ✓   |     ✓      |             |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
  | 4 | 网易 | [mirrors.163.com](https://mirrors.163.com) |  |  | :fa-solid fa-check: | :fa-solid fa-check: |  |
 | 
					  |   4   |         网易       |                [mirrors.163.com](https://mirrors.163.com)                 |       |            |      ✓      |   ✓    |     ✓    |       |
 | 
				
			||||||
  | 5 | 搜狐 | [mirrors.sohu.com](https://mirrors.sohu.com) |  |  |  | :fa-solid fa-check: |  |
 | 
					  |   5   |         搜狐       |               [mirrors.sohu.com](https://mirrors.sohu.com)                |       |            |             |   ✓    |          |       |
 | 
				
			||||||
  | 6 | 清华大学 | [mirrors.tuna.tsinghua.edu.cn](https://mirrors.tuna.tsinghua.edu.cn) | :fa-solid fa-check: | :fa-solid fa-check: |  | :fa-solid fa-check: | :fa-solid fa-check: |
 | 
					  |   6   |       清华大学     |   [mirrors.tuna.tsinghua.edu.cn](https://mirrors.tuna.tsinghua.edu.cn)    |   ✓   |     ✓      |             |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
  | 7 | 浙江大学 | [mirrors.zju.edu.cn](https://mirrors.zju.edu.cn) |  | :fa-solid fa-check: | :fa-solid fa-check: | :fa-solid fa-check: | :fa-solid fa-check: |
 | 
					  |   7   |       北京大学     |             [mirrors.pku.edu.cn](https://mirrors.pku.edu.cn/Mirrors)      |   ✓   |            |             |        |     ✓     |   ✓   |
 | 
				
			||||||
  | 8 | 南京大学 | [mirrors.nju.edu.cn](https://mirrors.nju.edu.cn) |  | :fa-solid fa-check: | :fa-solid fa-check: | :fa-solid fa-check: | :fa-solid fa-check: |
 | 
					  |   8   |       浙江大学     |             [mirrors.zju.edu.cn](https://mirrors.zju.edu.cn)              |       |     ✓      |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
  | 9 | 重庆大学 | [mirrors.cqu.edu.cn](https://mirrors.cqu.edu.cn) |  | :fa-solid fa-check: |  | :fa-solid fa-check: | :fa-solid fa-check: |
 | 
					  |   9   |       南京大学     |             [mirrors.nju.edu.cn](https://mirrors.nju.edu.cn)              |       |     ✓      |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
  | 10 | 兰州大学 | [mirror.lzu.edu.cn](https://mirror.lzu.edu.cn) | :fa-solid fa-check: |  | :fa-solid fa-check: | :fa-solid fa-check: | :fa-solid fa-check: |
 | 
					  |  10   |       重庆大学     |             [mirrors.cqu.edu.cn](https://mirrors.cqu.edu.cn)              |       |     ✓      |             |   ✓    |           |   ✓   |
 | 
				
			||||||
  | 11 | 上海交通大学 | [mirror.sjtu.edu.cn](https://mirror.sjtu.edu.cn) | :fa-solid fa-check: | :fa-solid fa-check: | :fa-solid fa-check: | :fa-solid fa-check: | :fa-solid fa-check: |
 | 
					  |  11   |       兰州大学     |              [mirror.lzu.edu.cn](https://mirror.lzu.edu.cn)               |   ✓   |            |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
  | 12 | 哈尔滨工业大学 | [mirrors.hit.edu.cn](https://mirrors.hit.edu.cn) | :fa-solid fa-check: | :fa-solid fa-check: |  |  | :fa-solid fa-check: |
 | 
					  |  12   |     上海交通大学    |             [mirror.sjtu.edu.cn](https://mirror.sjtu.edu.cn)              |   ✓   |     ✓      |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
  | 13 | 中国科学技术大学 | [mirrors.ustc.edu.cn](https://mirrors.ustc.edu.cn) | :fa-solid fa-check: | :fa-solid fa-check: | :fa-solid fa-check: | :fa-solid fa-check: | :fa-solid fa-check: |
 | 
					  |  13   |    哈尔滨工业大学   |             [mirrors.hit.edu.cn](https://mirrors.hit.edu.cn)              |   ✓   |     ✓      |             |        |     ✓     |   ✓   |
 | 
				
			||||||
 | 
					  |  14   |   中国科学技术大学  |            [mirrors.ustc.edu.cn](https://mirrors.ustc.edu.cn)             |   ✓   |     ✓      |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
 | 
					  |  15   | 中国科学院软件研究所 |             [mirror.iscas.ac.cn](https://mirror.iscas.ac.cn)              |       |     ✓      |      ✓      |   ✓    |     ✓     |   ✓   |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  以上为脚本当前使用的开源镜像站,所有镜像站均支持 `Debian` `Ubuntu` `CentOS` 软件源
 | 
					  以上为脚本当前使用的开源镜像站,所有镜像站均支持 `Debian` `Ubuntu` `CentOS` 软件源
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user