Changeset 156 for nutchez-0.2/src/test
- Timestamp:
- Jun 4, 2010, 3:19:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/test/client_install_func.sh
r155 r156 233 233 function scp_packages(){ 234 234 echo -e "\n\033[31m= scp_packages (debug) =\033[0m" 235 chmod 777 /opt 235 236 236 mkdir /opt/nutchez 237 237 mkdir /var/nutchez 238 238 mkdir /home/nutchuser/nutchez 239 chmod 777 /opt/nutchez 239 240 #su nutchuser -c "scp -r -o StrictHostKeyChecking=no nutchuser@$1:/opt/nutchez /opt/" 240 echo "scp -r nutchuser@$1:/opt/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz /home/nutchuser/nutchez" 241 echo "scp -r nutchuser@$1:/opt/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz /opt/nutchez/" 242 su nutchuser -c "scp -r -o StrictHostKeyChecking=no nutchuser@$1:/opt/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz /opt/nutchez" 243 244 echo -e "\nchown -R nutchuser:nutchuser /opt/nutchez" 241 245 chown -R nutchuser:nutchuser /opt/nutchez 242 246 chown -R nutchuser:nutchuser /var/nutchez 243 247 chown -R nutchuser:nutchuser /home/nutchuser/nutchez 244 su nutchuser -c "scp -r -o StrictHostKeyChecking=no nutchuser@$1:/opt/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz /opt/nutchez/" 245 246 echo -e "\nchown -R nutchuser:nutchuser /opt/nutchez" 247 chmod 755 /opt 248 249 chmod 755 /opt/nutchez 248 250 } 249 251
Note: See TracChangeset
for help on using the changeset viewer.