Changeset 195 for nutchez-0.2/src/test/install
- Timestamp:
- Jun 17, 2010, 10:28:36 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/test/install
r187 r195 4 4 # 匯入功能函數 5 5 source ./install_func.sh 6 source ./client_install_func.sh 6 #source ./client_install_func.sh 7 source ./install_lang.zh 8 9 Work_Path=$(echo $0 | sed 's/install//') 10 11 # Source functions 12 source $Work_Path/client_install_func.sh 7 13 ### real code ##### 8 14 … … 18 24 main () { 19 25 check_info 20 show_info "歡迎使用NutchEZ, 此安裝程序會為您新建一個nutchuser帳號並協助您設定密碼" 26 show_info $main_echo_1 27 # show_info "歡迎使用NutchEZ, 此安裝程序會為您新建一個nutchuser帳號並協助您設定密碼" 21 28 set_install_information 22 read -p "Please confirm your install infomation: 1.Yes 2.No " confirm 29 read -p "$main_echo_2" confirm 30 # read -p "Please confirm your install infomation: 1.Yes 2.No " confirm 23 31 if [ $confirm -eq 1 ]; then 24 32 creat_nutchuser_account $Nutchuser_Passwd … … 44 52 start_up_tomcat 45 53 # 安裝流程結束,並進入網頁管理頁面設定爬網網址...等 46 show_info "Install Successfully!!" 47 show_info "Visit http://$MasterIP_Address:8080" 48 client_install_command 54 show_info $main_echo_3 55 # show_info "Install Successfully!!" 56 show_info $main_echo_4 57 # show_info "Visit http://$MasterIP_Address:8080" 58 client_install_commands 49 59 elif [ $confirm -eq 2 ]; then 50 60 main
Note: See TracChangeset
for help on using the changeset viewer.