#!/bin/bash
# Program:
#   Chinese Language file for client_install
# Author:
#   Waue, Shunfa, Rock {waue, shunfa, rock}@nchc.org.tw
# Version:
#    1.0
# History:
#


## Lang for master_install ##
main_echo_1="歡迎使用NutchEZ, 此安裝程序會為您新建一個nutchuser帳號並協助您設定>密碼"
main_echo_2="請確認上述的安裝順序：1.正確 2.不正確"
main_echo_3="安裝成功！"
main_echo_4="請進入管理頁面：http://$MasterIP_Address:8080"

## Lang for master_install_func.sh ##
set_nutchuser_passwd_echo_1="請輸入欲設定的nutchuser密碼："
set_nutchuser_passwd_echo_2="請再輸入一次確認密碼："
select_eth_echo_1="系統偵測到目前擁有網卡如下："
select_eth_echo_2="請選擇欲給nutchez使用的網卡(1/2/3)："
select_eth_echo_3="您選擇的網卡為：$net_choice"
select_eth_echo_4="Master網路IP位址為：$net_address"
select_eth_echo_5="Master的MAC為：$net_MacAddr"
make_ssh_key_echo_1="正在產生SSH Key... "
make_ssh_key_echo_2="SSH Key已產生"
set_haoop_site_echo_1="正在設定hadoop-site.xml... "
set_haoop_site_echo_2="hadoop-site.xml設定完成"
set_nutch_site_echo_1="正在設定nutch-site.xml..."
set_nutch_site_echo_2="http.agent.url 設定行號為：$Line_NO..."
set_nutch_site_echo_3="編輯http.agent.url, 刪除行號 $Line_NO."
set_nutch_site_echo_4="編輯http.agent.url完成"
set_nutch_site_echo_5="http.agent.email 設定行號為：$Line_NO."
set_nutch_site_echo_6="編輯http.agent.email, 刪除行號 $Line_NO."
set_nutch_site_echo_7="編輯http.agent.email完成"
set_nutch_site_echo_8="hadoop-site.xml設定完成"
format_HDFS_echo_1="格式化HDFS..."
format_HDFS_echo_2="格式化HDFS完成"
start_up_NutchEZ_echo_1="啟動NutchEZ..."
set_hosts_echo_1="設定master上的hosts"
install_Nutch_echo_1="Master的IP位址為："
install_Nutch_echo_2="Master的Hostname為："
client_PassMasterIPAddr_echo_1="在client安裝檔修改MasterIP的行號: $Line_NO"
client_PassMasterIPAddr_echo_2="編輯MasterIP..."
client_PassMasterIPAddr_echo_3="完成編輯MasterIP."
client_PassMaster_Hostname_echo_1="在client安裝檔修改Hostname, 行號為: $Line_NO"
client_PassMaster_Hostname_echo_2="編輯Hostname..."
client_PassMaster_Hostname_echo_3="完成編輯Hostname."
make_client_install_echo_1="於function make_client_install ..."
start_up_tomcat_echo_1="啟動tomcat..."
start_up_tomcat_echo_2="等待 $i 秒..."
start_up_tomcat_echo_3="tomcat 已經啟動！"
client_install_commands_echo_1="Client安裝可參考以下指令："
client_install_commands_echo_2="cd ~"
client_install_commands_echo_3="mkdir nutchez_client_install"
client_install_commands_echo_4="cd nutchez_client_install"
client_install_commands_echo_5="scp nutchuser@$MasterIP_Address:/home/nutchuser/nutchez/source/* ."
client_install_commands_echo_6="sudo su"
client_install_commands_echo_7="./client_install"

