ubuntu 14.04阿里云软件源
程序员文章站
2022-04-04 22:48:56
...
sudo cp /etc/apt/sources.list /etc/apt/sources.list.default #备份
sudo vim /etc/apt/sources.list #修改
阿里云源
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
sudo apt-get update #更新列表
如果update出现错误,可能是没联网或者DNS的原因
修改DNS重启网络即可
sudo vim /etc/network/interfaces
上一篇: 浅谈PHP源码十七:关于array_diff,array_udiff,array_diff_ukey,array_diff_uassoc,array_udiff_uassoc的介绍
下一篇: css怎么实现平方
推荐阅读
-
阿里云服务器ECS上ubuntu安装nginx后默认站点页面打开错误,显示无法访问此网站
-
阿里云服务器ECS上ubuntu安装nginx后默认站点页面打开错误,显示无法访问此网站
-
[Linux] 纯净ubuntu系统仓库更换为阿里云的源
-
阿里云上安装pip3(Ubuntu)
-
Shell脚本实现自动检测修改最快的Ubuntu软件源
-
Centos7配置阿里云yum源
-
本地Windows远程桌面连接阿里云Ubuntu 16.04服务器的操作方法
-
解析阿里云ubuntu12.04环境下配置Apache+PHP+PHPmyadmin+MYsql
-
mac下配置和访问阿里云服务器(Ubuntu系统)的图文教程
-
Ubuntu 7.10修改软件源的方法