Changeset 137 for nutchez-0.2/src/test/install
- Timestamp:
- May 31, 2010, 11:02:58 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/test/install
r136 r137 6 6 source ./client_install_func.sh 7 7 ### real code ##### 8 main () { 8 9 # 執行環境檢查 10 check_info () { 9 11 check_root 10 12 check_systemInfo … … 14 16 #check_dialog 15 17 #check_php 18 } 16 19 17 #set install mode 20 main () { 21 echo "歡迎使用NutchEZ\ 此安裝程序會為您新建一個nutchuser帳號" 18 22 set_install_information 19 23 show_info 20 24 read -p "Please confirm your install infomation: 1.Yes 2.No " confirm 21 25 if [ $confirm -eq 1 ]; then 22 23 26 # create_nutchuser_account 24 27 # make_ssh_key … … 26 29 # 解壓縮 27 30 # tar -zxvf nutchez-0.2-20100524.tar.gz 28 # mv -rnutchez /opt/31 # mv nutchez /opt/ 29 32 Install_Nutch 30 33 Install_Tomcat 31 #chown -R nutchuser:nutchuser /opt/nutchez34 chown -R nutchuser:nutchuser /opt/nutchez 32 35 # make_client_install 33 36 37 # 啟動系統 34 38 format_HDFS 35 39 start_up_NutchEZ … … 44 48 } 45 49 50 check_info 46 51 main
Note: See TracChangeset
for help on using the changeset viewer.