[dapper]~/drbl/redhat/script>sudo apt-get install drbl
讀取套件清單中... 完成
了解套件依存關係中... 完成
下列的【新】套件都將被安裝：
  drbl
更新 0 個套件，新安裝 1 個套件，刪除 0 個套件，另不更新 0 個套件。
需要下載 1352kB 的檔案。
解壓縮後將消耗 4780kB 的空間。
警告：下列的套件驗證失敗！
  drbl
不驗證這些套件就直接安裝？[y/N]y
下載:1 http://free.nchc.org.tw drbl/testing drbl 1.7.2-13 [1352kB]
讀取 1352kB 用了 0s (2150kB/s)
選中了曾被取消選擇的套件 drbl。
(正在讀取資料庫 ... 系統目前總共安裝有 92074 個檔案和目錄。)
正在解壓縮 drbl (從 .../drbl_1.7.2-13_i386.deb) ...
正在設定 drbl (1.7.2-13) ...
[dapper]~/drbl/redhat/script>sudo ./update_local_drbl-setup.sh
[dapper]~/drbl/redhat/script>cd
[dapper]~>sudo /opt/drbl/sbin/install-drbl-offline
Language | �y��| 語言 ?.
[0]: English
[1]: Chinese Traditional (Big5) - Taiwan | ���� (�j���X) - �x�W.
[2]: Chinese Traditional (UTF-8, Unicode) - Taiwan | 中文 (萬國標準碼) - 台灣
[0]
You must provide the kernel package (rpm or deb) or the kernel in the server
Usage: /opt/drbl/sbin/install-drbl-offline [OPTION]
OPTION
-l, --language  Set the language to be shown by index number
                [0]: English, [1]: Chinese Traditional (Big5) - Taiwan, [2] Chinese Traditional (UTF-8, Unicode) - Taiwan
-k, --client-kernel-pkg KERNEL_PKG: specify the KERNEL_PKG (rpm or deb) which you want DRBL client to use.
-s, --client-kernel-ver-from-server KERNEL_VER: use the kernel version KERNEL_VER from server, i.e. from /boot/vmlinuz-KERNEL_VER and /lib/modules/KERNEL_VER...
[dapper]~>uname -r
2.6.15-26-386
[dapper]~>sudo /opt/drbl/sbin/install-drbl-offline -s 2.6.15-26-386
Language | �y��| 語言 ?.
[0]: English
[1]: Chinese Traditional (Big5) - Taiwan | ���� (�j���X) - �x�W.
[2]: Chinese Traditional (UTF-8, Unicode) - Taiwan | 中文 (萬國標準碼) - 台灣
[0] 2
Using kernel from this server...
*****************************************************.
These packages from Ubuntu 6.06 are necessary (Check your distribution package repository for more details):
initscripts initrd-tools dhcp3-server tftpd-hpa nfs-kernel-server nis ntp wget dialog rsync parted pciutils tcpdump bc grub curl lftp iptables sysutils gawk hdparm ssh libdigest-sha1-perl netcat file ethtool etherwake udev
*****************************************************.
These packages from DRBL project are necessary [Check http://drbl.sf.net (English) or http://drbl.nchc.org.tw (Chinese) for more details]:
mkpxeinitrd-net etherboot partimage freedos clonezilla drbl-ntfsprogs drbl-chntpw lzop udpcast
*****************************************************.
These packages are recommended to install if they exist in the distribution repository:
lvm2
*****************************************************.
請按 Ctrl-C 來中斷程式! Or 按 Enter 鍵繼續...
Check if they are installed...
Checking initscripts... installed.
Checking initrd-tools... installed.
Checking dhcp3-server... NOT installed!
You have to install dhcp3-server!
If your Internet access is ok, use /opt/drbl/sbin/drblsrv instead of this script! It will automatically download and install necessary packages for you!
程式停止!
[dapper]~>sudo apt-get install initscripts initrd-tools dhcp3-server tftpd-hpa nfs-kernel-server nis ntp wget dialog rsync parted pciutils tcpdump bc grub curl lftp iptables sysutils gawk hdparm ssh libdigest-sha1-perl netcat file ethtool etherwake udev mkpxeinitrd-net etherboot partimage freedos clonezilla drbl-ntfsprogs drbl-chntpw lzop udpcast lvm2
讀取套件清單中... 完成
了解套件依存關係中... 完成
『initscripts』已經是最新版本了。
『initrd-tools』已經是最新版本了。
『dialog』已經是最新版本了。
『rsync』已經是最新版本了。
『parted』已經是最新版本了。
『pciutils』已經是最新版本了。
『tcpdump』已經是最新版本了。
『bc』已經是最新版本了。
『grub』已經是最新版本了。
『curl』已經是最新版本了。
『iptables』已經是最新版本了。
『sysutils』已經是最新版本了。
『hdparm』已經是最新版本了。
『ssh』已經是最新版本了。
『libdigest-sha1-perl』已經是最新版本了。
『netcat』已經是最新版本了。
『file』已經是最新版本了。
『ethtool』已經是最新版本了。
『etherwake』已經是最新版本了。
『udev』已經是最新版本了。
『lvm2』已經是最新版本了。
下列的【新】套件都將被安裝：
  dhcp3-common
建議(Suggested)的套件:
  ntp-doc
推薦(Recommended)的套件:
  mknbi ntp-server
下列的【新】套件都將被安裝：
  clonezilla dhcp3-common dhcp3-server drbl-chntpw drbl-ntfsprogs etherboot
  freedos gawk lftp lzop mkpxeinitrd-net nfs-kernel-server nis ntp partimage
  tftpd-hpa udpcast wget
更新 0 個套件，新安裝 18 個套件，刪除 0 個套件，另不更新 0 個套件。
需要下載 15.5MB 的檔案。
解壓縮後將消耗 38.2MB 的空間。
繼續執行嗎？ 是按 [Y] 鍵，否按 [n] 鍵
警告：下列的套件驗證失敗！
  udpcast clonezilla drbl-chntpw drbl-ntfsprogs etherboot freedos lzop
  mkpxeinitrd-net partimage
不驗證這些套件就直接安裝？[y/N]y
下載:1 http://free.nchc.org.tw drbl/testing udpcast 20060619-1 [503kB]
下載:2 http://free.nchc.org.tw drbl/testing clonezilla 1.4.3-8 [651kB]
下載:3 http://free.nchc.org.tw drbl/testing drbl-chntpw 0.0.20040818-7 [48.7kB]
下載:4 http://free.nchc.org.tw drbl/testing drbl-ntfsprogs 1.13.1-4 [3554kB]
下載:5 http://linux.nchc.org.tw dapper/main gawk 1:3.1.5-2build1 [833kB]
下載:6 http://linux.nchc.org.tw dapper/main nis 3.15-3ubuntu2 [204kB]
下載:7 http://free.nchc.org.tw drbl/testing etherboot 5.4.2-2drbl [5593kB]
下載:8 http://linux.nchc.org.tw dapper/main dhcp3-common 3.0.3-6ubuntu7 [431kB]
下載:9 http://linux.nchc.org.tw dapper/main wget 1.10.2-1ubuntu1 [231kB]
下載:10 http://linux.nchc.org.tw dapper/main dhcp3-server 3.0.3-6ubuntu7 [289kB]
下載:11 http://free.nchc.org.tw drbl/testing freedos 1.0-9drbl [114kB]
下載:12 http://free.nchc.org.tw drbl/testing lzop 1.02-0.6drbl [262kB]
下載:13 http://linux.nchc.org.tw dapper/main lftp 3.4.0-1 [396kB]
下載:14 http://free.nchc.org.tw drbl/testing mkpxeinitrd-net 1.1-15 [804kB]
下載:15 http://linux.nchc.org.tw dapper/main nfs-kernel-server 1:1.0.7-3ubuntu2 [113kB]
下載:16 http://free.nchc.org.tw drbl/testing partimage 0.6.5_beta3-4drbl [1180kB]
下載:17 http://linux.nchc.org.tw dapper/main ntp 1:4.2.0a+stable-8.1ubuntu6 [256kB]
下載:18 http://linux.nchc.org.tw dapper/main tftpd-hpa 0.40-4.1ubuntu1 [30.5kB]
讀取 15.5MB 用了 2s (6438kB/s)
正在預先設定套件 ...
選中了曾被取消選擇的套件 gawk。
(正在讀取資料庫 ... 系統目前總共安裝有 92430 個檔案和目錄。)
正在解壓縮 gawk (從 .../gawk_1%3a3.1.5-2build1_i386.deb) ...
選中了曾被取消選擇的套件 nis。
正在解壓縮 nis (從 .../nis_3.15-3ubuntu2_i386.deb) ...
選中了曾被取消選擇的套件 dhcp3-common。
正在解壓縮 dhcp3-common (從 .../dhcp3-common_3.0.3-6ubuntu7_i386.deb) ...
選中了曾被取消選擇的套件 wget。
正在解壓縮 wget (從 .../wget_1.10.2-1ubuntu1_i386.deb) ...
選中了曾被取消選擇的套件 dhcp3-server。
正在解壓縮 dhcp3-server (從 .../dhcp3-server_3.0.3-6ubuntu7_i386.deb) ...
選中了曾被取消選擇的套件 lftp。
正在解壓縮 lftp (從 .../archives/lftp_3.4.0-1_i386.deb) ...
選中了曾被取消選擇的套件 nfs-kernel-server。
正在解壓縮 nfs-kernel-server (從 .../nfs-kernel-server_1%3a1.0.7-3ubuntu2_i386.deb) ...
選中了曾被取消選擇的套件 ntp。
正在解壓縮 ntp (從 .../ntp_1%3a4.2.0a+stable-8.1ubuntu6_i386.deb) ...
選中了曾被取消選擇的套件 udpcast。
正在解壓縮 udpcast (從 .../udpcast_20060619-1_i386.deb) ...
選中了曾被取消選擇的套件 clonezilla。
正在解壓縮 clonezilla (從 .../clonezilla_1.4.3-8_i386.deb) ...
選中了曾被取消選擇的套件 drbl-chntpw。
正在解壓縮 drbl-chntpw (從 .../drbl-chntpw_0.0.20040818-7_i386.deb) ...
選中了曾被取消選擇的套件 drbl-ntfsprogs。
正在解壓縮 drbl-ntfsprogs (從 .../drbl-ntfsprogs_1.13.1-4_i386.deb) ...
選中了曾被取消選擇的套件 etherboot。
正在解壓縮 etherboot (從 .../etherboot_5.4.2-2drbl_i386.deb) ...
選中了曾被取消選擇的套件 freedos。
正在解壓縮 freedos (從 .../freedos_1.0-9drbl_i386.deb) ...
選中了曾被取消選擇的套件 lzop。
正在解壓縮 lzop (從 .../lzop_1.02-0.6drbl_i386.deb) ...
選中了曾被取消選擇的套件 mkpxeinitrd-net。
正在解壓縮 mkpxeinitrd-net (從 .../mkpxeinitrd-net_1.1-15_i386.deb) ...
選中了曾被取消選擇的套件 partimage。
正在解壓縮 partimage (從 .../partimage_0.6.5%5fbeta3-4drbl_i386.deb) ...
選中了曾被取消選擇的套件 tftpd-hpa。
正在解壓縮 tftpd-hpa (從 .../tftpd-hpa_0.40-4.1ubuntu1_i386.deb) ...
正在設定 gawk (3.1.5-2build1) ...

正在設定 nis (3.15-3ubuntu2) ...
Setting NIS domainname to: localdomain
Starting NIS services:

正在設定 dhcp3-common (3.0.3-6ubuntu7) ...
正在設定 wget (1.10.2-1ubuntu1) ...

正在設定 dhcp3-server (3.0.3-6ubuntu7) ...
Generating /etc/default/dhcp3-server...
Internet Systems Consortium DHCP Server V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
 * Starting DHCP server:
   ...fail!
invoke-rc.d: initscript dhcp3-server, action "start" failed.

正在設定 lftp (3.4.0-1) ...

正在設定 nfs-kernel-server (1.0.7-3ubuntu2) ...
 * Not starting NFS kernel daemon: No exports.

正在設定 ntp (4.2.0a+stable-8.1ubuntu6) ...

正在設定 udpcast (20060619-1) ...
正在設定 clonezilla (1.4.3-8) ...
正在設定 drbl-chntpw (0.0.20040818-7) ...
正在設定 drbl-ntfsprogs (1.13.1-4) ...
正在設定 etherboot (5.4.2-2drbl) ...
正在設定 freedos (1.0-9drbl) ...
正在設定 lzop (1.02-0.6drbl) ...
正在設定 mkpxeinitrd-net (1.1-15) ...
正在設定 partimage (0.6.5_beta3-4drbl) ...
正在設定 tftpd-hpa (0.40-4.1ubuntu1) ...

[dapper]~>sudo /opt/drbl/sbin/install-drbl-offline -s 2.6.15-26-386             Language | �y��| 語言 ?.                                                        [0]: English                                                                    [1]: Chinese Traditional (Big5) - Taiwan | ���� (�j���X) - �x�W.                [2]: Chinese Traditional (UTF-8, Unicode) - Taiwan | 中文 (萬國標準碼) - 台灣
[0] 2
Using kernel from this server...
*****************************************************.
These packages from Ubuntu 6.06 are necessary (Check your distribution package repository for more details):
initscripts initrd-tools dhcp3-server tftpd-hpa nfs-kernel-server nis ntp wget dialog rsync parted pciutils tcpdump bc grub curl lftp iptables sysutils gawk hdparm ssh libdigest-sha1-perl netcat file ethtool etherwake udev
*****************************************************.
These packages from DRBL project are necessary [Check http://drbl.sf.net (English) or http://drbl.nchc.org.tw (Chinese) for more details]:
mkpxeinitrd-net etherboot partimage freedos clonezilla drbl-ntfsprogs drbl-chntpw lzop udpcast
*****************************************************.
These packages are recommended to install if they exist in the distribution repository:
lvm2
*****************************************************.
請按 Ctrl-C 來中斷程式! Or 按 Enter 鍵繼續...
Check if they are installed...
Checking initscripts... installed.
Checking initrd-tools... installed.
Checking dhcp3-server... installed.
Checking tftpd-hpa... installed.
Checking nfs-kernel-server... installed.
Checking nis... installed.
Checking ntp... installed.
Checking wget... installed.
Checking dialog... installed.
Checking rsync... installed.
Checking parted... installed.
Checking pciutils... installed.
Checking tcpdump... installed.
Checking bc... installed.
Checking grub... installed.
Checking curl... installed.
Checking lftp... installed.
Checking iptables... installed.
Checking sysutils... installed.
Checking gawk... installed.
Checking hdparm... installed.
Checking ssh... installed.
Checking libdigest-sha1-perl... installed.
Checking netcat... installed.
Checking file... installed.
Checking ethtool... installed.
Checking etherwake... installed.
Checking mkpxeinitrd-net... installed.
Checking etherboot... installed.
Checking partimage... installed.
Checking freedos... installed.
Checking clonezilla... installed.
Checking drbl-ntfsprogs... installed.
Checking drbl-chntpw... installed.
Checking lzop... installed.
Checking udpcast... installed.
Checking udev... installed.
*****************************************************.
If your client CPU arch (say AMD K7) is different from that in the server (say Intel P4), you have to install the i586 packages in this server...
For Fedora: glibc, openssl, openssl-perl (By rpm -Uvh --force *.rpm)
For SuSE: glibc glibc-devel db db-devel db41 db41-devel (By rpm -Uvh --force *.rpm)
For Debian and Mandriva: Not necessary, since only single arch package in this distribution.
請按 Ctrl-C 來中斷程式! Or 按 Enter 鍵繼續...
Preparing and tuning some config... *****************************************************.
done!
*****************************************************.
安裝用戶端電腦所需的核心 ...
安裝這個核心可能需要一些時間，請耐心等候......完成!
Generating modules.dep and map files for clients... done!
*****************************************************.
*****************************************************.
產生用戶端PXE與Etherboot網路開機用的檔案，這可能需要幾分鐘...
用戶端電腦使用的最新核心是 2.6.15-26-386
Running /opt/drbl/sbin/mknic-nbi --kernel 2.6.15-26-386 --all --no-modules
Will client check DHCP server name is "drbl" or not: yes
The maximum times to try to get IP address for a client: 3
The pause time after network card is up: 0
Using the kernel modules from /tftpboot/node_root//lib/modules...
The selected kernel for DRBL clients is: 2.6.15-26-386
Creating the network boot initrd for PXE clients...
Use kernel modules from /tftpboot/node_root//lib/modules/2.6.15-26-386.
Creating the CRAMFS initrd...
Directory data: 5684 bytes
Everything: 3300 kilobytes
Super block: 76 bytes
CRC: 80253364
Finished!
完成!
*****************************************************.
建立PXE網路開機的設定檔...
Copying pxelinux.0, menu.c32, chain.c32 and memdisk to /tftpboot/nbi_img...
Copying memtest86+ to /tftpboot/nbi_img...
Copying FreeDOS files to /tftpboot/nbi_img/...
Generating default pxelinux config (/tftpboot/nbi_img/pxelinux.cfg/default)...
Adding menus for DRBL, local boot, memtest86+, FreeDOS...
done!
*****************************************************.
完成!
