ubuntu 16.04 apt源使用阿里云镜像
2018-01-01 14:53
501 查看
备份原来的源
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bakcup
编辑原来的文件
sudo vim /etc/apt/sources.list
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
更新
sudo apt update
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bakcup
编辑原来的文件
sudo vim /etc/apt/sources.list
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
更新
sudo apt update
相关文章推荐
- Ubuntu16.04使用阿里云镜像安装Mongodb
- Windows下使用远程桌面连接阿里云ubuntu 16.04服务器
- web 服务器阿里云基本使用(Ubuntu16.04LTS)
- Ubuntu 16.04 + ROS Kinetic 机器人操作系统学习镜像分享与使用安装说明
- Ubuntu 16.04 + ROS Kinetic 机器人操作系统学习镜像分享与使用安装说明
- Ubuntu 16.04 + ROS Kinetic 机器人操作系统学习镜像分享与使用安装说明
- Ubuntu 16.04 + ROS Kinetic 机器人操作系统学习镜像分享与使用安装说明
- windows 使用vnc图形化界面远程连接阿里云ubuntu 16.04云服务器
- docker:一、使用镜像Ubuntu 16.04
- ubuntu16.04安装及配置tomcat,IDEA集成tomcat及部署web项目,IDEA通过阿里云镜像加速maven项目创建
- ubuntu16.04 使用阿里云源
- 阿里云ECS 镜像ubuntu16.04配置apache+mysql+php
- ubuntu 16.04 安装docker (阿里云镜像)
- 阿里云服务器使用镜像市场上的环境以后sql不能远程问题
- 使用win10远程控制ubuntu16.04
- 使用阿里云Docker镜像加速
- 阿里云ECS部署Flask(Nginx,gunicorn,supervisor,fabric,ubuntu16.04)
- 阿里云Ubuntu 16.04架设vsftpd+mysql
- 在阿里云服务器(Ubuntu系统)下使用WordPress搭建博客网站教程
- ubuntu16.04输入法使用,fcitx输入法配置