Changeset 156 for nutchez-0.2/src/test


Ignore:
Timestamp:
Jun 4, 2010, 3:19:11 PM (14 years ago)
Author:
rock
Message:

modify

File:
1 edited

Legend:

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

    r155 r156  
    233233function scp_packages(){
    234234echo -e "\n\033[31m= scp_packages (debug) =\033[0m"
    235 chmod 777 /opt
     235
    236236mkdir /opt/nutchez
    237237mkdir /var/nutchez
    238238mkdir /home/nutchuser/nutchez
     239chmod 777 /opt/nutchez
    239240#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"
     241echo "scp -r nutchuser@$1:/opt/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz /opt/nutchez/"
     242su nutchuser -c "scp -r -o StrictHostKeyChecking=no nutchuser@$1:/opt/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz /opt/nutchez"
     243
     244echo -e "\nchown -R nutchuser:nutchuser /opt/nutchez"
    241245chown -R nutchuser:nutchuser /opt/nutchez
    242246chown -R nutchuser:nutchuser /var/nutchez
    243247chown -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
     249chmod 755 /opt/nutchez
    248250}
    249251
Note: See TracChangeset for help on using the changeset viewer.