Index: nutchez-0.2/src/test/install
===================================================================
--- nutchez-0.2/src/test/install	(revision 116)
+++ nutchez-0.2/src/test/install	(revision 117)
@@ -4,4 +4,42 @@
 # 匯入功能函數
 source ./install_func.sh
+### test for languege choise ###
 mainFunction
 braBraBra
+### test code end ###
+
+### real code #####
+main () {
+  # check_root
+  # check_systemInfo
+  # check_nez_installed
+  # check_sunJava
+  # check_ssh
+  # check_dialog
+  # check_php
+  set_install_information
+  show_info
+  read -p "Please confirm your install infomation: 1.Yes 2.No  " confirm
+  if [ $confirm -eq 1 ]; then
+
+    # create_nutchuser_account
+    # make_ssh_key
+
+    Hadoop_install
+    Nutch_install
+
+    # tomcat_install
+    # make_client_install
+    
+    format_HDFS
+    start_up_NutchEZ
+    set_tomcat
+    start_up_tomcat
+  elif [ $confirm -eq 2 ]; then
+    main
+  fi
+  echo "Install Successfully!!"
+  echo "Visit http://$MasterIP_Address:portNO"
+}
+
+main
