= 2008-12-03 = * [http://www.nchc.org.tw/event/2008/southeast_asia/program.php 2008 東南亞國際合作高速計算應用與網路共同研究暨培訓研習會 Center of Excellence of Pacific Rim in Cyber Education and Research Collaboration (CEPERC)] * 09:00~09:40 Global Lake Environmental Observatory Network ─ Dr. , U. Wisconsin Madison.Tim Kratz * 09:40~10:10 Taiwan Long term Observation for Ocean Research – Dr. Forng-Chen Chiu, TORI * 14:00~14:20 APEC TEL Information Grid and tools development ─ Dr. Hock Beng Lim, Nangyang Technology University, Singapore * 14:45~15:00 High Definition Video Streaming in Kenting – Yu-Te Lin, NCHC @ Classroom A * Adobe Flash Player 在 x86_64 下的安裝問題 * [狀況] Adobe Flash Player installer 安裝時出現警告 {{{ jazz@drbl:~/install_flash_player_10_linux$ ./flashplayer-installer ERROR: Your architecture, \'x86_64\', is not supported by the Adobe Flash Player installer. }}} * 參考解法: * [http://blog.xuite.net/happyman/tips/12525010 x86_64 flash 9 plugin on ubuntu 7.04] * [http://ubuntuforums.org/showthread.php?t=368607 Advantages and Disadvantages of 64bit] * [http://ubuntuforums.org/showthread.php?t=202537 Howto Install 32 bit Firefox with Flash w/sound and Java for AMD64] * 準備週四 DRBL 演講 {{{ 1. 放 PXE boot 的 clonezilla live [done] 2. Clonezilla Live CD : 60 片 [done] 3. DRBL/Clonezilla 貼紙 [done] 4. T-shirt: 5 5. 帽子: 5 6. USB Key: 3 [done] -> 6 7. Dux: 100 [done] 8. DRBL/Clonezilla 簡介 (Steven's office) }}} * 準備週五 DRBL 課程 @ 北群 C 教室 {{{ 1. 用網路安裝 ubuntu 8.10 [done] -- 速度有點慢 2. 裝"unstable"的drbl (這幾天我會把它搬到stable) [done] 3. 測試一下clonezilla,用另外一台save & restore image 4. 網路線在ceasar office吧 }}} * 安裝 Ubuntu 8.10 intrepid netinstall 版本,並加選 openssh 與 xubuntu desktop * 不確定是否是 resolv.conf 造成安裝的速度較為緩慢,建議加入 "nameserver 168.95.192.1" 到 /etc/resolv.conf 或將http://free.nchc.org.tw/ubuntu 設為預設套件來源,看是否安裝會比較快速。 * [錯誤裝法] 一開始我只有加入 drbl unstable apt repository {{{ root@ubuntu:~# wget http://drbl.nchc.org.tw/GPG-KEY-DRBL root@ubuntu:~# apt-key add GPG-KEY-DRBL root@ubuntu:~# echo "deb http://free.nchc.org.tw/drbl-core drbl unstable" > /etc/apt/sources.list.d/drbl.list root@ubuntu:~# apt-get update root@ubuntu:~# apt-get install drbl root@ubuntu:~# /opt/drbl/sbin/drblsrv -i }}} * 結果當執行 drblsrv -i 時出現以下訊息: {{{ E: 無法找到 mkswap-uuid 套件。 警告! 有些必要的程式並沒有安裝成功!如果你繼續執行的話,應該是會有問題。最好現在停止程式,然後檢查一下/etc/apt/sources.list以及網際網路連線! *****************************************************. 如果找到新版的程式,嘗試升級某些需要的程式... *****************************************************. 在 ayo 資料庫中尋找最新的 kernel ... The kernel image in Ubuntu 8.10 "uses generic" for i686/amd64 CPU. /opt/drbl/bin/pkg-ver-latest: line 51: gawk: command not found /opt/drbl/bin/pkg-ver-latest: line 51: gawk: command not found ... 建立PXE網路開機的設定檔... Copying pxelinux.0, gpxelinux.0, menu.c32, vesamenu.c32, chain.c32, mboot.c32, sanboot.c32 and memdisk to /tftpboot/nbi_img... Copying memtest86+ to /tftpboot/nbi_img... 未曾安裝套件“drbl-etherboot”。 使用 dpkg --info (= dpkg-deb --info) 來檢測打包好的檔案, 還可以用過 dpkg --contents (= dpkg-deb --contents) 來列出它們的內容。 未曾安裝套件“drbl-etherboot”。 使用 dpkg --info (= dpkg-deb --info) 來檢測打包好的檔案, 還可以用過 dpkg --contents (= dpkg-deb --contents) 來列出它們的內容。 cp: 「/tftpboot/nbi_img/」 後缺少了目的地檔案運算元 請嘗試執行『cp --help』來獲取更多資訊。 警告! /usr/lib/freedos/fdos1440.img 未找到!!! FreeDOS 遠端開機無法使用!!! 按 Enter 鍵繼續... /opt/drbl/sbin/generate-pxe-menu: line 9: /opt/drbl/conf/drbl-ocs.conf: 沒有此一檔案或目錄 /opt/drbl/sbin/generate-pxe-menu: line 10: /opt/drbl/sbin/ocs-functions: 沒有此一檔案或目錄 Generating default pxelinux config (/tftpboot/nbi_img/pxelinux.cfg/default)... Use com32 module: vesamenu.c32 No packages found matching clonezilla. Adding menus for DRBL, local boot, memtest86+, FreeDOS... done! *****************************************************. *****************************************************. 產生用戶端PXE與Etherboot網路開機用的檔案,這可能需要幾分鐘... 用戶端電腦使用的最新核心是 2.6.27-9-generic Running mknic-nbi --kernel 2.6.27-9-generic --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 Can't open /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf: 沒有此一檔案或目錄. Can't open /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf: 沒有此一檔案或目錄. Can't open /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf: 沒有此一檔案或目錄. Can't open /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf: 沒有此一檔案或目錄. Setting port for udhcpc request to default... Can't open /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf: 沒有此一檔案或目錄. Using the kernel modules from /tftpboot/node_root//lib/modules... The selected kernel for DRBL clients is: 2.6.27-9-generic Kernel 2.6 was found, so default to use initramfs. Creating the network boot initrd for PXE clients by: mkpxeinitrd-net -k 2.6.27-9-generic -t initramfs /opt/drbl/sbin/mknic-nbi: line 299: mkpxeinitrd-net: command not found Finished! 完成! *****************************************************. 完成! }}} * [問題] E: 無法找到 mkswap-uuid 套件。 {{{ jazz@ubuntu:~$ apt-cache policy mkswap-uuid mkswap-uuid: 已安裝:0.1.1-1 候選:0.1.1-1 版本表格: *** 0.1.1-1 0 500 http://free.nchc.org.tw drbl/testing Packages 100 /var/lib/dpkg/status 0.1.0-3 0 500 http://free.nchc.org.tw drbl/stable Packages }}} * [問題] /opt/drbl/sbin/generate-pxe-menu: line 9: /opt/drbl/conf/drbl-ocs.conf: 沒有此一檔案或目錄 * [問題] /opt/drbl/sbin/generate-pxe-menu: line 10: /opt/drbl/sbin/ocs-functions: 沒有此一檔案或目錄 * [問題] No packages found matching clonezilla. {{{ root@ubuntu:~# apt-cache policy clonezilla clonezilla: 已安裝:2.3.2-23 候選:2.3.2-23 版本表格: *** 2.3.2-23 0 500 http://free.nchc.org.tw drbl/unstable Packages 100 /var/lib/dpkg/status }}} * [問題] 未曾安裝套件“drbl-etherboot”。 {{{ root@ubuntu:~# apt-cache policy drbl-etherboot drbl-etherboot: 已安裝:5.4.3-2 候選:5.4.3-2 版本表格: *** 5.4.3-2 0 500 http://free.nchc.org.tw drbl/stable Packages 100 /var/lib/dpkg/status }}} * [問題] 警告! /usr/lib/freedos/fdos1440.img 未找到!!! FreeDOS 遠端開機無法使用!!! {{{ root@ubuntu:~# dpkg -S /usr/lib/freedos/fdos1440.img freedos: /usr/lib/freedos/fdos1440.img root@ubuntu:~# apt-cache policy freedos freedos: 已安裝:1.0-11drbl 候選:1.0-11drbl 版本表格: *** 1.0-11drbl 0 500 http://free.nchc.org.tw drbl/stable Packages 100 /var/lib/dpkg/status }}} * [問題] Can't open /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf: 沒有此一檔案或目錄. * [問題] /opt/drbl/sbin/mknic-nbi: line 299: mkpxeinitrd-net: command not found {{{ root@ubuntu:~# dpkg -S /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf mkpxeinitrd-net: /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf root@ubuntu:~# apt-cache policy mkpxeinitrd-net mkpxeinitrd-net: 已安裝:1.2-35 候選:1.2-35 版本表格: *** 1.2-35 0 500 http://free.nchc.org.tw drbl/testing Packages 100 /var/lib/dpkg/status 1.2-34 0 500 http://free.nchc.org.tw drbl/stable Packages ...[skip]... }}} * [解法] 加入 drbl stable apt repository {{{ root@ubuntu:~# echo "deb http://free.nchc.org.tw/drbl-core drbl stable testing unstable" > /etc/apt/sources.list.d/drbl.list root@ubuntu:~# apt-get update }}} * [問題] /opt/drbl/bin/pkg-ver-latest: line 51: gawk: command not found * [解法] 安裝 gawk {{{ jazz@ubuntu:~$ sudo apt-get install gawk }}} * Middleware 2008