操作系统

加入东北大学FTP上的源...全解-
作者 fantysun 2006年07月11日 08:32

    昨天晚上写了

    <<新手初解apt的源[附:各发行版信息和镜像目录的说明]>>

    ,于是萌生了自己学习加入源的想法,今天上学校FTP的时候,发现学校FTP上居然做上了archive.ubuntu.com镜像,

    

    先上我们学校的FTP,找到ubuntu软件库的位置:ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu

    然后:

     #sudo vi /etc/apt/source.list

    在较前边的位置中加入下边的这几段:

    #NEU sources

    deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu dapper main multiverse restricted universe

    deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu dapper-proposed main multiverse restricted universe

    deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu dapper-backports main multiverse restricted universe

    deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu dapper-security main multiverse restricted universe

    deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu dapper-updates main multiverse restricted universe

    deb-src ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu dapper main multiverse restricted universe

    #NEU end

    接着:

     #sudo apt-get update

     大功告成!!

    

    

    

    

    

    

    

    

    

    本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/21355/showart_139208.html

打开APP阅读全文

加入东北大学FTP上的源...全解-

加入东北大学FTP上的源...全解-

长按识别二维码 进入IT168查看全文

请长按保存图片
{{data.thematic.text}}

相关文章

加载中...

分享到

请使用浏览器的分享功能
分享到微信等