• <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
            <2007年6月>
            272829303112
            3456789
            10111213141516
            17181920212223
            24252627282930
            1234567

            常用鏈接

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

              回復  更多評論
              
            国产ww久久久久久久久久| 一本一本久久a久久综合精品蜜桃| 色播久久人人爽人人爽人人片AV| 国产精品久久久久久久久久影院| 精品久久久久久国产| 亚洲精品无码专区久久久 | 久久精品国产AV一区二区三区| 亚洲国产成人久久一区久久| 亚洲精品乱码久久久久66| 99久久精品国产综合一区| 欧美一区二区久久精品| 999久久久免费精品国产| 欧洲性大片xxxxx久久久| 69SEX久久精品国产麻豆| 偷窥少妇久久久久久久久| 国产精品久久久天天影视| 亚洲精品97久久中文字幕无码| 波多野结衣中文字幕久久 | 久久精品成人欧美大片| 国产精品久久久久乳精品爆| 无码久久精品国产亚洲Av影片 | 国产精品久久久久蜜芽| 久久本道综合久久伊人| 精品国产乱码久久久久久郑州公司| 久久天天躁狠狠躁夜夜av浪潮| 精品久久人妻av中文字幕| 7777精品久久久大香线蕉 | 亚洲香蕉网久久综合影视| 精品久久久久久无码人妻热| 国内精品伊人久久久久av一坑 | 久久激情亚洲精品无码?V| 国产精品99久久99久久久| 亚洲中文字幕无码久久综合网 | 久久久精品国产免大香伊| 日本亚洲色大成网站WWW久久 | 亚洲国产精品人久久| 久久九九青青国产精品| 久久婷婷久久一区二区三区| 久久99精品久久久久久| 国产精品久久网| 精品无码人妻久久久久久|