Changeset 206 for nutchez-0.2/src/test/install
- Timestamp:
- Jun 18, 2010, 2:00:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/test/install
r199 r206 28 28 main () { 29 29 check_info 30 show_info $main_echo_130 show_info "$main_echo_1" 31 31 # show_info "歡迎使用NutchEZ, 此安裝程序會為您新建一個nutchuser帳號並協助您設定密碼" 32 32 set_install_information 33 show_master_info 33 34 read -p "$main_echo_2" confirm 34 35 # read -p "Please confirm your install infomation: 1.Yes 2.No " confirm … … 36 37 creat_nutchuser_account $Nutchuser_Passwd 37 38 make_ssh_key 38 39 39 # 解壓縮 40 40 tar -zxvf nutchezV2-current.tar.gz -C /opt/ 41 41 42 Install_Nutch 43 42 44 mkdir /var/nutchez 43 45 chown -R nutchuser:nutchuser /opt/nutchez … … 49 51 su nutchuser -c "mkdir /home/nutchuser/nutchez/source" 50 52 su nutchuser -c "mkdir /home/nutchuser/nutchez/system" 53 51 54 make_client_install 52 53 55 # 啟動系統 54 56 format_HDFS … … 56 58 start_up_tomcat 57 59 # 安裝流程結束,並進入網頁管理頁面設定爬網網址...等 58 show_info $main_echo_360 show_info "$main_echo_3" 59 61 # show_info "Install Successfully!!" 60 show_info $main_echo_462 show_info "$main_echo_4" 61 63 # show_info "Visit http://$MasterIP_Address:8080" 62 64 client_install_commands
Note: See TracChangeset
for help on using the changeset viewer.