DRBL on MDK-9.2 今日安裝過程[@more@][s20@DRBL-stu-server s20]$ su
Password:
su: incorrect password
[s20@DRBL-stu-server s20]$ su
Password:
[root@DRBL-stu-server s20]# rpm -qa | drbl
bash: drbl: command not found
[root@DRBL-stu-server s20]#
[root@DRBL-stu-server s20]# rpm -q gftp
gftp-2.0.15-2mdk
[root@DRBL-stu-server s20]# rpm -q drbl
package drbl is not installed
[root@DRBL-stu-server s20]# ls
Desktop/ Documents/ DRBL/ drbl-setup-current.i386.rpm tmp/
[root@DRBL-stu-server s20]# ld DRBL/
DRBL/: file not recognized: Is a directory
[root@DRBL-stu-server s20]# ls DRBL/
[root@DRBL-stu-server s20]# mv drbl-setup-current.i386.rpm DRBL/
[root@DRBL-stu-server s20]# cd DRBL/
[root@DRBL-stu-server DRBL]# ls
drbl-setup-current.i386.rpm
[root@DRBL-stu-server DRBL]# rpm -ivh drbl-setup-current.i386.rpm
Preparing… ########################################### [100%]
1:drbl-setup ########################################### [100%]
——————————————————————
Next step -> refer to one of the following to setup DRBL server:
1. /opt/drbl/setup/English/drbl.sourceforge.net/redhat/index.html,
2. /opt/drbl/setup/Chinese_Big5/drbl_redhat_mdk_4_steps.html,
3. http://drbl.sf.net (English)
4. http://drbl.nchc.org.tw (Chinese Big5 – Taiwan)
——————————————————————
[root@DRBL-stu-server DRBL]# rpm -q kernel
package kernel is not installed
[root@DRBL-stu-server DRBL]# /opt/drbl/setup/dr
drbl4imp drblpush drblsrv drblsrv-mdk drblsrv-rh
[root@DRBL-stu-server DRBL]# /opt/drbl/setup/drbl
drbl4imp drblpush drblsrv drblsrv-mdk drblsrv-rh
[root@DRBL-stu-server DRBL]# /opt/drbl/setup/drbls
drblsrv drblsrv-mdk drblsrv-rh
[root@DRBL-stu-server DRBL]# /opt/drbl/setup/drblsrv-
drblsrv-mdk drblsrv-rh
[root@DRBL-stu-server DRBL]# /opt/drbl/setup/drblsrv-mdk -i
Language | 語言| 隤噼� ?.
[0]: English
[1]: Chinese Traditional (Big5) – Taiwan | 中文 (大五碼) – 台灣.
[2]: Chinese Traditional (UTF-8, Unicode) – Taiwan | 銝剜� (�砍�璅蹱�蝣� – �啁
[0] 2
******************************************************,
��Mandrake Linux 銝�鋆�DRBL �啣�…
******************************************************,
Mandrake Linux release 9.2 (FiveStar) for i586
******************************************************,
雿刪�雿平蝟餌絞�: MDK9.2
******************************************************,
雿㰘�閮剖�隞��隡箸��典�?
[y/N]
[root@DRBL-stu-server DRBL]# /opt/drbl/setup/drblsrv-mdk -i
Language | 語言| 隤噼� ?.
[0]: English
[1]: Chinese Traditional (Big5) – Taiwan | 中文 (大五碼) – 台灣.
[2]: Chinese Traditional (UTF-8, Unicode) – Taiwan | 銝剜� (�砍�璅蹱�蝣� – �啁
[0] 1
******************************************************,
在 Mandrake Linux 上安裝 DRBL 環境…
******************************************************,
Mandrake Linux release 9.2 (FiveStar) for i586
******************************************************,
你的作業系統版本: MDK9.2
******************************************************,
你要設定代理伺服器嗎?
[y/N] n
******************************************************,
請選取升級套件時欲使用的 apt 伺服器. [0/1/2/3/4/5]
0 -> opensource.nchc.org.tw. (預設)
5 -> 手動輸入 apt 伺服器的網址與路徑.
[0] 5
******************************************************,
Please enter the hostname or IP address of apt reposity with http or ftp prefix…
[ftp://opensource.nchc.org.tw]
Enter the path where RPMS.9.2-9.2 and RPMS.9.2-drbl exist…
[/distributions/mandrake/apt/mandrake/i586]
——————————————————
你輸入的 apt 伺服器網址(URL)與路徑: : ftp://opensource.nchc.org.tw, /distributions/mandrake/apt/mandrake/i586
——————————————————
你是否要使用 DRBL 測試版本中的程式(這些程式弁鄐騆h,但可能有些瑕疵,如果您夠勇敢的話,值得一試)?
[y/N] n
你是否要安裝由 Firefly 所提供的亞洲中日韓的補釘程式(如果你夠勇敢的話,值得一試)?
[y/N] y
你的 DRBL 用戶端的電腦是否要使用序列終端機(Serial Console)?
如果你不清楚什麼序列終端機的話,就回答"N",否則有可能造成用戶端電腦螢幕無法顯示!
[y/N] n
用戶端電腦是否要使用對稱多處理器核心(SMP kernel),這些電腦必須有兩顆(含)以上的CPU?
[y/N] n
安裝 APT …
Preparing… ########################################### [100%]
1:libapt-pkg0 ########################################### [100%]
Preparing… ########################################### [100%]
1:apt ########################################### [100%]
******************************************************,
備份原來的 apt 來源檔(sources.list) …
『/etc/apt/sources.list’ -> 『/etc/apt/sources.list.orig’
為 MDK 設定 apt 的來源檔(sources.list) 9.2…
——————————————————————–
現在開始享用 APT! 感謝 Debian!!!
apt 的快取檔案清除中…
Get:1 ftp://opensource.nchc.org.tw . release [1756B]
Fetched 1756B in 0s (6144B/s)
Get:1 ftp://opensource.nchc.org.tw ./9.2 pkglist [2116kB]
Get:2 ftp://opensource.nchc.org.tw ./9.2 release [122B]
Get:3 ftp://opensource.nchc.org.tw ./9.2-contrib pkglist [2484kB]
Get:4 ftp://opensource.nchc.org.tw ./9.2-contrib release [130B]
Get:5 ftp://opensource.nchc.org.tw ./9.2-updates pkglist [524kB]
Get:6 ftp://opensource.nchc.org.tw ./9.2-updates release [130B]
Get:7 ftp://opensource.nchc.org.tw ./9.2-drbl pkglist [104kB]
Get:8 ftp://opensource.nchc.org.tw ./9.2-drbl release [127B]
Get:9 ftp://opensource.nchc.org.tw ./9.2-firefly pkglist [16.6kB]
Get:10 ftp://opensource.nchc.org.tw ./9.2-firefly release [130B]
Fetched 5245kB in 7s (692kB/s)
Reading Package Lists… Done
Building Dependency Tree… Done
W:
Release file did not contain checksum information for
ftp://opensource.nchc.org.tw//distributions/mandrake/apt/mandrake/i586/./base/pkglist.9.2
W:
Release file did not contain checksum information for
ftp://opensource.nchc.org.tw//distributions/mandrake/apt/mandrake/i586/./base/release.9.2
W:
Release file did not contain checksum information for
ftp://opensource.nchc.org.tw//distributions/mandrake/apt/mandrake/i586/./base/pkglist.9.2-contrib
W:
Release file did not contain checksum information for
ftp://opensource.nchc.org.tw//distributions/mandrake/apt/mandrake/i586/./base/release.9.2-contrib
W:
Release file did not contain checksum information for
ftp://opensource.nchc.org.tw//distributions/mandrake/apt/mandrake/i586/./base/pkglist.9.2-updates
W:
Release file did not contain checksum information for
ftp://opensource.nchc.org.tw//distributions/mandrake/apt/mandrake/i586/./base/release.9.2-updates
W:
Release file did not contain checksum information for
ftp://opensource.nchc.org.tw//distributions/mandrake/apt/mandrake/i586/./base/pkglist.9.2-drbl
W:
Release file did not contain checksum information for
ftp://opensource.nchc.org.tw//distributions/mandrake/apt/mandrake/i586/./base/release.9.2-drbl
W:
Release file did not contain checksum information for
ftp://opensource.nchc.org.tw//distributions/mandrake/apt/mandrake/i586/./base/pkglist.9.2-firefly
W:
Release file did not contain checksum information for
ftp://opensource.nchc.org.tw//distributions/mandrake/apt/mandrake/i586/./base/release.9.2-firefly
W: You may want to run apt-get update to correct these problems
apt 套件完整性檢查…(例如 MDK 9.2 的套件apt完整性有瑕疵)
Reading Package Lists… Done
Building Dependency Tree… Done
Correcting dependencies… Done
The following extra packages will be installed:
util-linux
The following packages will be upgraded
util-linux
The following packages will be REMOVED:
kdeutils
1 upgraded, 0 newly installed, 1 removed and 159 not upgraded.
Need to get 1458kB of archives.
After unpacking 0B of additional disk space will be used.
Get:1 ftp://opensource.nchc.org.tw ./9.2-drbl util-linux 2.11z-8drbl [1458kB]
Fetched 1458kB in 1s (1136kB/s)
Committing changes…
Preparing… ########################################### [100%]
1:util-linux ########################################### [100%]
Done.
******************************************************,
升級作業系統中…
******************************************************,
Reading Package Lists… Done
Building Dependency Tree… Done
The following packages will be upgraded
GConf GConf2 ImageMagick ORBit2 XFree86 XFree86-100dpi-fonts XFree86-75dpi-fonts
XFree86-cyrillic-fonts XFree86-server XFree86-xfs bootloader-utils cdrecord-cdda2wav coreutils
coreutils-doc cups cups-common cvs cyrus-sasl drakfirsttime drakxtools drakxtools-newt dump
foomatic-db-engine foomatic-filters ftp-client-krb5 gaim gal2.0 gawk gd-utils
gdk-pixbuf-loaders ghostscript ghostscript-module-X gnome-applets gnupg gtk+2.0 gzip harddrake
harddrake-ui imlib iproute2 kdebase-common kdebase-kdeprintfax kdebase-kdm
kdebase-kdm-config-file kdebase-konsole kdebase-nsplugins kdebase-progs kdegames kdelibs-common
kdepim-kaddressbook kdepim-knotes kdepim-korganizer krozat ldetect-lst lftp libGConf1
libGConf2_4 libMagick5.5.7 libORBit2_0 libbonobo libbonobo2_0 libcups2 libdha0.1
libgaim-remote0 libgd2 libgdk-pixbuf-gnomecanvas1 libgdk-pixbuf2 libgdk_pixbuf2.0_0
libgimpprint1 libgtk+-x11-2.0_0 libgtk+2.0_0 libimlib1 libkdebase4 libkdebase4-devel
libkdebase4-kate libkdebase4-konsole libkdebase4-nsplugins libkdecore4 libkdecore4-devel
libkdegames1 libkdegames1-devel libkdepim2-common libkdepim2-korganizer libkrb51 libnautilus2
libnetpbm9 libnspr4 libnss3 libopenssl0.9.7 libopenssl0.9.7-devel libpng3 libpng3-devel
libpostproc0 libpwlib1 libqt3 libqt3-devel libsasl2 libsmbclient0 libsoup libsoup-2.0_0
libtiff3 libuser libuser1 libutempter0 libxfree86 libxfree86-devel libxml1 libxml2
libxml2-utils libxpm4 libxpm4-devel losetup mandrake_doc-common mandrake_doc-en metamail mount
mozilla mpg123 mplayer mplayer-gui mrproject mtools nautilus netpbm nfs-utils-clients openssl
passwd perl perl-base perl-devel popt printer-testpages proftpd qt3-common rmt rpm rpm-build
rsync samba-client samba-common screen shadow-utils slocate sudo sysklogd syslinux
telnet-client-krb5 telnet-server-krb5 totem utempter webmin xchat xine-ui xpcd xpcd-gimp zip
The following packages have been kept back
evolution gtkhtml3.0 kernel-source
156 upgraded, 0 newly installed, 0 removed and 3 not upgraded.
Need to get 246MB of archives.
After unpacking 2501kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
******************************************************,
安裝 DRBL 所需之相關程式…
******************************************************,
Reading Package Lists… Done
Building Dependency Tree… Done
mkinitrd is already the newest version.
The following extra packages will be installed:
dhcp-common mawk
The following NEW packages will be installed:
dhcp-common dhcp-server iptables mawk nfs-utils ntp tftp-server yp-tools ypbind ypserv
0 upgraded, 10 newly installed, 0 removed and 159 not upgraded.
Need to get 2479kB of archives.
After unpacking 5444kB of additional disk space will be used.
Get:1 ftp://opensource.nchc.org.tw ./9.2-updates dhcp-common 2:3.0-1.rc14.0.1.92mdk [254kB]
Get:2 ftp://opensource.nchc.org.tw ./9.2 mawk 1.3.3-6mdk [66.7kB]
Get:3 ftp://opensource.nchc.org.tw ./9.2 ypbind 3:1.12-3mdk [26.1kB]
Get:4 ftp://opensource.nchc.org.tw ./9.2 yp-tools 2.8-2mdk [63.8kB]
Get:5 ftp://opensource.nchc.org.tw ./9.2-updates dhcp-server 2:3.0-1.rc14.0.1.92mdk [438kB]
Get:6 ftp://opensource.nchc.org.tw ./9.2-updates iptables 1.2.8-2.1.92mdk [157kB]
Get:7 ftp://opensource.nchc.org.tw ./9.2-updates nfs-utils 1:1.0.5-1.1.92mdk [192kB]
Get:8 ftp://opensource.nchc.org.tw ./9.2 ntp 4.1.2-1mdk [1133kB]
Get:9 ftp://opensource.nchc.org.tw ./9.2 tftp-server 0.34-1mdk [32.0kB]
Get:10 ftp://opensource.nchc.org.tw ./9.2 ypserv 2.8-2mdk [117kB]
Fetched 2479kB in 3s (738kB/s)
Committing changes…
Preparing… ########################################### [100%]
1:ypbind ########################################### [ 10%]
2:mawk ########################################### [ 20%]
3:dhcp-common ########################################### [ 30%]
4:yp-tools ########################################### [ 40%]
5:dhcp-server ########################################### [ 50%]
6:iptables ########################################### [ 60%]
7:nfs-utils ########################################### [ 70%]
8:ntp ########################################### [ 80%]
9:tftp-server ########################################### [ 90%]
10:ypserv ########################################### [100%]
Done.
Reading Package Lists… Done
Building Dependency Tree… Done
Selecting rh-9-netinstall for ‘rh-.*-netinstall’
Selecting rh-8.0-netinstall for ‘rh-.*-netinstall’
Selecting rh-FC2-netinstall for ‘rh-.*-netinstall’
Selecting rh-FC1-netinstall for ‘rh-.*-netinstall’
Selecting mdk-10.0-netinstall for ‘mdk-.*-netinstall’
Selecting mdk-9.2-netinstall for ‘mdk-.*-netinstall’
cdialog is already the newest version.
initscripts is already the newest version.
pciutils is already the newest version.
reiserfsprogs is already the newest version.
The following extra packages will be installed:
drakxtools-newt harddrake harddrake-ui libpcap0 mdk-10.0-netinstall mdk-9.2-netinstall
rh-8.0-netinstall rh-9-netinstall rh-FC1-netinstall rh-FC2-netinstall
The following packages will be upgraded
drakxtools drakxtools-newt harddrake harddrake-ui rsync syslinux
The following NEW packages will be installed:
autologin bc clonezilla drbl-script etherboot freedos libpcap0 mdk-10.0-netinstall
mdk-9.2-netinstall memtest86+ mkinitrd-net partimage rh-8.0-netinstall rh-9-netinstall
rh-FC1-netinstall rh-FC2-netinstall socket tcpdump woody-netinstall
6 upgraded, 19 newly installed, 0 removed and 153 not upgraded.
Need to get 86.3MB of archives.
After unpacking 117MB of additional disk space will be used.
Get:1 ftp://opensource.nchc.org.tw ./9.2 autologin 1.0.0-7mdk [9114B]
Get:2 ftp://opensource.nchc.org.tw ./9.2-drbl etherboot 5.0.11-5drbl [9391kB]
Get:3 ftp://opensource.nchc.org.tw ./9.2-drbl memtest86+ 1.20-1drbl [83.6kB]
Get:4 ftp://opensource.nchc.org.tw ./9.2-drbl mkinitrd-net 1.12-14drbl [873kB]
Get:5 ftp://opensource.nchc.org.tw ./9.2-drbl partimage 0.6.4-1drbl [636kB]
Get:6 ftp://opensource.nchc.org.tw ./9.2-updates rsync 2.5.7-0.3.92mdk [147kB]
Get:7 ftp://opensource.nchc.org.tw ./9.2-drbl socket 1.3pre2-1 [15.9kB]
Get:8 ftp://opensource.nchc.org.tw ./9.2-drbl syslinux 2.10-1drbl [94.7kB]
Get:9 ftp://opensource.nchc.org.tw ./9.2 libpcap0 0.7.2-3mdk [80.6kB]
Get:10 ftp://opensource.nchc.org.tw ./9.2-updates tcpdump 2:3.7.2-2.2.92mdk [197kB]
Get:11 ftp://opensource.nchc.org.tw ./9.2 bc 1.06-11mdk [100kB]
Get:12 ftp://opensource.nchc.org.tw ./9.2-drbl clonezilla 1.1-21drbl [897kB]
Get:13 ftp://opensource.nchc.org.tw ./9.2-updates harddrake 9.2-19.7.92mdk [93.6kB]
Get:14 ftp://opensource.nchc.org.tw ./9.2-updates harddrake-ui 9.2-19.7.92mdk [122kB]
Get:15 ftp://opensource.nchc.org.tw ./9.2-updates drakxtools 9.2-19.7.92mdk [746kB]
Get:16 ftp://opensource.nchc.org.tw ./9.2-updates drakxtools-newt 9.2-19.7.92mdk [5447kB]
Get:17 ftp://opensource.nchc.org.tw ./9.2-drbl drbl-script 1.1-24drbl [51.4kB]
Get:18 ftp://opensource.nchc.org.tw ./9.2-drbl freedos 1.0-3drbl [947kB]
Get:19 ftp://opensource.nchc.org.tw ./9.2-drbl mdk-10.0-netinstall 1.0-2drbl [4277kB]
Get:20 ftp://opensource.nchc.org.tw ./9.2-drbl mdk-9.2-netinstall 1.0-2drbl [2759kB]
Get:21 ftp://opensource.nchc.org.tw ./9.2-drbl rh-8.0-netinstall 1.0-1drbl [7113kB]
Get:22 ftp://opensource.nchc.org.tw ./9.2-drbl rh-9-netinstall 1.0-2drbl [7100kB]
Get:23 ftp://opensource.nchc.org.tw ./9.2-drbl rh-FC1-netinstall 1.0-3drbl [8458kB]
Get:24 ftp://opensource.nchc.org.tw ./9.2-drbl rh-FC2-netinstall 1.0-1drbl [7284kB]
Get:25 ftp://opensource.nchc.org.tw ./9.2-drbl woody-netinstall 1.0-1drbl [29.4MB]
Fetched 86.3MB in 1m1s (1400kB/s)
Committing changes…
Preparing… ########################################### [100%]
1:drakxtools-newt ########################################### [ 4%]
2:drakxtools ########################################### [ 8%]
3:libpcap0 ########################################### [ 12%]
4:mkinitrd-net ########################################### [ 16%]
5:autologin ########################################### [ 20%]
6:etherboot ########################################### [ 24%]
7:memtest86+ ########################################### [ 28%]
8:partimage ########################################### [ 32%]
9:rsync ########################################### [ 36%]
10:socket ########################################### [ 40%]
11:syslinux ########################################### [ 44%]
12:tcpdump ########################################### [ 48%]
13:bc ########################################### [ 52%]
14:clonezilla ########################################### [ 56%]
15:harddrake ########################################### [ 60%]
16:harddrake-ui ########################################### [ 64%]
17:drbl-script ########################################### [ 68%]
18:freedos ########################################### [ 72%]
19:mdk-10.0-netinstall ########################################### [ 76%]
20:mdk-9.2-netinstall ########################################### [ 80%]
21:rh-8.0-netinstall ########################################### [ 84%]
22:rh-9-netinstall ########################################### [ 88%]
23:rh-FC1-netinstall ########################################### [ 92%]
24:rh-FC2-netinstall ########################################### [ 96%]
25:woody-netinstall ########################################### [100%]
Done.
******************************************************,
在 apt 伺服器中尋找最新的 kernel …
在 apt 伺服器中,最新的核心是 kernel-2.4.22.28drbl
Reading Package Lists… Done
Building Dependency Tree… Done
The following NEW packages will be installed:
kernel-2.4.22.28drbl
0 upgraded, 1 newly installed, 0 removed and 153 not upgraded.
Need to get 20.3MB of archives.
After unpacking 21.2MB of additional disk space will be used.
Get:1 ftp://opensource.nchc.org.tw ./9.2-drbl kernel-2.4.22.28drbl 1-1mdk [20.3MB]
Fetched 20.3MB in 13s (1463kB/s)
Committing changes…
Preparing… ########################################### [100%]
1:kernel-2.4.22.28drbl ########################################### [100%]
Done.
******************************************************,
依據 Linux 核心所支援的網路卡,產生 Etherboot 網路開機用的 nbi 檔案,這可能需要幾分鍾…
用戶端電腦使用的最新核心是 2.4.22-28drbl
Using the kernel modules from /tftpboot/node_root//lib/modules…
The selected kernel for DRBL clients is: 2.4.22-28drbl
Creating the kernel for PXE clients…Using the kernel modules from /tftpboot/node_root//lib/modules…
done!
Creating the etherboot image for clients…done!
Finished!
完成!
******************************************************,
建立 PXE 網路開機用檔案…完成!
******************************************************,
完成!
[root@DRBL-stu-server DRBL]#

最後修改日期: 1 2 月 2005

作者