Ignore:
Timestamp:
Jun 2, 2010, 1:39:45 PM (14 years ago)
Author:
shunfa
Message:

修改安裝檔

File:
1 edited

Legend:

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

    r141 r144  
    122122  echo "function make_client_install..."
    123123  client_PassMasterIPAddr
    124   tar -cvzf /opt/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz  /opt/nutchez/nutch
     124  su nutchuser -c "tar -cvzf /opt/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz  /home/nutchuser/nutchez/"
    125125}
    126126
     
    131131  su nutchuser -c "$Tomcat_HOME/bin/startup.sh"
    132132}
     133
     134function client_install_command () {
     135  WhereAmI=pwd
     136  echo "Client Install Command as Follows:"
     137  echo "cd ~"
     138  echo "mkdir NutchezClientInstall"
     139  echo "scp $WhereAmI/* ~/NutchezClientInstall"
     140  echo "./client_install"
     141}
Note: See TracChangeset for help on using the changeset viewer.