source: nutchez-0.2/src/test/lang/lang_en_US_client_install @ 208

Last change on this file since 208 was 208, checked in by rock, 14 years ago

語言檔移到lang/下

File size: 4.0 KB
Line 
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 ##
13par_echo_1="Your master IP:"
14par_echo_2="Is this data cooect? (yes/no): "
15par_echo_3="These parameters are correct."
16par_echo_4="Please edit these parameters in this file."
17
18## [Lang for client_install_fun.sh] ##
19### [for choose_lang()] ###
20choose_lang_1="Plz choose your language: (1)English (2)中文"
21choose_lang_2="(1/2):"
22
23### [for check_root()]###
24check_root_1="Please Change root to execute it!!!"
25check_root_2="Identify is root."
26
27### [for check_systemInfo()]###
28check_sys_1="check_systemInfo"
29check_sys_2="Your system information are: "
30
31### [for install_packages()]###
32install_pack_1="install_packages"
33install_pack_2="Check dependent packages"
34install_pack_if_1="It will install some packages (expect, ssh, and dialog)."
35install_pack_if_2="Please manually install expect, ssh, and dialog."
36
37### [for check_nez_installed()] ###
38check_nez_1="chcheck_nez_installed"
39check_nez_2="System already had NutchEz."
40check_nez_3="System does not has NutchEz."
41
42### [for check_sunJava()] ###
43check_sunJava_1="check_sunJava"
44check_sunJava_2="NutchEz need Sun Java JDK 1.6.x or above version"
45check_sunJava_if_1="Java is not Sun version, plz install sun Java 1.6.X"
46check_sunJava_if_2="Please input your choice: "
47check_sunJava_if_3="(1)System don't have Sun Java (2)Sun Java is in other path (3)Exit"
48check_sunJava_if_4="plz input (1/2/3): "
49check_sunJava_if_5="Please install Sun Java manually!"
50check_sunJava_if_6="Input Sun Java home path(ex. '/usr/lib/jvm/java-6-sun-1.6.0.12' or using default '/usr' ): "
51check_sunJava_if_7="It is not Sun Java! Plz install Sun Java manually !"
52check_sunJava_if_8="Java version is too old (it need 1.6.X above)"
53check_sunJava_if_9="System has Sun Java 1.6 above version."
54check_sunJava_if_10="Please install Sun JAVA 1.6.X or above version"
55
56### [for check_ssh()] ###
57check_ssh_1="check_ssh"
58check_ssh_2="System has ssh."
59check_ssh_3="Please install ssh."
60check_ssh_4="System has ssh Server (sshd)."
61check_ssh_5="Please install ssh Server (sshd)."
62
63### [for check_dialog()] ###
64check_dialog_1="check_dialog"
65check_dialog_2="System has dialog."
66check_dialog_3="Please install dialog."
67
68### scp_master_nutchuser_sshkey() ###
69scp_sshkey_d1="scp_master_nutchuser_sshkey"
70scp_sshkey_d2="mkdir -p /home/nutchuser/"
71scp_sshkey_d3="scp nutchuser@master:~/.ssh /home/nutchuser/"
72scp_sshkey_expect_1="Password is error"
73scp_sshkey_s1="scp correct."
74scp_sshkey_s2="scp error,\n(1)plese check nutchuser password in server\n(2)nutchuser's authorized_keys in server\n(3)server's network status"
75scp_sshkey_d4="chown -R nutchuser:nutchuser /home/nutchuser/.ssh"
76
77### [for creat_nutchuser_account()] ###
78create_nutchuser_d1="creat_nutchuser_account"
79create_nutchuser_1="Plz input nutchuser password of master node: "
80create_nutchuser_2="plz input nutchuser password, again: "
81create_nutchuser_3="Two Passwords match."
82create_nutchuser_4="Two passwords don't match, please re-input nutchuser's password."
83create_nutchuser_s1="System already has nutchuser, change nutchuser password."
84create_nutchuser_s2="Create nutchuser and change password."
85
86### [for scp_packages()] ###
87scp_packages_d1="scp_packages"
88scp_packages_d2="chown -R nutchuser:nutchuser /opt/nutchez"
89scp_packages_d3="scp -r nutchuser@\$1:/opt/nutchez/NutchezForClientOf_\$Master_IP_Address.tar.gz /home/nutchuser/nutchez/source"
90
91### [for install_nutch_package()] ###
92install_nutch_package_d1="install_nutch_package"
93
94### [for recall_hostname_ip()] ###
95recall_hostname_ip_d1="recall_hostname_ip"
96recall_hostname_ip_1="net_address is"
97recall_hostname_ip_2="net_MacAddr is"
98recall_hostname_ip_3="System have multiple network device, which network use for this machine: "
99recall_hostname_ip_4="Please choice(1/2/3...): "
100recall_hostname_ip_d2="ssh nutchuser@\$1 echo \$net_address \$(hostname) \$net_MacAddr \>\> ~/nutchez/system/nutch_nodes"
101
Note: See TracBrowser for help on using the repository browser.