Changeset 144 for nutchez-0.2/src/test/client_install_func.sh
- Timestamp:
- Jun 2, 2010, 1:39:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/test/client_install_func.sh
r143 r144 215 215 chmod 777 /opt 216 216 mkdir /opt/nutchez 217 mkdir /var/nutchez 217 218 #su nutchuser -c "scp -r -o StrictHostKeyChecking=no nutchuser@$1:/opt/nutchez /opt/" 218 echo "scp -r nutchuser@$1:/opt/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz /opt/nutchez/" 219 su nutchuser -c "scp -r nutchuser@$1:/opt/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz /opt/nutchez/ 219 echo "scp -r nutchuser@$1:/home/nutchuser/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz /opt/nutchez/" 220 chown -R nutchuser:nutchuser /opt/nutchez 221 chown -R nutchuser:nutchuser /var/nutchez 222 su nutchuser -c "scp -r nutchuser@$1:/home/nutchuser/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz /opt/nutchez/" 220 223 221 224 echo -e "\nchown -R nutchuser:nutchuser /opt/nutchez" 222 chown -R nutchuser:nutchuser /opt/nutchez223 225 chmod 755 /opt 224 226 } 227 228 229 function install_nutch_package () { 230 tar -zxvf /opt/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz -C / 231 /opt/nutchez/nutch/bin/hadoop-daemon.sh start datanode 232 /opt/nutchez/nutch/bin/hadoop-daemon.sh start tasktracker 233 }
Note: See TracChangeset
for help on using the changeset viewer.