• <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


            修改后執(zhí)行:
            #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
             

            修改好后可能需要執(zhí)行:
            #/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速度最快最穩(wěn)定的源 - [系統(tǒng)安裝]


            在終端執(zhí)行命令

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

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

            編輯源列表

            Ubuntu 和debian 中執(zhí)行:
            gedit /etc/apt/sources.list

            Kubuntu 中執(zhí)行:
            kdesu kate /etc/apt/sources.list

            Xubuntu 中執(zhí)行:
            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 速度穩(wěn)定的源

            編輯保存后執(zhí)行 apt-get update    apt-get upgrade    apt-get dist-upgrade

              回復  更多評論
              
            久久精品一区二区三区AV| 怡红院日本一道日本久久 | 青青草原综合久久大伊人导航| 久久亚洲欧美日本精品| 香港aa三级久久三级老师2021国产三级精品三级在 | www性久久久com| 日日狠狠久久偷偷色综合免费| 亚洲午夜久久久影院| 久久国产成人午夜aⅴ影院| 伊人久久精品无码二区麻豆| 国产亚州精品女人久久久久久| 欧美噜噜久久久XXX| 天堂无码久久综合东京热| 欧美日韩中文字幕久久伊人| 亚洲va久久久噜噜噜久久天堂| 久久人人爽人人澡人人高潮AV | 久久乐国产精品亚洲综合| 久久精品国产亚洲AV无码娇色| 国产ww久久久久久久久久| 久久伊人五月丁香狠狠色| 国产精品永久久久久久久久久 | 伊人 久久 精品| 久久久久亚洲AV成人网人人软件| 精品久久一区二区三区| 奇米综合四色77777久久| 精品久久久久久久国产潘金莲 | 亚洲国产美女精品久久久久∴| 久久久WWW成人| 人人狠狠综合88综合久久| 久久久久综合中文字幕| 久久中文字幕无码专区| 青青热久久国产久精品| 久久青青草原精品国产不卡| 欧洲性大片xxxxx久久久| 久久只这里是精品66| 久久国语露脸国产精品电影| 久久九九久精品国产免费直播| 无码人妻久久一区二区三区免费| 色偷偷88888欧美精品久久久| 狠狠色婷婷久久综合频道日韩 | 岛国搬运www久久|