Changeset 143 for nutchez-0.2


Ignore:
Timestamp:
Jun 1, 2010, 5:45:17 PM (14 years ago)
Author:
rock
Message:

修改 scp_packages()
本來是 cpoy /opt/nutchtz/ 路徑,現修改為 copy 壓縮檔 /opt/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.2/src/test/client_install_func.sh

    r142 r143  
    214214echo -e "\n= scp_packages (debug) ="
    215215chmod 777 /opt
    216 echo "scp -r -o StrictHostKeyChecking=no nutchuser@$1:/opt/nutchez /opt/"
    217 su nutchuser -c "scp -r -o StrictHostKeyChecking=no nutchuser@$1:/opt/nutchez /opt/"
     216mkdir /opt/nutchez
     217#su nutchuser -c "scp -r -o StrictHostKeyChecking=no nutchuser@$1:/opt/nutchez /opt/"
     218echo "scp -r nutchuser@$1:/opt/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz /opt/nutchez/"
     219su nutchuser -c "scp -r nutchuser@$1:/opt/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz /opt/nutchez/
    218220
    219221echo -e "\nchown -R nutchuser:nutchuser /opt/nutchez"
Note: See TracChangeset for help on using the changeset viewer.