• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 298  文章 - 377  trackbacks - 0
            <2009年6月>
            31123456
            78910111213
            14151617181920
            21222324252627
            2829301234
            567891011

            常用鏈接

            留言簿(34)

            隨筆分類

            隨筆檔案

            文章檔案

            相冊

            收藏夾

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            sources.list (/etc/apt/sources.list)
            deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 CD Binary-1 20090214-16:29]/ lenny main

            deb http://security.debian.org/ lenny/updates main
            deb-src http://security.debian.org/ lenny/updates main

            deb http://volatile.debian.org/debian-volatile lenny/volatile main
            deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

            #以下是后來添加的
            deb ftp://ftp.debian.org/debian/ lenny main contrib non-free
            deb-src ftp://ftp.debian.org/debian/ lenny main contrib non-free


            修改后執行:
            #apt-get update
            #apt-get upgrade
            IP Address (/etc/network/interfaces)
            # This file describes the network interfaces available on your system
            # and how to activate them. For more information, see interfaces(5).

            # The loopback network interface
            auto lo
            iface lo inet loopback

            # The primary network interface
            allow-hotplug eth0
            iface eth0 inet static
            address 192.168.18.4
            netmask 255.255.255.0
            gateway 192.168.18.1
            DNS (/etc/resolve.conf)
            domain localdomain
            search localdomain
            nameserver 192.168.18.1
             

            修改好后可能需要執行:
            #/etc/init.d/networking restart
            甚至是重啟。

            posted on 2009-06-10 16:03 聶文龍 閱讀(3197) 評論(2)  編輯 收藏 引用

            FeedBack:
            # re: Debian(5.0) lenny中配置源(sources.list)ip地址,dns 2009-06-10 16:10 聶文龍
            My Debian 5.0 sources.list
             
            # deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 NETINST Binary-1 20090214-16:03]/ lenny main

            deb http://ftp.us.debian.org/debian/ lenny main
            deb-src http://ftp.us.debian.org/debian/ lenny main

            deb http://ftp.us.debian.org/debian/ lenny contrib
            deb-src http://ftp.us.debian.org/debian/ lenny contrib

            deb http://ftp.us.debian.org/debian/ lenny non-free
            deb-src http://ftp.us.debian.org/debian/ lenny non-free

            deb http://security.debian.org/ lenny/updates main
            deb-src http://security.debian.org/ lenny/updates main

            deb http://volatile.debian.org/debian-volatile lenny/volatile main
            deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
              回復  更多評論
              
            # re: Debian(5.0) lenny中配置源(sources.list)ip地址,dns 2009-06-10 16:34 聶文龍

            目前debian lenny 5.0速度最快最穩定的源 - [系統安裝]


            在終端執行命令

            備份當前的源列表,以便日后需要時恢復:

            sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

            編輯源列表

            Ubuntu 和debian 中執行:
            gedit /etc/apt/sources.list

            Kubuntu 中執行:
            kdesu kate /etc/apt/sources.list

            Xubuntu 中執行:
            gksu mousepad /etc/apt/sources.list

            適用于所有版本:
            sudo vim /etc/apt/sources.list

            從以下各服務器列表內容中選擇一段替換文件中的所有內容,一般來說加入一至兩組即可,加多了影響更新速度。為防止非官方源中軟件包不全的問題,請在sources.list文件中尾部添加一組官方源。
            # deb file:/cdrom/ etch main contrib

            #deb http://mirrors.cn99.com/debian/ lenny main non-free contrib
            #deb-src http://mirrors.cn99.com/debian/ lenny main non-free contrib
             
            deb http://mirrors.163.com/debian stable contrib main non-free
            deb-src http://mirrors.163.com/debian stable contrib main non-free

            deb http://mirror.dlut.edu.cn/debian/ lenny main non-free contrib
            deb-src http://mirror.dlut.edu.cn/debian/ lenny main non-free contrib         
            deb http://debian.ustc.edu.cn/debian/ lenny main non-free contrib
            deb-src http://debian.ustc.edu.cn/debian/ lenny main non-free contrib

            deb http://ftp.tw.debian.org/debian lenny main 

            deb-src http://ftp.tw.debian.org/debian lenny main

            以上是目前debian lenny 速度穩定的源

            編輯保存后執行 apt-get update    apt-get upgrade    apt-get dist-upgrade

              回復  更多評論
              
            国产精品美女久久久久| 久久精品国产男包| 久久综合九色综合久99| 国产精品久久久久久久午夜片| 99久久伊人精品综合观看| 中文成人无码精品久久久不卡 | 亚洲午夜福利精品久久| 亚洲欧美伊人久久综合一区二区| 国产精品久久免费| 亚洲性久久久影院| 久久亚洲精品视频| 97精品依人久久久大香线蕉97| 久久精品成人国产午夜| 久久亚洲AV无码精品色午夜| 91精品国产乱码久久久久久| 久久久无码精品亚洲日韩蜜臀浪潮| 久久久91精品国产一区二区三区| 日本WV一本一道久久香蕉| 精品人妻伦一二三区久久| 精品综合久久久久久888蜜芽| 欧美激情精品久久久久久| 亚洲综合婷婷久久| 久久久久女人精品毛片| 日本五月天婷久久网站| 欧美精品一区二区久久| 品成人欧美大片久久国产欧美...| 国内精品九九久久久精品| 狠狠色丁香久久婷婷综合_中| 久久精品国产亚洲AV不卡| 97久久超碰国产精品旧版| 久久AV高清无码| 亚洲精品无码久久久久久| 久久综合九色综合网站| 亚洲国产成人久久一区久久| 久久九九久精品国产| 久久久久成人精品无码| 久久综合精品国产一区二区三区| 99久久精品这里只有精品| 97久久精品人人做人人爽| 久久久WWW成人免费精品| 久久丝袜精品中文字幕|