【总结】2016年国内开源镜像站点汇总

我热爱开源,并不是因为能从中窃取代码,而是获取知识,了解大家的编程思维。经过多年,开源镜像站点在国内如雨后春笋一般在增多,不过依然跟国外没法相比。在此我罗列所有在中国大陆的开源镜像站点地址,供大家参考。

       本文来源:各大开源软件、发行版镜像页面。
       请注意这是一个总结,如果您自己搭建了一个小型开源镜像,这里并没有。以下列出的是包含大量不同镜像的站点。
       具体配置中,我建议您使用大企业的镜像。大学的镜像有的只是内部使用,而且未必速度快的像您所期待的那样。同时,我建议您使用某些加速插件,比如RHEL系列的yum-plugin-fastestmirror,apt-fast,axel,netselect-apt,apt-spy等等。


一、站点版

(一)、企业站
1.搜狐: http://mirrors.sohu.com/
2.网易: http://mirrors.163.com/
3.阿里云: http://mirrors.aliyun.com/
4.腾讯: http://android-mirror.bugly.qq.com:8080/ (仅针对APP开发的软件,限流,不推荐)

(二)、教育站
1.上海交通大学: http://ftp.sjtu.edu.cn/html/resources.xml (部分移动运营商出口状况不佳,无法访问)
2.华中科技大学: http://mirror.hust.edu.cn/ (当前已用容量估计:4.83T)
3.清华大学: http://mirrors.tuna.tsinghua.edu.cn/ (当前已用容量估计:9.8T)
4.北京理工大学: http://mirror.bit.edu.cn/web/
5.兰州大学: http://mirror.lzu.edu.cn/
6.中国科技大学: http://mirrors.ustc.edu.cn/ (当前已用容量估计:21.32T)
7.大连东软信息学院: http://mirrors.neusoft.edu.cn/ (当前已用容量估计:2.5T)
8.东北大学: http://mirror.neu.edu.cn/
9.大连理工大学: http://mirror.dlut.edu.cn/
10.哈尔滨工业大学: http://run.hit.edu.cn/html/ (部分联通运营商出口状况不佳,无法访问)
11.北京交通大学: http://mirror.bjtu.edu.cn/cn/
12.天津大学: http://mirror.tju.edu.cn (无法访问,ping超时)
13.中国地质大学: http://mirrors.cug.edu.cn/ (当前已用容量估计:2.3T)
14.浙江大学: http://mirrors.zju.edu.cn/
15.厦门大学: http://mirrors.xmu.edu.cn/
16.中山大学: http://mirror.sysu.edu.cn/
17.重庆大学: http://mirrors.cqu.edu.cn/ (当前已用容量估计:3.93T)
18.北京化工大学: http://ubuntu.buct.edu.cn/ (Android SDK镜像仅供校内使用,当前已用容量估计:1.72T)
19.南阳理工学院: http://mirror.nyist.edu.cn/
20.中国科学院: http://www.opencas.org/mirrors/
21.电子科技大学: http://ubuntu.uestc.edu.cn/ (无法访问,ping超时)
22.电子科技大学星辰工作室: http://mirrors.stuhome.net/ (当前已用容量估计:1.08T)
23.西北农林科技大学: http://mirrors.nwsuaf.edu.cn/ (只做CentOS镜像,当前已用容量估计:140GB)

(三)、其他
1.首都在线科技股份有限公司(英文名Capital Online Data Service): http://mirrors.yun-idc.com/
2.中国电信天翼云: http://mirrors.ctyun.cn/
3.noc.im: http://mirrors.noc.im/ (当前已用容量估计:3.74T)
4.常州贝特康姆软件技术有限公司: http://centos.bitcomm.cn/ (只做CentOS镜像,当前已用容量估计:140GB)
5.公云PubYun(母公司为贝特康姆): http://mirrors.pubyun.com/
6.Linux运维派: http://mirrors.skyshe.cn/ (使用阿里云服务器,界面使用浙江大学的模板,首页维护,内容可访问)
7.中国互联网络信息中心: http://mirrors.cnnic.cn/ (只做Apache镜像,当前已用容量估计:120GB)
8.Fayea工作室: http://apache.fayea.com/ (只做Apache镜像,当前已用容量估计:120GB)

二、软件版

(一)、操作系统类
1.Ubuntu
阿里云: http://mirrors.aliyun.com/ubuntu-releases/
网易: http://mirrors.163.com/ubuntu-releases/
搜狐: http://mirrors.sohu.com/ubuntu-releases/ (搜狐在12年之后似乎不同步了)
首都在线科技股份有限公司: http://mirrors.yun-idc.com/ubuntu-releases/

2.centos
网易: http://mirrors.163.com/centos/
搜狐: http://mirrors.sohu.com/centos/
阿里云: http://mirrors.aliyun.com/centos/

(二)、服务器类
1.tomcat、Apache
中国互联网络信息中心: http://mirrors.cnnic.cn/apache/
华中科技大学: http://mirrors.hust.edu.cn/apache/
北京理工大学: http://mirror.bit.edu.cn/apache/

2.MySQL
北京理工大学: http://mirror.bit.edu.cn/mysql/Downloads/
中国电信天翼云: http://mirrors.ctyun.cn/Mysql/

3.PostgreSQL
浙江大学: http://mirrors.zju.edu.cn/postgresql/

4.MariaDB
中国电信天翼云: http://mirrors.ctyun.cn/MariaDB/

5.VideoLAN
大连东软信息学院: http://mirrors.neusoft.edu.cn/videolan/
中国科技大学: http://mirrors.ustc.edu.cn/videolan-ftp/

(三)、开发工具类
1.eclipse
中国科技大学: http://mirrors.ustc.edu.cn/eclipse/
中国科学院: http://mirrors.opencas.cn/eclipse/
东北大学: http://ftp.neu.edu.cn/mirrors/eclipse/ http://mirror.neu.edu.cn/eclipse/

2.安卓SDK
中国科学院: http://mirrors.opencas.ac.cn/android/repository/
南洋理工学院: http://mirror.nyist.edu.cn/android/repository/
中国科学院: http://mirrors.opencas.cn/android/repository/
腾讯: http://android-mirror.bugly.qq.com:8080/android/repository/ (限流,不推荐)
大连东软信息学院: http://mirrors.neusoft.edu.cn/android/repository/ (同步效果不如中科院的镜像,不推荐)

3.Xcode
腾讯: http://android-mirror.bugly.qq.com:8080/Xcode/ (从7.2之后不再更新,建议直接从官网下载)

三、官方镜像列表状态地址
CentOS: http://mirror-status.centos.org/#cn
Archlinux: https://www.archlinux.org/mirrors/status/
Ubuntu: https://launchpad.net/ubuntu/+cdmirrors
Debian: http://mirror.debian.org/status.html
Fedora Linux/Fedora EPEL: https://admin.fedoraproject.org/mirrormanager/mirrors
Apache: http://www.apache.org/mirrors/#cn

Cygwin:https://www.cygwin.com/mirrors.html


如果您是教育网用户,若果本校没有源,请选择清华大学源来进行配置。毕竟教育网骨干在此。

1.企业贡献:
阿里云开源镜像站: http://mirrors.aliyun.com/
搜狐开源镜像站:http://mirrors.sohu.com/
网易开源镜像站:http://mirrors.163.com/

2.大学教学:
重庆大学:
http://mirrors.cqu.edu.cn/
北京理工大学:
http://mirror.bit.edu.cn  (IPv4 only)
http://mirror.bit6.edu.cn  (IPv6 only)
北京交通大学:
http://mirror.bjtu.edu.cn  (IPv4 only)
http://mirror6.bjtu.edu.cn  (IPv6 only)
http://debian.bjtu.edu.cn  (IPv4+IPv6)
兰州大学:http://mirror.lzu.edu.cn/
厦门大学:http://mirrors.xmu.edu.cn/
上海交通大学:
http://ftp.sjtu.edu.cn/  (IPv4 only)
http://ftp6.sjtu.edu.cn  (IPv6 only)
清华大学:
http://mirrors.tuna.tsinghua.edu.cn/  (IPv4+IPv6)
http://mirrors.6.tuna.tsinghua.edu.cn/  (IPv6 only)
http://mirrors.4.tuna.tsinghua.edu.cn/  (IPv4 only)
天津大学:http://mirror.tju.edu.cn/
中国科学技术大学:
http://mirrors.ustc.edu.cn/  (IPv4+IPv6)
http://mirrors4.ustc.edu.cn/
http://mirrors6.ustc.edu.cn/
西南大学:http://linux.swu.edu.cn/swudownload/Distributions/
东北大学:
http://mirror.neu.edu.cn/  (IPv4 only)
http://mirror.neu6.edu.cn/  (IPv6 only)
电子科技大学:http://ubuntu.uestc.edu.cn/
青岛大学:http://mirror.qdu.edu.cn/
开源中国社区 http://mirrors.oss.org.cn/
大连东软信息学院   http://mirrors.neusoft.edu.cn/
华中科技大学  http://mirrors.hust.edu.cn/ 
中山大学  http://mirrors.sysu.edu.cn/ 
清华大学学生网管会   http://mirrors.tuna.tsinghua.edu.cn/
 浙江大学 http://mirrors.zju.edu.cn/web/

台湾淡江大学 http://ftp.tku.edu.tw/Linux/

Linux运维派开源镜像 http://mirrors.skyshe.cn/


最后:
CentOs 官方镜像 列表 http://mirror-status.centos.org/


【附录】

常用Linux运维shell命令

1.显示消耗内存/CPU最多的10个进程

ps aux | sort -nk +4 | tail -10
ps aux | sort -nk +3 | tail -10

2.查看Apache的并发请求数及其TCP连接状态

netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'

3.找出自己最常用的10条命令及使用次数(或求访问最多的ip数)

sed -e 's/| //n/g' ~/.bash_history |cut -d '' -f 1 | sort | uniq -c | sort -nr | head

4.日志中第10个字段表示连接时间,求平均连接时间

cat access_log |grep "connect cbp" |awk 'BEGIN{sum=0;count=0;}{sum+=$10;count++;}END{printf("sum=%d,count=%d,avg=%f/n",sum,count,sum/count)}'

5.lsof命令

lsof abc.txt 显示开启文件abc.txt的进程

lsof -i :22 知道22端口现在运行什么程序

lsof -c abc 显示abc进程现在打开的文件

lsof -p 12 看进程号为12的进程打开了哪些文件

6.杀掉一个程序的所有进程

pkill -9 httpd

killall -9 httpd

注意尽量不用-9,数据库服务器上更不能轻易用kill,否则造成重要数据丢失后果将不堪设想。

7.rsync命令(要求只同步某天的压缩文件,而且远程目录保持与本地目录一致)

/usr/bin/rsync -azvR –password-file=/etc/rsync.secrets `find . -name "*$yesterday.gz" -type f ` storage@192.168.2.23::logbackup/13.21/

8.把目录下*.sh文件改名为*.SH

find . -name "*.sh" | sed 's//(.*/)/.sh/mv /0 /1.SH/' |sh
find . -name "*.sh" | sed 's//(.*/)/.sh/mv & /1.SH/'|sh

(跟上面那个效果一样)

9.ssh执行远程的程序,并在本地显示

ssh -n -l zouyunhao 192.168.2.14 "ls -al /home/zouyunhao"

10. 直接用命令行修改密码

echo "zouyunhaoPassword" |passwd –stdin zouyunhao
ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa.pub user@remoteServer

11.以http方式共享当前文件夹的文件

python -m SimpleHTTPServer

在浏览器访问http://IP:8000/即可下载当前目录的文件。

12.shell段注释

:<<'echo hello,world!'

13.查看服务器序列号

dmidecode |grep "Serial Number"

(查看机器其他硬件信息也可用这个命令)

14.查看网卡是否有网线物理连接

/sbin/mii-tool

下面我会陆续添加一些在网络上搜集到的其他不错的shell命令~~~

1、将大写文件名改为小写文件名

for i in `find ./ -type f -name "[A-Z]*" | xargs -0`; do mv -f $i `echo $i | tr A-Z a-z`; done

2、zat查看压缩文件

zcat install.log.tgz |grep -a ssh #过滤必须加上-a参数

3、杀掉程序所有进程,跟上面pkill功能一样

pgrep httpd|xargs kill -9 #pgrep过滤出进程号再kill

4、快速备份一个文件

cp filename{,.bak} #filename{,.bak}

这一段会被展开成filename filename.bak再传给cp

5、重命名文件:

ls|xargs -t -i mv {} {}.bak

6、tar包不解压统计大小:

tar tvf nrpe-2.8.1.tar.gz | awk '{total+=$3}END{print total}'

tar tvf nrpe-2.8.1.tar.gz | awk '{total+=$3}END{print total/1024}' #kb大小

7、将两个文件交叉显示

paste a.txt b.txt|tr "\t" "\n"
paste a.txt b.txt|xargs -n1

8、centos定时释放内存脚本

以下是脚本!

#!/bin/bash
used=`free -m | awk ‘NR==2′ | awk ‘{print $3}’`
free=`free -m | awk ‘NR==2′ | awk ‘{print $4}’`

echo “===========================” >> /var/log/mem.log
date >> /var/log/mem.log
echo “Memory usage | [Use:${used}MB][Free:${free}MB]” >> /var/log/mem.log

if [ $free -le 100 ] ; then
sync && echo 1 > /proc/sys/vm/drop_caches
sync && echo 2 > /proc/sys/vm/drop_caches
sync && echo 3 > /proc/sys/vm/drop_caches
echo “OK” >> /var/log/mem.log
else
echo “Not required” >> /var/log/mem.log
fi

然后加入到计划任务中,,每30分钟执行一次.

echo ‘*/30 * * * * sh /bak/sh/freemem.sh’ >> /var/spool/cron/root


评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值