Changeset 136
- Timestamp:
- May 28, 2010, 4:20:41 PM (14 years ago)
- Location:
- nutchez-0.2/src/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/test/install
r131 r136 4 4 # 匯入功能函數 5 5 source ./install_func.sh 6 6 source ./client_install_func.sh 7 7 ### real code ##### 8 8 main () { 9 #check_root10 #check_systemInfo11 #check_nez_installed12 # 13 # 14 # 15 # 9 check_root 10 check_systemInfo 11 check_nez_installed 12 #check_sunJava 13 #check_ssh 14 #check_dialog 15 #check_php 16 16 17 17 #set install mode … … 23 23 # create_nutchuser_account 24 24 # make_ssh_key 25 26 # 解壓縮 27 # tar -zxvf nutchez-0.2-20100524.tar.gz 28 # mv -r nutchez /opt/ 29 Install_Nutch 30 Install_Tomcat 31 # chown -R nutchuser:nutchuser /opt/nutchez 32 # make_client_install 25 33 26 Install_Nutch27 # make_client_install28 34 format_HDFS 29 35 start_up_NutchEZ 30 Install_Tomcat31 36 start_up_tomcat 32 37 -
nutchez-0.2/src/test/install_func.sh
r131 r136 38 38 confirm_install_information () { 39 39 read -p "Please confirm your install infomation: 1.Yes 2.No " confirm 40 }41 42 set_Nutch_conf () {43 set_hadoop-env44 set_haoop-site45 set_nutch-site46 set_crawl-urlfilter47 40 } 48 41 … … 237 230 } 238 231 232 233 set_Nutch_conf () { 234 set_hadoop-env 235 set_haoop-site 236 set_nutch-site 237 set_crawl-urlfilter 238 } 239 240 239 241 Install_Nutch () { 240 242 cd /opt
Note: See TracChangeset
for help on using the changeset viewer.