Changeset 249
- Timestamp:
- Jul 22, 2010, 5:16:27 PM (14 years ago)
- Location:
- nutchez-0.2/src/shell
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/shell/add_hosts
r174 r249 39 39 40 40 # Backup /etc/hosts 41 cp -f "$2" "$2.bak"41 #cp -f "$2" "$2.bak" 42 42 43 43 # attache nutch_nodes to hosts -
nutchez-0.2/src/shell/client_install
r244 r249 11 11 # 需要 master_install 設定的參數區 12 12 # Master IP here 13 Master_IP_Address= your.master.ip.here13 Master_IP_Address=140.110.138.179 14 14 # Master Hostname here 15 Master_Hostname= your.msater.hostname.here15 Master_Hostname=rocky 16 16 # 此檔自己用的參數區 17 17 Linux_Distribution=""; -
nutchez-0.2/src/shell/client_remove
r244 r249 12 12 # 需要 master_install 設定的參數區 13 13 # Master IP here 14 Master_IP_Address= input.your.master.ip_address14 Master_IP_Address=140.110.138.179 15 15 # Master Hostname here 16 16 Master_Hostname=input_your_master_hostname -
nutchez-0.2/src/shell/duplicate_del
r174 r249 45 45 done 46 46 47 cp -f "$1" "${1}.bak"47 #cp -f "$1" "${1}.bak" 48 48 #read -p "cp -f $1 ${1}.bak ; $?" -
nutchez-0.2/src/shell/nutchez
r243 r249 64 64 exit 65 65 fi 66 cp -f "${NutchEZ_HOME}/system/nutch_nodes" "${NutchEZ_HOME}/system/nutch_nodes.bak" 67 66 68 # 若 nutch_nodes 被更新過,則要求更新 /etc/hosts 67 69 elif [ ${NutchEZ_HOME}/system/nutch_nodes -nt ${NutchEZ_HOME}/system/nutch_nodes.bak ]; then
Note: See TracChangeset
for help on using the changeset viewer.