Changeset 72 for nutchez-0.1/bin/nutchez-func.sh
- Timestamp:
- Jun 2, 2009, 5:20:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.1/bin/nutchez-func.sh
r69 r72 9 9 10 10 # set 1 to display more for debug, 11 VERB= 111 VERB=0 12 12 13 13 init_nutchez () { … … 19 19 chown -R $LOGNAME:$LOGNAME ~/.nutchez 20 20 fi 21 export NUTCH_CONF_DIR=~/.nutchez22 export HADOOP_CONF_DIR=~/.nutchez23 export HADOOP_LOG_DIR=~/.nutchez/log24 . ~/.nutchez/hadoop-env.sh || . /etc/nutch/hadoop-env.sh21 # export NUTCH_CONF_DIR=~/.nutchez 22 # export HADOOP_CONF_DIR=~/.nutchez 23 # export HADOOP_LOG_DIR=~/.nutchez/log 24 # . ~/.nutchez/hadoop-env.sh || . /etc/nutch/hadoop-env.sh 25 25 } 26 26 … … 173 173 echo_vb "8. start_tomcat " 174 174 echo_vb "/opt/nutch/tomcat/bin/startup.sh" 175 if [ -e /tmp/search ] 175 if [ -e /tmp/search ];then 176 176 rm -rf /tmp/search 177 177 fi
Note: See TracChangeset
for help on using the changeset viewer.