Changeset 72
- Timestamp:
- Jun 2, 2009, 5:20:19 PM (16 years ago)
- Location:
- nutchez-0.1
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.1/bin/nutchez
r69 r72 6 6 7 7 # begining .. 8 bin=`dirname "$0"`9 bin=`cd "$bin"; pwd`10 8 11 . "$bin"/nutchez-func.sh 9 #bin=`dirname "$0"` 10 #bin=`cd "$bin"; pwd` 11 12 #. "$bin"/nutchez-func.sh 13 14 export NUTCH_CONF_DIR=~/.nutchez 15 export HADOOP_CONF_DIR=~/.nutchez 16 export HADOOP_LOG_DIR=~/.nutchez/log 17 18 . /opt/nutch/bin/nutchez-func.sh 19 . ~/.nutchez/hadoop-env.sh 20 21 22 12 23 init_nutchez 13 24 -
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 -
nutchez-0.1/conf/sav/n.crawler.txt
r67 r72 1 6 1 3 -
nutchez-0.1/conf/sav/n.url.txt
r67 r72 1 http://www.nchc.org.tw2 http://www.yahoo.com.tw1 www.nchc.org.tw 2 www.hadoop.tw
Note: See TracChangeset
for help on using the changeset viewer.