Changeset 77 for nutchez-0.1/bin/nutchez-func.sh
- Timestamp:
- Jun 4, 2009, 6:26:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.1/bin/nutchez-func.sh
r75 r77 90 90 mkdir ~/.nutchez/search 91 91 fi 92 # change explorer port93 sed -i -e "s/<Connector port=\"[0-9]*\"/<Connector port=\"$PORT\"/" ~/.nutchez/tomcat/conf/server.xml94 92 fi 93 # change explorer port 94 sed -i -e "67s/<Connector port=\"[0-9]*\"/<Connector port=\"$PORT\"/" ~/.nutchez/tomcat/conf/server.xml 95 95 } 96 96 … … 156 156 # define paramaters 157 157 158 start_crawl () { 159 158 set_nutchez_p () { 160 159 ROBOT=`cat ~/.nutchez/sav/n.robot.txt` 161 160 URLS=`cat ~/.nutchez/sav/n.urls.txt` 162 161 DEPTH=`cat ~/.nutchez/sav/n.crawler.txt` 163 162 PORT=`cat ~/.nutchez/sav/n.tomcat.txt` 163 } 164 start_crawl () { 164 165 165 166 echo_vb "7. start_crawl" … … 180 181 ~/.nutchez/tomcat/bin/shutdown.sh 181 182 ~/.nutchez/tomcat/bin/startup.sh 183 sleep 3 182 184 } 183 185
Note: See TracChangeset
for help on using the changeset viewer.