[188] | 1 | #!/bin/bash |
---|
| 2 | # Program: |
---|
| 3 | # English Language file for client_install |
---|
| 4 | # Author: |
---|
| 5 | # Waue, Shunfa, Rock {waue, shunfa, rock}@nchc.org.tw |
---|
| 6 | # Version: |
---|
| 7 | # 1.0 |
---|
| 8 | # History: |
---|
| 9 | # 2010/06/14 Rock First release (1.0) |
---|
| 10 | |
---|
| 11 | # [Variables Declaration] # |
---|
| 12 | ## Lang for client_install ## |
---|
| 13 | par_echo_1="Your master IP:" |
---|
| 14 | par_echo_2="Is this data cooect? (yes/no): " |
---|
| 15 | par_echo_3="These parameters are correct." |
---|
| 16 | par_echo_4="Please edit these parameters in this file." |
---|
| 17 | |
---|
| 18 | ## [Lang for client_install_fun.sh] ## |
---|
| 19 | ### [for choose_lang()] ### |
---|
| 20 | choose_lang_1="Plz choose your language: (1)English (2)中文" |
---|
| 21 | choose_lang_2="(1/2):" |
---|
| 22 | |
---|
| 23 | ### [for check_root()]### |
---|
| 24 | check_root_1="Please Change root to execute it!!!" |
---|
| 25 | check_root_2="Identify is root." |
---|
| 26 | |
---|
| 27 | ### [for check_systemInfo()]### |
---|
| 28 | check_sys_1="check_systemInfo" |
---|
| 29 | check_sys_2="Your system information are: " |
---|
| 30 | |
---|
| 31 | ### [for install_packages()]### |
---|
| 32 | install_pack_1="install_packages" |
---|
| 33 | install_pack_2="Check dependent packages" |
---|
| 34 | install_pack_if_1="It will install some packages (expect, ssh, and dialog)." |
---|
| 35 | install_pack_if_2="Please manually install expect, ssh, and dialog." |
---|
| 36 | |
---|
| 37 | ### [for check_nez_installed()] ### |
---|
| 38 | |
---|
| 39 | ### [for check_sunJava()] ### |
---|
| 40 | |
---|
| 41 | ### [for check_ssh()] ### |
---|
| 42 | |
---|
| 43 | ### [for check_dialog()] ### |
---|
| 44 | |
---|
| 45 | ### [for creat_nutchuser_account()] ### |
---|
| 46 | ### [for scp_packages()] ### |
---|
| 47 | ### [for install_nutch_package()] ### |
---|
| 48 | ### [for recall_hostname_ip()] ### |
---|
| 49 | |
---|