• <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
            <2012年8月>
            2930311234
            567891011
            12131415161718
            19202122232425
            2627282930311
            2345678

            常用鏈接

            留言簿(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 聶文龍 閱讀(3204) 評論(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

              回復  更多評論
              
            亚洲国产精品综合久久一线| 日韩欧美亚洲综合久久| 色偷偷888欧美精品久久久| 精品久久久久久无码中文野结衣 | 日产精品久久久久久久| 精品永久久福利一区二区| 久久久久久毛片免费看| 久久久精品2019免费观看| 久久se这里只有精品| 国产精品免费福利久久| 四虎国产精品成人免费久久| 久久精品国产清自在天天线| 久久国产乱子伦免费精品| 久久天天躁狠狠躁夜夜躁2014| 国产—久久香蕉国产线看观看| 久久久久人妻精品一区| 久久99这里只有精品国产| 99久久婷婷国产综合精品草原| 久久中文骚妇内射| 国产美女亚洲精品久久久综合| 久久免费观看视频| 99久久99久久精品国产片果冻| .精品久久久麻豆国产精品| 亚洲人成网亚洲欧洲无码久久| 色妞色综合久久夜夜| 久久噜噜久久久精品66| 久久久久久A亚洲欧洲AV冫| 2020最新久久久视精品爱| 久久免费视频观看| 久久久久久狠狠丁香| 97超级碰碰碰碰久久久久| 大蕉久久伊人中文字幕| 99久久综合狠狠综合久久| 久久91这里精品国产2020| 久久精品国产99久久久香蕉| 久久国产三级无码一区二区| 久久99精品久久久久久噜噜| 欧美性猛交xxxx免费看久久久| 一级做a爰片久久毛片看看| 91麻豆国产精品91久久久| 性欧美大战久久久久久久久|