[fc1]~>/opt/drbl/setup/drblsrv -i
******************************************************
******************************************************
The version number of OS in this DRBL server is FC1.
Language | y|  ?
[0]: English
[1]: Chinese Traditional (Big5) - Taiwan |  (jX) - xW
[2]: Chinese Traditional (UTF-8, Unicode) - Taiwan | 中 (碼) - 0
[0] 1
******************************************************
! yes/noﶵɭԡAw]ȬOjgrCҦp (y/N), w]ȬO "N", A "Enter"ɭԡA{ϥΪȴNO "N"CpGAT{ΨӦnɭԡA"Enter"O@ӫOI覡C
******************************************************
{bǳ w˻Pɯ DRBLAһݪɮ!
AO_n~?
^"no"άO"n"ӵ{AάOLr~!
[Y/n]
******************************************************
}li...
******************************************************,
******************************************************,
A@~tΪ: FC1
******************************************************,
An]wNzA?
[y/N]
******************************************************,
пɯŮMɱϥΪ apt A. [0/1/2/3/4/5]
0 -> opensource.nchc.org.tw. (w])
1 -> diskless.nchc.org.tw ( DRBL M)  ayo.freshrpms.net(lM),
2 -> ayo.freshrpms.net  opensource.nchc.org.tw.
3 -> wСBЩκɮרt(NFS)̪ؿ(]tw DRBL һݮM)
4 ->  apt A(]tw DRBL һݮM).
5 -> ʿJ apt A}P|.
[0]
******************************************************,
AO_nϥ DRBL "ժ"{(pGzdrbl-setuprpm{OqժUAЦ^"O")(oǵ{\hAi঳Ƿ岫ApGziܡAȱo@)?
[y/N] y
AO_nϥ DRBL "íw"{(pGzdrbl-setuprpm{OqíwUAЦ^"O")(oǵ{\ihܦhAi঳D`h岫ApGzOWūiܡAȱo@)?
[y/N] y
AO_nϥ DRBL peB~Ѫn (oOAuO@ӿﶵ)
[y/N]
A DRBL ΤݪqO_nϥΧǦC׺ݾ(Serial Console)?
pGAMǦC׺ݾܡAN^"N"A_hiyΤݹqùLk!
[y/N]
ΤݹqO_nϥι٦hBz֤(SMP kernel)Aoǹq(t)HWCPU? `N! pGAϥι٦hBz֤ߡA{|۰ʿ CPU ̨ΤƮ֤.
[y/N]
zO_nw˭lM󥼴ѪXʵ{ DRBL Τݹqϥ(Ҧp bcm4400, bcm5700)?
[Y/n]
******************************************************,
apt wgwˤF. _!!! AuOuq!
******************************************************,
******************************************************,
zO_n CPU ̨Τ ? [0/1/2]
0 -> ̨Τ(ϥi386[c)
1 -> ϥ i586 [c̨Τ
2 -> ϥλPAPŲ̄Τ.
`N! `N! `N! `N! `N! `N! `N! `N! `N!
`N!!! pGAΤݹqP DRBL A CPU [cPšAЦ^ "0"άO"1", _hΤݹqNLkQ}.
pGzҥ CPU ̨Τ, iy glibc M openssl ]P֤߬[cPAӵLkAΩ ҦΤݹq.
pGzLkTwΤݹq CPU šAĳϥ"1"Ao˥iHUįPۮe.
[1]
******************************************************,
A i586 [c CPU ̨Τ.
******************************************************,
ƥӪ apt ӷ(sources.list) ...
`/etc/apt/sources.list' -> `/etc/apt/sources.list.orig'
bM apt ֨ɮ...
Get:1 http://opensource.nchc.org.tw fedora/linux/1/i386 release [2461B]
Fetched 2461B in 0s (87.9kB/s)
Hit http://opensource.nchc.org.tw fedora/linux/1/i386/core pkglist
Hit http://opensource.nchc.org.tw fedora/linux/1/i386/core release
Hit http://opensource.nchc.org.tw fedora/linux/1/i386/updates pkglist
Hit http://opensource.nchc.org.tw fedora/linux/1/i386/updates release
Hit http://opensource.nchc.org.tw fedora/linux/1/i386/drbl pkglist
Hit http://opensource.nchc.org.tw fedora/linux/1/i386/drbl release
Hit http://opensource.nchc.org.tw fedora/linux/1/i386/drbl-test pkglist
Hit http://opensource.nchc.org.tw fedora/linux/1/i386/drbl-test release
Hit http://opensource.nchc.org.tw fedora/linux/1/i386/drbl-unstable pkglist
Hit http://opensource.nchc.org.tw fedora/linux/1/i386/drbl-unstable release
Reading Package Lists... Done
Building Dependency Tree... Done
******************************************************,
ɯŧ@~tΤ...
******************************************************,
pG glibc P openssl sAO_nɯ? [0/1/2/3]
0 -> ɯ glibc P openssl (w]).
1 -> uɯ openssl,
2 -> uɯ glibc,
3 -> ɯ glibc P openssl,
ĵi!!!!! glibc nAаȥTwɯ glibc ztίॿTL~.
קKɯ glibc  ytεLkϥΡAbLkTwpUA̦n "0" ɯ glibc P openssl.
[0]
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
******************************************************,
w DRBL һݤ{...
******************************************************,
bw dhcp, tftp, nfs, yp, mkinitrd ...
Reading Package Lists... Done
Building Dependency Tree... Done
dhcp is already the newest version.
tftp-server is already the newest version.
nfs-utils is already the newest version.
ypserv is already the newest version.
ypbind is already the newest version.
yp-tools is already the newest version.
mkinitrd is already the newest version.
ntp is already the newest version.
firstboot is already the newest version.
iptables is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
******************************************************,
ҥγ̰Ť CPU ̨ΤơA]ϥ i386/i586 [ckernel, glibc P openssl.
******************************************************,
b apt AM̷s kernel ...
b apt A,̷s֤߬O kernel#2.4.22-1.2199.nptl
w˳oӮ֤ߥiݭn@ǮɶAЭ@ߵ...
******************************************************,
w mkinitrd-net, etherboot, syslinux, partimage, DRBL GDM Greeter...
For some distribution some version, we have to force upgrading some packages...
A@~tΪ: FC1.
Force to upgrade some packages if necessary...
Reading Package Lists... Done
Building Dependency Tree... Done
gpm is already the newest version.
redhat-config-xfree86 is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
Reading Package Lists... Done
Building Dependency Tree... Done
mkinitrd-net is already the newest version.
etherboot is already the newest version.
syslinux is already the newest version.
drbl-gdm is already the newest version.
partimage is already the newest version.
drbl-script is already the newest version.
socket is already the newest version.
memtest86+ is already the newest version.
freedos is already the newest version.
clonezilla is already the newest version.
Selecting rh-9-netinstall for 'rh-.*-netinstall'
Selecting rh-8.0-netinstall for 'rh-.*-netinstall'
Selecting rh-FC3-x86-64-netinstall for 'rh-.*-netinstall'
Selecting rh-FC3-netinstall for 'rh-.*-netinstall'
Selecting rh-FC2-netinstall for 'rh-.*-netinstall'
Selecting rh-FC1-netinstall for 'rh-.*-netinstall'
Selecting rh-FC2-x86-64-netinstall for 'rh-.*-netinstall'
Selecting mdk-10.0-netinstall for 'mdk-.*-netinstall'
Selecting mdk-9.2-netinstall for 'mdk-.*-netinstall'
dialog is already the newest version.
initscripts is already the newest version.
rsync is already the newest version.
parted is already the newest version.
reiserfs-utils is already the newest version.
tcpdump is already the newest version.
bc is already the newest version.
woody-netinstall is already the newest version.
grub is already the newest version.
dos2unix is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
******************************************************,
ͥΤݹq]ɮ...
^]ɮ...
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 2 reinstalled, 0 removed and 0 not upgraded.
Need to get 0B/3185kB of archives.
After unpacking 0B of additional disk space will be used.
Download complete and in download only mode
4619 blocks
1250 blocks
M]ɮתȦsؿ...
******************************************************,
 /tftpboot ª nbi ɮ...
******************************************************,
b apt A䤣B~Xʵ{,hwB~Xʵ{...
******************************************************,
̾ Linux ֤ߩҤ䴩dA Etherboot }Ϊ nbi ɮסAoiݭn X...
ΤݹqϥΪ̷s֤߬O 2.4.22-1.2199.nptl
Using the kernel modules from /tftpboot/node_root//lib/modules...
The selected kernel for DRBL clients is: 2.4.22-1.2199.nptl
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 }ɮ...!
******************************************************
{bNO餤ƼgJwФ...
******************************************************
槹!
[fc1]~>/opt/drbl/setup/drblpush -i
Language | y|  ?
[0]: English
[1]: Chinese Traditional (Big5) - Taiwan |  (jX) - xW
[2]: Chinese Traditional (UTF-8, Unicode) - Taiwan | 中 (碼) - 0
[0] 1
******************************************************
! yes/noﶵɭԡAw]ȬOjgrCҦp (y/N), w]ȬO "N", A "Enter"ɭԡA{ϥΪȴNO "N"CpGAT{ΨӦnɭԡA"Enter"O@ӫOI覡C
------------------------------------------------------
oO@ӥͼҦAb]wDRBLҪL{AzѬ
------------------------------------------------------
------------------------------------------------------
W(DOMAIN)]w,пJW(DOMAIN):
[drbl.sf.net]
z]wW(DOMAIN)O drbl.sf.net
------------------------------------------------------
пJΤݹqW٪emr:
[fc1]
z]wΤݹqW٪emrO fc1
------------------------------------------------------
Found private IP "192.168.120.10" in eth0 on your system!
Found private IP "192.168.38.254" in eth1 on your system!
bAtΤWwg]wnAӺ: eth0 eth1
------------------------------------------------------
eth0u]w@IP},]DRBLұN|ϥeth0ӳsΤݪq!
DRBLҨϥΤAӺsO:  eth1
******************************************************
******************************************************
{bڭ̥iHΤݹqdd(MAC Adrees)!
zLoӦBJiHUzDRBLΤݹqC}ۦPIP,
pGzSΤݹqddɮ,A{bNӰ!
pGzwgΤݹqdd,z]iH⨺ǥḑ,ի,@@bɮ (ɮתƥشNOzDRBLydi),,oӨBJzNiHL.
oӨBJNOzd,Msɮפ,٥hzۿdɶPiyr~.!
Τݹqdd(MAC Adrees)N|̷ӱzΤݹq}Ķ̌ǳQU.
Ҧ쪺ddN|̷ӥΤݹqsDRBLAdӵɦWAsUӪɦWpmacadr-eth1.txt, macadr-eth2.txt...
ХNΤݪq]wѺ}(etherbootάOPXE),è̷ӱzQnƦCǶ}!
AO_nΤݪdd ?
[y/N]
******************************************************
~...
******************************************************
AO_nDRBLADHCPAȨCoۦPIPΤݹq(nϥΦﶵAz wgnΤݹqdd(MAC Adrees)(pezBJ)åBsbɮפ),oOwsDRBLAs eth1 ?
[y/N]
******************************************************
oӺ쪺ΤݹqA_lIP 4ռƦrA̫@ռƦr_lȬO(]NOIP a.b.c.dd_l) ? oOwsDRBLAs eth1.
[1]
******************************************************
~...Τݹq|ĥΫDTwIP!
h֥xDRBLΤݪq(]NOǥͨϥΪq)sDRBLAs eth1 ?
пJƦr:
[2]
******************************************************
A]wȬ "2".
ڭ̱N]woǥΤݹqIP,oOwsDRBLAs eth1 : 192.168.38.1 - 192.168.38.2
 ? [Y/n]
******************************************************
~...
******************************************************
ADRBLҰtm:
******************************************************
        NIC    NIC IP                    Clients
+-----------------------------+
|         DRBL SERVER         |
|                             |
|    +-- [eth0] 192.168.120.10 +- to WAN
|                             |
|    +-- [eth1] 192.168.38.254 +- to clients group 1 [ 2 clients, their IP
|                             |            from 192.168.38.1 - 192.168.38.2]
+-----------------------------+
******************************************************
Total clients: 2
------------------------------------------------------
pGAΤݪqwЧAO_nbWͤ@ӸmɨӰOA
HKΤݪqiHϥλݭnhO骺{? (oӨBJ|lwФӪ)
[Y/n]
******************************************************
Twnͤ@ӸmɦbΤݹqwФ!
------------------------------------------------------
------------------------------------------------------
mɭnΦhֵwЪŶ(Megabytes)?
ڭ̱N|յ۰tmzwɮפjpAOpGŶܡAڭ̥u|iΪŶ60%.
[128]
maxswapsize=128
------------------------------------------------------
Τݶ}niJؼҦ?
"1" ϧμҦ(w]),
"2" rҦ.
[1]
Τݶ}ᬰϧμҦ.
******************************************************
------------------------------------------------------
Τݶ}ϧμҦziHܵnJ:
(0)@nJ, (1)۰ʵnJ, (2)ɵnJ
[0]
Τݹq},ϥΪ̥JbPKX~ϥ
******************************************************
------------------------------------------------------
AO_nOdHeDRBLΤݹq]w?
[Y/n]
pGDRBLΤݹq]wsbܡAN|HOd.
******************************************************
------------------------------------------------------
wҶq, AO_nΤݹq]w޲ẕKX(w]ƻsDRBLA޲ẕK XΤݹq޲z̨ϥ)?
[y/N]
~...
------------------------------------------------------
AO_nbΤݹq}ɭϥΪ̥iHܩҭntΡH
[Y/n]
Τݹq},X{ܲŸɭnݦh֭0.1H
[70]
~...
------------------------------------------------------
------------------------------------------------------
QΧOW覡ACxΤݹqiH֦2IP,
䤤@ӬOpIPAΨӳsDRBLA,t@Ӥ}IPOΨӪzL洫s~ ϥ!
AO_n]wCxΤݹq}IP?
[y/N]
------------------------------------------------------
AO_nDRBLΤݥiHܨϥκ²q(thin-client)Ҧ? ]NO,pGA²q,AnϨxq]DRBLAݵe(remote display) (ojϥΦA 귽), Цb^"Y".
Ъ`N!
1. pGADRBLAj,A̦nb^"no".
2. pGAb^"yes",ڭ̷|}XDMCPΤݨӳsu,
}XDMCPû|O@Ӧw@k,@ӥi檺覡Ot~]w/etc/hosts.allowH/etc/hosts.denyzΤݾs,O٤O̦w.
b𤤳]w177WhO@ӳ̦wk.
AiHŪXDMCPUӤFѬӸ`.
бzۤvھڱzݭnӳ]woǳWh.
3. pGAo̦^"yes",ݷ|AiॲnsҰXୱҺ޲z{(gdm/kdm),bҦε{eаOoxsz!
AO_n}²q(thin-client)ҦΤݿ?
[y/N]
~...
------------------------------------------------------
******************************************************
******************************************************
------------------------------------------------------
Checking the kernel config "/boot/config-2.4.22-1.2115.nptl..."
DRBLAثeϥΪ֤ߤ䴩 NFS over TCP!
i`NjpGADRBLAثeϥΪ֤ߪAåBT{Ӯ֤߬O_䴩NFS over UDP άO TCPAA̦ns"drblpush -i"HKΤݹq}F!
"Enter"~...
------------------------------------------------------
The NETWORK is NOT set in /etc/sysconfig/network-scripts/ifcfg-eth1, use the calculated NETWORK=192.168.38.0.
------------------------------------------------------
******************************************************
The RPCNFSDCOUNT in /etc/sysconfig/nfs is set as 5 (2.5*Total_Client_No).
******************************************************
bjMDRBLAwgw˪{...oӥiݭnX...
MDRBLAһݪ{.
******************************************************
i`NjAܫOdΤݹq즳]wA槹oӵ{AΤݹqi|Ǥ`{HALzunNǥΤݹqs}Yi!
"Enter"~...
******************************************************
{bǳƳpoɮרtΤ!
An~?
ĵi!pGA~AAWhN|Qﱼ!
ӪWhN|Qƥ/etc/sysconfig/iptables.drblsave.
[Y/n]
******************************************************
}li...
------------------------------------------------------
Checking the necessary disk space...done!
Cleaning the stale files of the diskless nodes if they exist...done!
******************************************************,
******************************************************,
The version number for your Linux: FC1
Keeping the old common root files if they exist...
Keeping old nodes if they exist...
Creating common root files... This might take several minutes..........The DRBL client will use kernel 2.4.22-1.2199.nptl....Cleaning the ssh key file ssh_host_dsa_key copied from server...done!
Cleaning the ssh key file ssh_host_dsa_key.pub copied from server...done!
Cleaning the ssh key file ssh_host_key copied from server...done!
Cleaning the ssh key file ssh_host_key.pub copied from server...done!
Cleaning the ssh key file ssh_host_rsa_key copied from server...done!
Cleaning the ssh key file ssh_host_rsa_key.pub copied from server...done!
..It's VMWare as DRBL server ..., If you want to use X Window, make sure you already installed VMWare tools.
Using old-style dev for clients... Deleting the accounts (except root) in the DRBL common root template...done!
Enabling the NIS client for this DRBL common root template...done!
Creating some necessary files in the DRBL common root template......done!
Creating DRBL client: fc1-101 192.168.38.1... The display manager we selected for your DRBL client is "gdm"...
Setting node 192.168.38.1 as normal_login...done!
done !!!
Creating DRBL client: fc1-102 192.168.38.2... The display manager we selected for your DRBL client is "gdm"...
Setting node 192.168.38.2 as normal_login...done!
done !!!
Copying the config file to /etc/sysconfig/drbl...done!
Now set the services dhcp, xinetd, portmap, nis, nfs, iptables to be on when the machine start up.
Now start the NAT service...
Flushing firewall rules:                                   [  OK  ]
Setting chains to policy ACCEPT: filter nat                [  OK  ]
Warning! /etc/sysconfig/iptables is renamed as iptables.drblsave!
Your firewall rules is overwritten!!! We set the NAT for clients with IP address 192.168.x.x to access this DRBL server!
Saving firewall rules to /etc/sysconfig/iptables:          [  OK  ]
ip_forward is already on.
Update YP...
Now start the service: dhcpd xinetd portmap iptables ypserv ypbind yppasswdd ypxfrd nfs nfslock ntpd
Shutting down dhcpd:                                       [  OK  ]
Starting dhcpd:                                            [  OK  ]
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping portmapper:                                       [  OK  ]
Starting portmapper:                                       [  OK  ]
Flushing firewall rules:                                   [  OK  ]
Setting chains to policy ACCEPT: filter nat                [  OK  ]
Applying iptables firewall rules:                          [  OK  ]
Stopping YP server services:                               [  OK  ]
Starting YP server services:                               [  OK  ]
Shutting down NIS services:                                [  OK  ]
Binding to the NIS domain:                                 [  OK  ]
Listening for an NIS domain server.
Stopping YP passwd service:                                [  OK  ]
Starting YP passwd service:                                [  OK  ]
Stopping YP map server:                                    [  OK  ]
Starting YP map server:                                    [  OK  ]
Shutting down NFS mountd:                                  [  OK  ]
Shutting down NFS daemon:                                  [  OK  ]
Shutting down NFS quotas:                                  [  OK  ]
Shutting down NFS services:                                [  OK  ]
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
Stopping NFS statd:                                        [  OK  ]
Starting NFS statd:                                        [  OK  ]
Shutting down ntpd:                                        [  OK  ]
Starting ntpd:                                             [  OK  ]
ip_forward is already on.
DRBLAϧܺ޲z{(display manager)O "gdm"
DRBLAGDMݳsuwg!
²qҦ! !
Turn on the boot prompt for PXE client...done!
Turn off the thin client option in PXE boot menu...done!

******************************************************
Enjoy DRBL!!!
NCHC Free Software Labs, Taiwan
http://opensource.nchc.org.tw
http://drbl.nchc.org.tw; http://drbl.sf.net
******************************************************

******************************************************
Now syncing - flush filesystem buffers...
******************************************************
If you like, you can reboot the DRBL server now to make sure everything is ready...(This is not necessary, just an option.)
