兰州大学开源社区提供了新的Ubuntu镜像

最新ubuntu/linux/开源新闻或者其它IT相关资讯
回复
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

兰州大学开源社区提供了新的Ubuntu镜像

#1

帖子 oneleaf » 2006-10-09 20:27

deb ftp://mirror.lzu.edu.cn/ubuntu/ubuntu/ dapper main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ubuntu/ dapper-backports main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ubuntu/ dapper-proposed main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ubuntu/ dapper-security main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ubuntu/ dapper-updates main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ubuntu-cn/ dapper main multiverse restricted universe
主站点: http://oss.lzu.edu.cn/
头像
byalligator
帖子: 30
注册时间: 2006-06-20 20:05

#2

帖子 byalligator » 2006-10-11 9:52

不错,甘肃也有了
dbzhang800
帖子: 3182
注册时间: 2006-03-10 15:10
来自: xi'an China
联系:

#3

帖子 dbzhang800 » 2006-10-11 12:12

呵呵,西北地区教育网的源
aaronbai
帖子: 163
注册时间: 2006-10-15 10:12

#4

帖子 aaronbai » 2006-10-15 14:31

我就是用的我们学校的源啊,非常不错!!!
头像
dogfox
论坛版主
帖子: 5311
注册时间: 2006-09-02 14:18
来自: 汉桑城
联系:

#5

帖子 dogfox » 2006-10-16 16:57

速度不是很快
eaglelsb
帖子: 54
注册时间: 2006-09-17 10:17

#6

帖子 eaglelsb » 2006-10-16 22:26

不错,我的母校啊.
好像还是头一次用这个称呼来称呼它.
xautofzx
帖子: 315
注册时间: 2005-05-11 20:14
来自: 西安理工大学

#7

帖子 xautofzx » 2006-10-17 22:21

测试了一下,速度挺快的。
本来西安的高校用西安交通大学的最好了,但是更新实在太慢,要落后几天呢。还不如上海交通大学呢。
aidinggeer
帖子: 108
注册时间: 2005-10-14 9:38

#8

帖子 aidinggeer » 2006-10-22 13:43

唉,

连 兰州都这么


先进了


北京啊



!!



怎么如此不争气!!!!!!!!!!!!!!
头像
macleo
帖子: 74
注册时间: 2005-05-23 23:43
来自: 网络的那一端

#9

帖子 macleo » 2006-10-26 2:15

aidinggeer 写了:唉,

连 兰州都这么


先进了


北京啊



!!



怎么如此不争气!!!!!!!!!!!!!!

我倒!有个Ubuntu,就是先进啊?那北京有地铁,兰州咋不整个啊?
我晕!
只能说兰州的开源氛围比北京好!不是先进不先进的问题.......... :lol: :D
aidinggeer
帖子: 108
注册时间: 2005-10-14 9:38

#10

帖子 aidinggeer » 2006-10-26 10:34

beijing 北京要是米铁,

人就不用吃饭了,

出门 到路对面去也得俩小时

北京老哟落后的,

屁大的事情 讨论半天还是留给 后代解决。
ungo
帖子: 20
注册时间: 2005-07-17 18:14
来自: beijing

#11

帖子 ungo » 2006-10-27 16:55

北京也有了:http://oss.org.cn/
这个社区服务器在北京
6.04的apt是
deb http://mirrors.oss.org.cn/ubuntu/ dapper main restricted universe multiverse
deb-src http://mirrors.oss.org.cn/ubuntu/ dapper main restricted universe multiverse
xlld119
帖子: 1
注册时间: 2006-11-02 0:41

#12

帖子 xlld119 » 2006-11-02 17:41

aidinggeer 写了:唉,

连 兰州都这么


先进了


北京啊



!!



怎么如此不争气!!!!!!!!!!!!!!

说话太没水平了
aidinggeer
帖子: 108
注册时间: 2005-10-14 9:38

#13

帖子 aidinggeer » 2006-11-06 23:03

http://oss.org.cn/

界面很好,速度也还好的了.
头像
ubra
帖子: 27
注册时间: 2006-08-25 1:03

#14

帖子 ubra » 2006-11-09 22:02

西北地区的朋友有服了
falcon
帖子: 4
注册时间: 2006-06-20 10:49

#15

帖子 falcon » 2007-01-27 19:15

Hi,非常欢迎大家使用oss.lzu.edu.cn的镜像站哦,不过非常抱歉,前段时间由于系统故障,一度停止了服务
最近,服务器进行了重新配置,目前ubuntu镜像已经做好,欢迎大家继续使用,不过地址有些变更,请楼主修改一下
最新的地址是,就是目录少了一级:
deb ftp://mirror.lzu.edu.cn/ubuntu/ edgy main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ edgy-backports main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ edgy-proposed main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ edgy-security main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ edgy-updates main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu-cn/ edgy main multiverse restricted universe
对拉,这里也发一个自己弄的做“批量”镜像的脚本(使用wget工具),以及配置文件。
这个配置文件类似于mount的配置文件/etc/fstab,通过引入该文件,可以很灵活的实现类似mount -a的操作
即以后每次镜像只需要简单的执行mirror.sh就可以了,如果需要增加新的镜像,只需要在配置文件里头添加一行
另外,镜像的根目录,镜像的日志,配置文件mirror.conf的位置都可以在mirror.sh的开头配置
还有一个,支持“一个程序在同一时间只执行一次”,防止多次重复进行某个镜像
如果合适,你可以添加对其他镜像工具,如rsync的批量镜像支持

mirror.conf
#tool source destination proxy reject accept
wget http://archive.ubuntu.com/ubuntu/ ubuntu
mirror.sh

代码: 全选

#!/bin/bash
#function: mirror automatically.
#author  : falcon <zhangjinw[at]gmail.com>
#date    : 07/1/25
#dep     : mirror.conf -- define some parameters needed by mirror.sh
# Examples
#mirror ftp: wget -r -c -t0 -nH --cut-dirs=n -o `date +%y%m%d` -I dir1,dir2,dir3 -X dir1,dir2 ftp://xxx.xxx.xxx.xxx/xxx/
#mirror http: wget -Y on -nc -np -nH -r -ln -k -R '.htm*\?*' http://xxx.xxx.xxx.xxx/xxx/
# Init
WGET="/usr/bin/wget"            #tool
LOGROOT="/var/log/mirror"       #the root of log directory
DESTROOT="/path/to/mirror"
CONFFILE="mirror.conf"
 
# if the process of mine in executing, exit
if test $(ps -ef | grep $(basename $0) | grep -v grep | wc -l) -eq 1; then              #avoid duplicate
        echo "There is another process of mine executing..."
        exit
fi
 
# Test the root of destination,if not exist,exit Mirror
if test ! -d $DESTROOT; then
        echo "The root of destination:[ $DESTROOT ]is not exist."
        exit
fi
 
# Mirror
if test ! -f $CONFFILE; then
        echo "Can't find the config file: $CONFFILE"
        exit
fi
 
if test ! -d $LOGROOT; then
        mkdir $LOGROOT
fi
 
LINENUM=0
while read LINE
do
        let LINENUM=$LINENUM+1                  #record the line number
        if test ! -z "$(echo $LINE | grep "^#")"; then  #handle the note line
                continue
        fi
 
        LINEARR=($LINE)                         #save the line to an array
 
        if test ! -z "$(ps -ef | grep $(basename ${LINEARR[2]}) | grep -v grep)"; then          #avoid duplicate
                echo "This mirror:[ ${LINEARR[2]} ]process is executing..."
                continue
        fi
 
        MTOOL=""                                #tool
        MFLAG=" -m -c -t0 -nH -b "              #flags
        SOURCE=""                               #source
        DEST=""                                 #destination
 
 
        case ${LINEARR[0]} in                   #get the tool
          wget) MTOOL=$WGET
                ;;
          *) echo "$LINENUM: Can't support the mirror tool: ${LINEARR[0]}"
                continue
                ;;
        esac
 
        SOURCE=${LINEARR[1]}                    #get the source
        PROTOCOL=${SOURCE:0:4}                  #get the protocol
        case $PROTOCOL in
          http) MFLAG="$MFLAG -np -k "                          #add the protocol flag
                if test ! -z "${LINEARR[4]}"; then              #add the reject flag of file type
                        MFLAG="$MFLAG -R ${LINEARR[4]} "
                fi
                if test ! -z "${LINEARR[5]}"; then              #add the accept flag of file type
                        MFLAG="$MFLAG -A ${LINEARR[5]} "
                fi
                ;;
          ftp:) MFLAG="$MFLAG"
                if test ! -z "${LINEARR[4]}"; then
                        MFLAG="$MFLAG --exclude-directories=${LINEARR[4]} "
                fi
                if test ! -z "${LINEARR[5]}"; then
                        MFLAG="$MFLAG --include-directories=${LINEARR[5]} "
                fi
                ;;
          *) echo "$LINENUM: Can't support the mirror protocol: $PROTOCOL"
                break
                ;;
        esac
 
        MFLAG="$MFLAG -o $LOGROOT/$(basename ${LINEARR[2]})_$(date +%y%m%d).log"        #add the log flag
        let CUTDIRNUM=$(echo $SOURCE | sed -e "s/\//\n/g" | wc -l)-4                    #add --cut-dirs flag
        if test ! $CUTDIRNUM -eq 0; then
                MFLAG="$MFLAG --cut-dirs=$CUTDIRNUM "
        fi
 
        DEST="$DESTROOT/$(basename ${LINEARR[2]})"              #get the destination directory
        if test ! -d $DEST; then
                mkdir $DEST
        fi
 
        case ${LINEARR[3]} in                                   #add the --proxy flag, if you set y, see the next note
          Y|y) MFLAG="$MFLAG -Y on "                            #Note: The proxy is defined in /etc/wgetrc
                ;;
          *) MFLAG="$MFLAG"
                ;;
        esac
 
        cd $DEST                                                #Entering into the destination directory
        echo "Entering into the directory: $DEST"
 
        ls $LOGROOT/$(basename ${LINEARR[2]})_*.log 2>/dev/null #Delete the old log file,if exist
        if test $? -eq 0; then
                LOGFILE=$(ls $LOGROOT/$(basename ${LINEARR[2]})_*.log)
                echo "Delete the old log file: $LOGFILE"
                rm $LOGFILE
        fi
 
        $MTOOL $MFLAG $SOURCE                                   #Ececuting the wget tool to start to mirror
        echo -e "Executing:\n $MTOOL $MFLAG $SOURCE"
 
done < $CONFFILE 
回复