国内较快的raspbian安装源(中科大)
本帖最后由 nationals 于 2014-4-19 22:48 编辑set-source.sh#!/bin/sh
cat /etc/apt/sources.list
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo sed -i 's/mirrordirector.raspbian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
cat /etc/apt/sources.list
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
sudo rpi-update
花一晚时间搭建了一个本地的源. (100M光纤) ;P
可以好好利用下了.#!/bin/sh
cat /etc/apt/sources.list
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo sed -i 's/mirrordirector.raspbian.org/192.168.11.1/g' /etc/apt/sources.list
cat /etc/apt/sources.list
本地源大概50G左右.rsync --archive --verbose --delete --delete-delay --delay-updates archive.raspbian.org::archive /volume1/web/mirrors/raspbian 科技大学那个 速度也不错 顺便镜像了 ftp.cn.debian.org/debian
;P
页:
[1]