Changeset 136 for nutchez-0.2


Ignore:
Timestamp:
May 28, 2010, 4:20:41 PM (14 years ago)
Author:
shunfa
Message:

install流程修改

Location:
nutchez-0.2/src/test
Files:
2 edited

Legend:

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

    r131 r136  
    44# 匯入功能函數
    55source ./install_func.sh
    6 
     6source ./client_install_func.sh
    77### real code #####
    88main () {
    9   # check_root
    10   # check_systemInfo
    11   # check_nez_installed
    12   # check_sunJava
    13   # check_ssh
    14   # check_dialog
    15   # check_php
     9  check_root
     10  check_systemInfo
     11  check_nez_installed
     12  #check_sunJava
     13  #check_ssh
     14  #check_dialog
     15  #check_php
    1616
    1717  #set install mode
     
    2323    # create_nutchuser_account
    2424    # make_ssh_key
     25 
     26    # 解壓縮
     27    # tar -zxvf nutchez-0.2-20100524.tar.gz
     28    # mv -r nutchez /opt/
     29    Install_Nutch
     30    Install_Tomcat
     31    # chown -R nutchuser:nutchuser /opt/nutchez
     32    # make_client_install
    2533
    26     Install_Nutch   
    27     # make_client_install
    2834    format_HDFS
    2935    start_up_NutchEZ
    30     Install_Tomcat
    3136    start_up_tomcat
    3237
  • nutchez-0.2/src/test/install_func.sh

    r131 r136  
    3838confirm_install_information () {
    3939  read -p "Please confirm your install infomation: 1.Yes 2.No  " confirm
    40 }
    41 
    42 set_Nutch_conf () {
    43   set_hadoop-env
    44   set_haoop-site
    45   set_nutch-site
    46   set_crawl-urlfilter
    4740}
    4841
     
    237230}
    238231
     232
     233set_Nutch_conf () {
     234  set_hadoop-env
     235  set_haoop-site
     236  set_nutch-site
     237  set_crawl-urlfilter
     238}
     239
     240
    239241Install_Nutch () {
    240242  cd /opt
Note: See TracChangeset for help on using the changeset viewer.