Ubuntu修改源
来源:互联网 发布:连续梁弯矩计算软件 编辑:程序博客网 时间:2024/05/18 03:43
cd /etc/apt/
ls -l
看到sources.list
mv sources.list sources.list.bak
cat << EOF > sources.list
> # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
> # newer versions of the distribution.
>
> deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
> deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted
>
> ## Major bug fix updates produced after the final release of the
> ## distribution.
> deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
> deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
>
> ## Uncomment the following two lines to add software from the 'universe'
> ## repository.
> ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
> ## team. Also, please note that software in universe WILL NOT receive any
> ## review or updates from the Ubuntu security team.
> deb http://mirrors.aliyun.com/ubuntu/ xenial universe
> deb-src http://mirrors.aliyun.com/ubuntu/ xenial universe
> deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
> deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
>
> ## N.B. software from this repository may not have been tested as
> ## extensively as that contained in the main release, although it includes
> ## newer versions of some applications which may provide useful features.
> ## Also, please note that software in backports WILL NOT receive any review
> ## or updates from the Ubuntu security team.
> # deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted
> # deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted
>
> deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
> deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
> deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
> deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security universe
> # deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse
> # deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse
> EOF
/etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
search lan
nameserver 8.8.8.8
nameserver 8.8.4.4
- 修改Ubuntu的源
- Ubuntu修改源
- Ubuntu源列表修改
- Ubuntu 修改源
- ubuntu软件源修改
- ubuntu 修改源
- ubuntu 14.10修改源
- Ubuntu 修改apt源
- Ubuntu修改apt源
- Ubuntu修改源
- Ubuntu修改源
- ubuntu 修改软件源
- Ubuntu修改软件源 - Ubuntu配置笔记
- [Ubuntu]修改 Ubuntu 源为清华大学
- ubuntu关于源的修改
- 【Linux】 修改Ubuntu软件源
- ubuntu修改源的图形界面
- 修改ubuntu的软件源
- 对图像高频信号和低频信号的理解
- 在aarch64主机中使用qemu启动虚机2--使用TAP网络模式
- 161206 - Ordinary least square, ridge regression and weighted least square 最小二乘,岭回归,加权最小二乘
- Xc-C++基础实例系列
- VIM操作
- Ubuntu修改源
- 图像处理之图像的平滑与锐化
- php,ldap登录例子
- 创业者看成功故事有用吗?有些东西,你真的学不来
- NGUI研究院之三种方式监听NGUI的事件方法
- Xc-C++_STL实例系列
- 利用 Myeclipse 生成 Web Service 客户端代码
- 安装protobuf Python支持
- 从VSS到SVN再到Git 记Git的基本操作