ubuntu 更新源
参考:https://www.cnblogs.com/Alier/p/6358447.html
1.为何要修改更新源
给自家的ubuntu下载软件速度有点慢,毕竟是从国外下载软件,就想更换到国内比较好的更新源(就是这些软件所在的服务器),一般直接百度Ubuntu更新源就能出来一大堆,这时候最好是找和自己Ubuntu版本一致的更新源,我的Ubuntu版本是16.04,下面是我找到的一个比较好的更新源
2.修改的步骤
(1)切换到超级用户root。
su
(2)备份原来的更新源。
cp /etc/apt/sources.list /etc/apt/sources.list.backup
(3)更改更新源文件的读写权限
cd /etc/apt
chmod 777 sources.list
(4)修改更新源文件的内容
gedit sources.list
将下面的内容复制——粘贴——覆盖——更新源文件source.list文件。
# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release AMD64 (20160420.1)]/ xenial main restricted
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse
3.让更新源生效
sudo apt-get update
相关阅读
smartqq介绍: http://w.qq.com/在线WebQQ网页平台是腾讯在WebOS云平台上推出的一款单纯的聊天工具。SmartQQ JAVA开源项目:https:
ConcurrentHashMap原理分析(1.7与1.8)针对原文进行了一
前言:本人做了一定的修改 以前写过介绍HashMap的文章,文中提到过HashMap在put的时候,插入的元素超过了容量(由负载因子决定)的范围就
http://picasa.google.com/intl/en_us/上面的是下载的地址Picasa2.7的中文版出来好长时间了,一直没有更新,今天我才看到3.0已经出来
通常为了满足页面整体的风格的情况下,需要修改滚动条的颜色,各大视频网站都是以添加自定义滚动条的方式来满足,其实也可以理解,毕竟好
转自 http://blog.csdn.net/qq_32353771/article/details/53899167开源Java小游戏前言看到标题可能有人要笑我,用Java写游戏?没办