Last change
on this file since 132 was
131,
checked in by shunfa, 15 years ago
|
modify install, install_func.sh
|
-
Property svn:executable set to
*
|
File size:
815 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | # 語言的選擇 |
---|
3 | # source ./language_choise.sh |
---|
4 | # 匯入功能函數 |
---|
5 | source ./install_func.sh |
---|
6 | |
---|
7 | ### real code ##### |
---|
8 | main () { |
---|
9 | # check_root |
---|
10 | # check_systemInfo |
---|
11 | # check_nez_installed |
---|
12 | # check_sunJava |
---|
13 | # check_ssh |
---|
14 | # check_dialog |
---|
15 | # check_php |
---|
16 | |
---|
17 | #set install mode |
---|
18 | set_install_information |
---|
19 | show_info |
---|
20 | read -p "Please confirm your install infomation: 1.Yes 2.No " confirm |
---|
21 | if [ $confirm -eq 1 ]; then |
---|
22 | |
---|
23 | # create_nutchuser_account |
---|
24 | # make_ssh_key |
---|
25 | |
---|
26 | Install_Nutch |
---|
27 | # make_client_install |
---|
28 | format_HDFS |
---|
29 | start_up_NutchEZ |
---|
30 | Install_Tomcat |
---|
31 | start_up_tomcat |
---|
32 | |
---|
33 | # 安裝流程結束,並進入網頁管理頁面設定爬網網址...等 |
---|
34 | echo "Install Successfully!!" |
---|
35 | echo "Visit http://$MasterIP_Address:8080" |
---|
36 | elif [ $confirm -eq 2 ]; then |
---|
37 | main |
---|
38 | fi |
---|
39 | } |
---|
40 | |
---|
41 | main |
---|
Note: See
TracBrowser
for help on using the repository browser.