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

              回復  更多評論
              
            狠狠色丁香久久婷婷综合图片 | 亚洲伊人久久精品影院| 久久精品国产亚洲一区二区三区| 国产欧美一区二区久久| 国产成人精品久久亚洲高清不卡| 久久免费99精品国产自在现线 | 久久国产色AV免费看| 日韩一区二区久久久久久| 久久强奷乱码老熟女网站| 99久久综合国产精品免费| 久久99国产精品久久久| 性做久久久久久久久| 综合人妻久久一区二区精品| 久久婷婷久久一区二区三区| 97久久国产露脸精品国产| 国内精品久久久久久不卡影院 | 狠狠色丁香久久婷婷综| 青青草原综合久久大伊人| 久久精品国产亚洲av水果派| 久久久噜噜噜久久中文字幕色伊伊| 综合久久国产九一剧情麻豆| 久久国产精品二国产精品| 国产精品久久久久AV福利动漫| 精品国产一区二区三区久久蜜臀| 亚洲午夜久久久久久噜噜噜| 欧美激情精品久久久久久| 亚洲国产精品一区二区久久| 性欧美大战久久久久久久久| 亚洲午夜久久影院| 91久久精品电影| 丁香色欲久久久久久综合网| 久久精品无码一区二区三区| 精品蜜臀久久久久99网站| 午夜不卡久久精品无码免费| 奇米影视7777久久精品人人爽| 久久AAAA片一区二区| 久久99精品久久久久久水蜜桃| 亚洲午夜久久久精品影院| 99久久精品国产毛片| 久久综合九色综合久99| 2021国产成人精品久久|