配置Ubuntu Server高速apt-get源
今天剛裝上Ubuntu Server 12,預設的apt-get源比較慢。更改一下源地址。
方法:
1、修改源地址:
cp /etc/apt/sources.list /etc/apt/sources.list.bak
vim /etc/apt/sources.list
加入如下內容(中科大的):
deb http://mirrors.ustc.edu.cn/ubuntu/ precise-updates main restricted
deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise-updates main restricted
deb http://mirrors.ustc.edu.cn/ubuntu/ precise universe
deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise universe
deb http://mirrors.ustc.edu.cn/ubuntu/ precise-updates universe
deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise-updates universe
deb http://mirrors.ustc.edu.cn/ubuntu/ precise multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ precise-updates multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise-updates multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
比較快的源:
搜狐源:
deb http://mirrors.sohu.com/ubuntu/ precise-updates main restricted
deb-src http://mirrors.sohu.com/ubuntu/ precise-updates main restricted
deb http://mirrors.sohu.com/ubuntu/ precise universe
deb-src http://mirrors.sohu.com/ubuntu/ precise universe
deb http://mirrors.sohu.com/ubuntu/ precise-updates universe
deb-src http://mirrors.sohu.com/ubuntu/ precise-updates universe
deb http://mirrors.sohu.com/ubuntu/ precise multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-updates multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise-updates multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse
網易源:
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
更新看看速度:
sudo apt-get update
sudo apt-get upgrade
相關文章
- Ubuntu apt-get和pip源更換Ubuntuapt-get
- 【Ubuntu】修改 apt-get 源為國內映象源的方法Ubuntuapt-get
- Ubuntu apt-get和pip國內源更換Ubuntuapt-get
- Ubuntu : apt-get 命令Ubuntuapt-get
- Ubuntu apt-get proxyUbuntuapt-get
- 【Ubuntu】Ubuntu 24 配置映象源Ubuntu
- Ubuntu Server 網路配置UbuntuServer
- ubuntu apt-get 解除安裝Ubuntuapt-get
- Ubuntu apt-get 安裝 MongoDBUbuntuapt-getMongoDB
- Ubuntu 配置軟體源Ubuntu
- ubuntu:舊版本配置apt源(ubuntu 21.10)UbuntuAPT
- 02_Ubuntu使用apt-get下載Ubuntuapt-get
- Linux 配置本地源 (Ubuntu / CentOS)LinuxUbuntuCentOS
- Ubuntu如何配置軟體映象源?Ubuntu
- Ubuntu-16.04.2-Server配置網路卡IPUbuntuServer
- docker apt-get 換源問題Dockerapt-get
- Docker中ubuntu映象配置apt阿里源DockerUbuntuAPT阿里
- ubuntu 12.10 sudo apt-get update 失敗Ubuntuapt-get
- 修改apt-get和yum為阿里源apt-get阿里
- Ubuntu學習之apt-get update 升級錯誤Ubuntuapt-get
- ubuntu 14.04 下通過apt-get 安裝jdkUbuntuapt-getJDK
- Ubuntu Server18.04 靜態 IP 配置教程UbuntuServer
- Ubuntu 配置 pip.conf 新增國內源Ubuntu
- ubuntu配置中國科學技術大學映象源Ubuntu
- 在Ubuntu上使用apt-get安裝MySQL+安全優化Ubuntuapt-getMySql優化
- ubuntu server confUbuntuServer
- 國內MAVEN資源庫高速映象Maven
- Ubuntu 配置Ubuntu
- VMware 虛擬機器圖文安裝和配置 Ubuntu Server 22.04虛擬機UbuntuServer
- 用squid配置代理伺服器(基於Ubuntu Server 12.04)UI伺服器UbuntuServer
- ubuntu 修改源Ubuntu
- ubuntu換源Ubuntu
- Ubuntu Server修改時區UbuntuServer
- SetUp a Secure Ubuntu Server[轉]UbuntuServer
- apt-getapt-get
- 在ubuntu中用apt-get安裝LEMP棧(linux+nginx+mysql+php)Ubuntuapt-getLinuxNginxMySqlPHP
- Ubuntu小配置Ubuntu
- Ubuntu OpenNTM配置Ubuntu