Changeset 204 for nutchez-0.2/src
- Timestamp:
- Jun 17, 2010, 4:57:35 PM (14 years ago)
- Location:
- nutchez-0.2/src/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/test/client_remove.sh
r203 r204 10 10 11 11 12 # TODO:13 # 此一shell 檔需於安裝時scp至system目錄下14 12 source ./lang_zh_TW_client_remove 15 13 # 需要 master_install 設定的參數區 -
nutchez-0.2/src/test/install_func.sh
r203 r204 391 391 } 392 392 393 function client_PassMasterIPAddr_for_Remove () { 394 cd $Start_PATH 395 Line_NO=`cat client_remove.sh grep -n '# Master IP here' | sed 's/:.*//g'` 396 sed -i ''$((Line_NO+1))'d' client_remove.sh 397 sed -i ''$Line_NO'a Master_IP_Address='$MasterIP_Address'' client_remove.sh 398 } 399 393 400 394 401 function make_client_install () { … … 404 411 client_PassMasterIPAddr 405 412 client_PassMaster_Hostname 413 client_PassMasterIPAddr_for_Remove 406 414 cd /opt/nutchez/ 407 415 su nutchuser -c "tar -cvzf NutchezForClientOf_$MasterIP_Address.tar.gz nutch"
Note: See TracChangeset
for help on using the changeset viewer.