Changeset 214 for nutchez-0.2/src/test


Ignore:
Timestamp:
Jun 21, 2010, 11:01:56 AM (15 years ago)
Author:
shunfa
Message:

測試時修改相關對應變數及路徑(Master.Client安裝及移除)

Location:
nutchez-0.2/src/test
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.2/src/test/client_install

    r209 r214  
    9696# 回覆 Hostname 和 IP 給 Master Server
    9797recall_hostname_ip $Master_IP_Address
     98show_info "$CI_finish_echo_1"
    9899read -p "continue.."
  • nutchez-0.2/src/test/client_remove.sh

    r213 r214  
    1010
    1111
    12 source ./lang_zh_TW_client_remove
     12source ./lang_link
    1313# 需要 master_install 設定的參數區
    1414# Master IP here
  • nutchez-0.2/src/test/install_func.sh

    r213 r214  
    460460  # 複製檔案至$User_HOME/source目錄下
    461461  mv NutchezForClientOf_$MasterIP_Address.tar.gz /home/nutchuser/nutchez/source
    462   cp $Start_PATH/client_install $Start_PATH/client_install_func.sh /home/nutchuser/nutchez/source
     462  cp $Start_PATH/client_install $Start_PATH/client_install_func.sh $Start_PATH/client_remove.sh $Start_PATH/lang_link  /home/nutchuser/nutchez/source
     463  cp -r $Start_PATH/lang /home/nutchuser/nutchez/source
     464  cp -r $Start_PATH/lang /home/nutchuser/nutchez/system
     465  cp $Start_PATH/nutchez $Start_PATH/lang_link $Start_PATH/add_hosts $Start_PATH/duplicate_del $Start_PATH/master_remove.sh /home/nutchuser/nutchez/system
     466
    463467#  cp $Start_PATH/client_install $Start_PATH/client_install /home/nutchuser/nutchez/source
    464468#  cp $Start_PATH/client_install $Start_PATH/client_remove.sh /home/nutchuser/nutchez/source
  • nutchez-0.2/src/test/lang/lang_zh_TW

    r213 r214  
    1111############ Lang for master_install -Start ############
    1212MI_main_echo_1="歡迎使用NutchEZ, 此安裝程序會為您新建一個nutchuser帳號並協助您設定>密碼"
    13 MI_main_echo_2="請確認上述的安裝資訊:1.正確 2.不正確"
     13MI_main_echo_2="請確認上述的安裝資訊:1.正確 2.不正確 "
    1414MI_main_echo_3="安裝成功!"
    1515MI_main_echo_4="請進入管理頁面:http://$MasterIP_Address:8080"
     
    7777
    7878#
     79MI_show_master_info_echo_1="Master網路IP位址為:"
     80MI_show_master_info_echo_2="Master的MAC為: "
     81
     82
     83#
    7984MI_make_ssh_key_echo_1="正在產生SSH Key... "
    8085MI_make_ssh_key_echo_2="SSH Key已產生"
     
    131136MI_client_install_commands_echo_3="mkdir nutchez_client_install"
    132137MI_client_install_commands_echo_4="cd nutchez_client_install"
    133 MI_client_install_commands_echo_5="scp nutchuser@$MasterIP_Address:/home/nutchuser/nutchez/source/* ."
     138MI_client_install_commands_echo_5="scp -r nutchuser@$MasterIP_Address:/home/nutchuser/nutchez/source/* ."
    134139MI_client_install_commands_echo_6="sudo su"
    135140MI_client_install_commands_echo_7="./client_install"
     
    138143
    139144########## Lang for Client Install - Start##########
     145
     146CI_finish_echo_1="NutchEZ 已完成安裝此一Client端"
    140147
    141148# [Variables Declaration] #
     
    258265MR_main_echo_1="警告 - 此一程式為移除nutchEZ程式, 若您為誤執行此一程式, 請按Ctrl+c離開此程序!"
    259266MR_main_echo_2="本執行程序將會移除安裝nutchEZ時所新增的檔案及nutchuser使用者帳號。"
    260 MR_main_echo_3="請問是否確定移除此一節點:1.確定 2.取消"
     267MR_main_echo_3="請問是否確定移除此一節點:1.確定 2.取消 "
    261268MR_main_echo_4="移除程序已完成!"
    262269MR_main_echo_5="您已取消移除程序!"
     
    289296CR_main_echo_1="警告 - 此一程式為移除此用戶端的nutch node, 若您為誤執行此一程式, 請按Ctrl+c離開此程序!"
    290297CR_main_echo_2="本執行程序將會移除安裝nutchEZ時所新增的檔案及nutchuser使用者帳號。"
    291 CR_main_echo_3="請問是否確定移除此一節點:1.確定 2.取消"
     298CR_main_echo_3="請問是否確定移除此一節點:1.確定 2.取消 "
    292299CR_main_echo_4="移除程序已完成!"
    293300CR_main_echo_5="您已取消移除程序!"
  • nutchez-0.2/src/test/master_remove.sh

    r213 r214  
    99#   
    1010
    11 source ./lang_zh_TW_master_remove
     11source ./lang_link
    1212
    1313##########  echo function  ##########
Note: See TracChangeset for help on using the changeset viewer.