Ignore:
Timestamp:
May 31, 2010, 11:02:58 AM (15 years ago)
Author:
shunfa
Message:

修改 install, install_func.sh

File:
1 edited

Legend:

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

    r136 r137  
    66source ./client_install_func.sh
    77### real code #####
    8 main () {
     8
     9# 執行環境檢查
     10check_info () {
    911  check_root
    1012  check_systemInfo
     
    1416  #check_dialog
    1517  #check_php
     18}
    1619
    17   #set install mode
     20main () {
     21  echo "歡迎使用NutchEZ\ 此安裝程序會為您新建一個nutchuser帳號"
    1822  set_install_information
    1923  show_info
    2024  read -p "Please confirm your install infomation: 1.Yes 2.No  " confirm
    2125  if [ $confirm -eq 1 ]; then
    22 
    2326    # create_nutchuser_account
    2427    # make_ssh_key
     
    2629    # 解壓縮
    2730    # tar -zxvf nutchez-0.2-20100524.tar.gz
    28     # mv -r nutchez /opt/
     31    # mv nutchez /opt/
    2932    Install_Nutch
    3033    Install_Tomcat
    31     # chown -R nutchuser:nutchuser /opt/nutchez
     34    chown -R nutchuser:nutchuser /opt/nutchez
    3235    # make_client_install
    3336
     37    # 啟動系統
    3438    format_HDFS
    3539    start_up_NutchEZ
     
    4448}
    4549
     50check_info
    4651main
Note: See TracChangeset for help on using the changeset viewer.