Changeset 188 for nutchez-0.2/src/test/client_install
- Timestamp:
- Jun 14, 2010, 6:04:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/test/client_install
r169 r188 35 35 } 36 36 37 # Language Choice 38 choose_lang 39 37 40 # 參數詢問 38 41 yesno="no" 39 show_info " Your master IP:$Master_IP_Address"40 read -p " Is this data cooect? (yes/no):" yesno42 show_info "$par_echo_1 $Master_IP_Address" 43 read -p "$par_echo_2" yesno 41 44 42 45 if [ "$yesno" == "yes" ] || [ "$yesno" == "y" ] ; then 43 show_info " These parameters are correct."46 show_info "$par_echo_3" 44 47 else 45 show_info " Please edit these parameters in this file."48 show_info "$par_echo_4" 46 49 exit 47 50 fi 48 51 49 # 功能邏輯區50 51 52 # 程式邏輯區53 52 54 53 # 檢查執行這個程式的是否為root權限 … … 82 81 read 83 82 84 85 83 # 新增nutchuser 帳號時用 Nutchuser_Passwd 當密碼 86 84 creat_nutchuser_account 87 85 read 88 89 86 90 87 # scp nutchuser@master_ip:~ 把.ssh/目錄複製下來 … … 93 90 scp_master_nutchuser_sshkey $Master_IP_Address 94 91 read 95 96 92 97 93 # 用scp 複製 master 的設定與安裝資料
Note: See TracChangeset
for help on using the changeset viewer.