Construction of Embedded Linux development Environment (v)--ubuntu third-party repositories source
In general Ubuntu official software warehouse due to the server in foreign countries, download update speed is slow, need to replace the software warehouse as a domestic mirror point.
1.
Modify the source configuration file
Back up the original configuration file first
MV /etc/apt/sources.list/etc/apt/sources.list.b AK
Vim /etc/apt/sources.list
Add a domestic Ubuntu image point to the configuration file
Ubuntu 163 Mirroring Point:
Deb Http://mirrors.163.com/ubuntu/precise main restricted
DEB-SRC http://mirrors.163.com/ubuntu/precise Main restricted
Deb Http://mirrors.163.com/ubuntu/precise-updates main restricted
DEB-SRC http://mirrors.163.com/ubuntu/precise-updates Main restricted
Deb Http://mirrors.163.com/ubuntu/precise Universe
DEB-SRC Http://mirrors.163.com/ubuntu/precise Universe
Deb Http://mirrors.163.com/ubuntu/precise-updates Universe
DEB-SRC Http://mirrors.163.com/ubuntu/precise-updates Universe
Deb Http://mirrors.163.com/ubuntu/precise Multiverse
DEB-SRC Http://mirrors.163.com/ubuntu/precise Multiverse
Deb Http://mirrors.163.com/ubuntu/precise-updates Multiverse
DEB-SRC Http://mirrors.163.com/ubuntu/precise-updates Multiverse
Deb Http://mirrors.163.com/ubuntu/precise-backports main restricted universe multiverse
DEB-SRC http://mirrors.163.com/ubuntu/precise-backports main restricted universe multiverse
Deb Http://mirrors.163.com/ubuntu/precise-security main restricted
DEB-SRC http://mirrors.163.com/ubuntu/precise-security Main restricted
Deb Http://mirrors.163.com/ubuntu/precise-security Universe
DEB-SRC Http://mirrors.163.com/ubuntu/precise-security Universe
Deb Http://mirrors.163.com/ubuntu/precise-security Multiverse
DEB-SRC http://mirrors.163.com/ubuntu/precise-security Multiverse
Deb Http://extras.ubuntu.com/ubuntu Precise Main
Deb-src Http://extras.ubuntu.com/ubuntu Precise Main
Beijing Polytechnic University Ubuntu image point:
Deb Http://mirror.bjtu.edu.cn/ubuntu/precise main Multiverse restricted universe
Deb Http://mirror.bjtu.edu.cn/ubuntu/precise-backports main Multiverse restricted universe
Deb http://mirror.bjtu.edu.cn/ubuntu/precise-proposed main Multiverse restricted universe
Deb Http://mirror.bjtu.edu.cn/ubuntu/precise-security main Multiverse restricted universe
Deb Http://mirror.bjtu.edu.cn/ubuntu/precise-updates main Multiverse restricted universe
DEB-SRC http://mirror.bjtu.edu.cn/ubuntu/precise main Multiverse restricted universe
DEB-SRC http://mirror.bjtu.edu.cn/ubuntu/precise-backports main Multiverse restricted universe
DEB-SRC http://mirror.bjtu.edu.cn/ubuntu/precise-proposed main Multiverse restricted universe
DEB-SRC http://mirror.bjtu.edu.cn/ubuntu/precise-security main Multiverse restricted universe
DEB-SRC http://mirror.bjtu.edu.cn/ubuntu/precise-updates main Multiverse restricted universe
2.
Update Source
Apt-get Update
now the revised domestic The Ubuntu image point is ready to use.
This article from "Endless life, Struggle not only" blog, please be sure to keep this source http://9291927.blog.51cto.com/9281927/1789320
Construction of Embedded Linux development Environment (v)--ubuntu third-party repositories source