Version 8 (modified by jazz, 14 years ago) (diff) |
---|
2010-09-26
- DRBL 一開始如果選 SSI mode 然後用 dcs 選 Full mode 必須重跑 drblpush -i
- DRBL 蒐集 MAC 時收到 IP 的解法
-
drbl-collect-mac
old new 150 150 ## main 151 151 for eth in $request_eth_port; do 152 152 #/usr/sbin/tcpdump -qte -i $eth > $drblmac/setup-drbl-auto.$eth 2> /dev/null & 153 /usr/sbin/tcpdump -tel -i $eth broadcast and port bootpc > $drblmac/setup-drbl-auto.$eth 2> /dev/null &153 /usr/sbin/tcpdump -teln -i $eth broadcast and port bootpc > $drblmac/setup-drbl-auto.$eth 2> /dev/null & 154 154 done
-
- [備忘] hadoop 課程準備
- 使用 DRBL 網路安裝 Ubuntu 10.04 (lucid) i386 版本(amd64 版本會無法安裝 Adobe Acrobat Reader 的 deb 檔)
- 預設使用者 hadoop
- 建立 ssh key 並交換 key
hadoop@lucid:~$ ssh-keygen hadoop@lucid:~$ ssh-copy-id localhost
- 安裝 Sun Java JDK 1.6.0-update 20
hadoop@lucid:~$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" hadoop@lucid:~$ sudo apt-get update hadoop@lucid:~$ sudo apt-get install sun-java6-jdk sun-java6-plugin hadoop@lucid:~$ sudo update-java-alternatives -s java-6-sun
- 安裝 Acrobat Reader 8.1.7
hadoop@lucid:~$ wget http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/8.1.7/cht/AdobeReader_cht-8.1.7-1.i386.deb hadoop@lucid:~$ sudo gdebi AdobeReader_cht-8.1.7-1.i386.deb
- 安裝 vim
hadoop@lucid:~$ sudo apt-get install vim hadoop@lucid:~$ sudo apt-get autoremove --purge vim-tiny ed nano vi :set bg=dark :set ai :set si :set ci :set sts=2 :mkv! :q
- 安裝 Netbean IDE 6.9.1 正體中文版
wget http://bits.netbeans.org/netbeans/6.9.1/community/final/bundles/netbeans-6.9.1-ml-javase-linux.sh chmod a+x netbeans-6.9.1-ml-javase-linux.sh sudo ./netbeans-6.9.1-ml-javase-linux.sh
- 使用 DRBL 網路安裝 Ubuntu 10.04 (lucid) i386 版本(amd64 版本會無法安裝 Adobe Acrobat Reader 的 deb 檔)
- [測試] 建立 drbl-hadoop 教學環境
wget http://drbl.nchc.org.tw/GPG-KEY-DRBL sudo apt-key add GPG-KEY-DRBL sudo apt-get update sudo apt-get -y install drbl nmap sudo /opt/drbl/sbin/drblsrv -i -c n -n n -m n -g n -k 2 -o 1 sudo /opt/drbl/sbin/drblpush -i -s N -q -r 0 -z 0
- 不確定是否因為有 nVidia 顯示卡的原因,還是 lucid 本身就還有一些不穩定的地方,讓 DRBL Client 使用 autologin 方式登入成功的機率並不高。也可能是用單一台一張網卡,頻寬被綁得太緊也有可能。
Attachments (15)
- install-hadoop (4.1 KB) - added by jazz 14 years ago.
- NetBeans-Download.png (177.9 KB) - added by jazz 14 years ago.
- NetBeans-1.png (30.9 KB) - added by jazz 14 years ago.
- NetBeans-2.png (34.1 KB) - added by jazz 14 years ago.
- NetBeans-3.png (25.9 KB) - added by jazz 14 years ago.
- NetBeans-4.png (21.2 KB) - added by jazz 14 years ago.
- NetBeans-5.png (21.9 KB) - added by jazz 14 years ago.
- Netbeans-Plugins.png (38.2 KB) - added by jazz 14 years ago.
- Netbeans-Define-Plugin.png (9.1 KB) - added by jazz 14 years ago.
- Netbeans-Uncheck-Plugins.png (38.4 KB) - added by jazz 14 years ago.
- Karmasphere-1.png (15.4 KB) - added by jazz 14 years ago.
- Karmasphere-2.png (14.2 KB) - added by jazz 14 years ago.
- Karmasphere-3.png (26.3 KB) - added by jazz 14 years ago.
- Karmasphere-4.png (17.1 KB) - added by jazz 14 years ago.
- drbl-collect-mac.patch (496 bytes) - added by jazz 14 years ago.
Download all attachments as: .zip