Ignore:
Timestamp:
May 20, 2010, 2:25:18 PM (14 years ago)
Author:
waue
Message:

add some value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.2/src/test/install

    r116 r117  
    44# 匯入功能函數
    55source ./install_func.sh
     6### test for languege choise ###
    67mainFunction
    78braBraBra
     9### test code end ###
     10
     11### real code #####
     12main () {
     13  # check_root
     14  # check_systemInfo
     15  # check_nez_installed
     16  # check_sunJava
     17  # check_ssh
     18  # check_dialog
     19  # check_php
     20  set_install_information
     21  show_info
     22  read -p "Please confirm your install infomation: 1.Yes 2.No  " confirm
     23  if [ $confirm -eq 1 ]; then
     24
     25    # create_nutchuser_account
     26    # make_ssh_key
     27
     28    Hadoop_install
     29    Nutch_install
     30
     31    # tomcat_install
     32    # make_client_install
     33   
     34    format_HDFS
     35    start_up_NutchEZ
     36    set_tomcat
     37    start_up_tomcat
     38  elif [ $confirm -eq 2 ]; then
     39    main
     40  fi
     41  echo "Install Successfully!!"
     42  echo "Visit http://$MasterIP_Address:portNO"
     43}
     44
     45main
Note: See TracChangeset for help on using the changeset viewer.