zoukankan      html  css  js  c++  java
  • ubuntu 11.10 更新源source.list

    目前,很多高校和公司都做了镜像供Ubuntu爱好者或研究人员使用,如网易和电子科大都有自己的镜像服务,网址分别为:电子科大(http://ubuntu.uestc.edu.cn/),网易(http://ubuntu.cn99.com/.help/ubuntu.html
    1)首先备份一下源列表,sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup 
    2)修改更新源,sudo vi /etc/apt/sources.list 添加源:
    #电子科技大学 (教育网)
    deb http://ubuntu.uestc.edu.cn/ubuntu/ oneiric main restricted universe multiverse 
    deb http://ubuntu.uestc.edu.cn/ubuntu/ oneiric-backports main restricted universe multiverse 
    deb http://ubuntu.uestc.edu.cn/ubuntu/ oneiric-proposed main restricted universe multiverse 
    deb http://ubuntu.uestc.edu.cn/ubuntu/ oneiric-security main restricted universe multiverse 
    deb http://ubuntu.uestc.edu.cn/ubuntu/ oneiric-updates main restricted universe multiverse 
    deb-src http://ubuntu.uestc.edu.cn/ubuntu/ oneiric main restricted universe multiverse 
    deb-src http://ubuntu.uestc.edu.cn/ubuntu/ oneiric-backports main restricted universe multiverse 
    deb-src http://ubuntu.uestc.edu.cn/ubuntu/ oneiric-proposed main restricted universe multiverse 
    deb-src http://ubuntu.uestc.edu.cn/ubuntu/ oneiric-security main restricted universe multiverse 
    deb-src http://ubuntu.uestc.edu.cn/ubuntu/ oneiric-updates main restricted universe multiverse
    #中国科技大学 
    deb http://mirrors.ustc.edu.cn/ubuntu/ oneiric main restricted universe multiverse 
    deb http://mirrors.ustc.edu.cn/ubuntu/ oneiric-backports restricted universe multiverse 
    deb http://mirrors.ustc.edu.cn/ubuntu/ oneiric-proposed main restricted universe multiverse 
    deb http://mirrors.ustc.edu.cn/ubuntu/ oneiric-security main restricted universe multiverse 
    deb http://mirrors.ustc.edu.cn/ubuntu/ oneiric-updates main restricted universe multiverse 
    deb-src http://mirrors.ustc.edu.cn/ubuntu/ oneiric main restricted universe multiverse 
    deb-src http://mirrors.ustc.edu.cn/ubuntu/ oneiric-backports main restricted universe multiverse 
    deb-src http://mirrors.ustc.edu.cn/ubuntu/ oneiric-proposed main restricted universe multiverse 
    deb-src http://mirrors.ustc.edu.cn/ubuntu/ oneiric-security main restricted universe multiverse 
    deb-src http://mirrors.ustc.edu.cn/ubuntu/ oneiric-updates main restricted universe multiverse
    #网易 Ubuntu 11.10 源(速度很快) 
    deb http://mirrors.163.com/ubuntu/ oneiric main universe restricted multiverse 
    deb-src http://mirrors.163.com/ubuntu/ oneiric main universe restricted multiverse 
    deb http://mirrors.163.com/ubuntu/ oneiric-security universe main multiverse restricted 
    deb-src http://mirrors.163.com/ubuntu/ oneiric-security universe main multiverse restricted 
    deb http://mirrors.163.com/ubuntu/ oneiric-updates universe main multiverse restricted 
    deb http://mirrors.163.com/ubuntu/ oneiric-proposed universe main multiverse restricted 
    deb-src http://mirrors.163.com/ubuntu/ oneiric-proposed universe main multiverse restricted 
    deb http://mirrors.163.com/ubuntu/ oneiric-backports universe main multiverse restricted 
    deb-src http://mirrors.163.com/ubuntu/ oneiric-backports universe main multiverse restricted 
    deb-src http://mirrors.163.com/ubuntu/ oneiric-updates universe main multiverse restricted
    #这里你也可以直接使用更快速的ubuntu.cn99.com的源(推荐):
    deb http://ubuntu.cn99.com/ubuntu/ oneiric main restricted universe multiverse
    deb http://ubuntu.cn99.com/ubuntu/ oneiric-updates main restricted universe multiverse
    deb http://ubuntu.cn99.com/ubuntu/ oneiric-security main restricted universe multiverse
    deb http://ubuntu.cn99.com/ubuntu/ oneiric-backports main restricted universe multiverse
    deb http://ubuntu.cn99.com/ubuntu-cn/ oneiric main restricted universe multiverse
    3) 通知ubuntu启用新的更新源   sudo apt-get update
  • 相关阅读:
    mysql 开启sql执行日志
    opcache.revalidate_freq 修改无效
    centos7 maven3.6.3安装
    CentOS7.5下基于FTP服务的局域网yum源搭建
    Centos7——防火墙(Firewall)开启常见端口命令
    Linux系统通过firewall限制或开放IP及端口
    CentOS7 FTP安装与配置
    centos7 搭建个人-企业私有云盘-seafile
    Centos6-7下杀毒软件clamav的安装和使用 (已成功测试)-----转发
    tomcat 安全规范(tomcat安全加固和规范1)--转发
  • 原文地址:https://www.cnblogs.com/nexiyi/p/2847166.html
Copyright © 2011-2022 走看看