Ignore:
Timestamp:
Jun 1, 2010, 2:04:36 PM (15 years ago)
Author:
shunfa
Message:

修改install, install_func.sh, client_install_func.sh(新增帳號timeout部份)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.2/src/test/install

    r137 r139  
    1919
    2020main () {
    21   echo "歡迎使用NutchEZ\ 此安裝程序會為您新建一個nutchuser帳號"
     21  echo "歡迎使用NutchEZ, 此安裝程序會為您新建一個nutchuser帳號"
    2222  set_install_information
    2323  show_info
    2424  read -p "Please confirm your install infomation: 1.Yes 2.No  " confirm
    2525  if [ $confirm -eq 1 ]; then
    26     # create_nutchuser_account
    27     # make_ssh_key
    28  
     26    creat_nutchuser_account $nutchuser_passwd
     27    make_ssh_key
     28    sleep 10
    2929    # 解壓縮
    30     # tar -zxvf nutchez-0.2-20100524.tar.gz
    31     # mv nutchez /opt/
     30    tar -zxvf nutchez-0.2-0531.tar.gz -C /opt/
    3231    Install_Nutch
    33     Install_Tomcat
     32#    Install_Tomcat
    3433    chown -R nutchuser:nutchuser /opt/nutchez
     34    chown -R nutchuser:nutchuser /var/nutchez
    3535    # make_client_install
    3636
     
    3838    format_HDFS
    3939    start_up_NutchEZ
    40     start_up_tomcat
    41 
     40    start_up_tomcat   
    4241    # 安裝流程結束,並進入網頁管理頁面設定爬網網址...等 
    4342    echo "Install Successfully!!"
Note: See TracChangeset for help on using the changeset viewer.