Changeset 191


Ignore:
Timestamp:
Jun 15, 2010, 1:25:19 PM (14 years ago)
Author:
rock
Message:
 
Location:
nutchez-0.2/src/test
Files:
2 edited

Legend:

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

    r188 r191  
    5353# 檢查執行這個程式的是否為root權限
    5454check_root
    55 read
     55read -p "continue.."
    5656
    5757# 查出此主機的作業系統,以及版本
    5858check_systemInfo
    59 read
     59read -p "continue.."
    6060
    6161# 安裝需要的套件 (目前只支援 deb 套件的系統自動安裝,yum或其他套件系統的則必須手動安裝)
    6262# 需要套件名稱 ssh, expect, dialog
    6363install_packages
    64 read
     64read -p "continue.."
    6565
    6666# 檢查之前是否有安裝NutchEz
    6767# 目前先檢查是否有/opt/nutchez 這個資料夾即可
    6868check_nez_installed
    69 read
     69read -p "continue.."
    7070
    7171# 檢查是否有安裝sun java ,並檢查是否為jdk 1.6 以上版本
    7272check_sunJava
    73 read
     73read -p "continue.."
    7474
    7575# 檢查是否有安裝openssh, openssh-server
    7676check_ssh
    77 read
     77read -p "continue.."
    7878
    7979# 檢查是否有安裝dialog
    8080check_dialog
    81 read
     81read -p "continue.."
    8282
    8383# 新增nutchuser 帳號時用 Nutchuser_Passwd 當密碼
    8484creat_nutchuser_account
    85 read
     85read -p "continue.."
    8686
    8787# scp nutchuser@master_ip:~ 把.ssh/目錄複製下來
     
    8989# 此步驟若無法連到 master 則跳出
    9090scp_master_nutchuser_sshkey $Master_IP_Address
    91 read
     91read -p "continue.."
    9292
    9393# 用scp 複製 master 的設定與安裝資料
    9494# 目前僅需做到能無礙的複製遠端的/opt/nutchez/到local的/opt/
    9595scp_packages $Master_IP_Address
    96 read
     96read -p "continue.."
    9797
    9898# 安裝及啟動
    9999install_nutch_package
    100 read
     100read -p "continue.."
    101101
    102102# 回覆 Hostname 和 IP 給 Master Server
    103103recall_hostname_ip $Master_IP_Address
     104read -p "continue.."
  • nutchez-0.2/src/test/client_install_func.sh

    r189 r191  
    2929. lang_en_US_client_install
    3030# if locale is zh then source chinese
    31 echo $lang | grep 'zh' && source lang_zh_TW_nutchez
     31echo $lang | grep 'zh' >> /dev/null && source lang_zh_TW_client_install
    3232
    3333# Ask language
Note: See TracChangeset for help on using the changeset viewer.