Changeset 77 for nutchez-0.1/bin/nutchez


Ignore:
Timestamp:
Jun 4, 2009, 6:26:49 PM (16 years ago)
Author:
waue
Message:

good

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.1/bin/nutchez

    r75 r77  
    1515  export HADOOP_CONF_DIR=~/.nutchez
    1616  export NUTCH_LOG_DIR=~/.nutchez/log
     17
     18if [ $JAVA_HOME = "" ];then
     19  export JAVA_HOME=/usr/lib/jvm/java-6-sun
     20fi
     21
    1722#  export NUTCH_HOME=/opt/nutch
    1823
    1924. /opt/nutch/bin/nutchez-func.sh
    20 . ~/.nutchez/hadoop-env.sh
     25#. ~/.nutchez/hadoop-env.sh
    2126
    2227
     
    9398done
    9499
     100set_nutchez_p
     101
    95102start_crawl
    96103
    97 #start_tomcat
     104start_tomcat
    98105
    99106# show result message
    100107
    101 #show_report
     108show_report
    102109
    103110# Done
Note: See TracChangeset for help on using the changeset viewer.