[215] | 1 | #!/bin/bash |
---|
| 2 | # Program: |
---|
| 3 | # Chinese Language file for NutchEZ |
---|
| 4 | # Author: |
---|
| 5 | # Waue, Shunfa, Rock {waue, shunfa, rock}@nchc.org.tw |
---|
| 6 | # Version: |
---|
| 7 | # 1.0 |
---|
| 8 | # History: |
---|
| 9 | # |
---|
| 10 | |
---|
| 11 | ############ Lang for master_install -Start ############ |
---|
| 12 | MI_main_echo_1="Welcome to use NutchEZ, this install program will create a new accunt and to assist you to setup the password of nutchuser." |
---|
| 13 | MI_main_echo_2="Please confirm the install infomation of above :1.Yes 2.No " |
---|
| 14 | MI_main_echo_3="Installed successfully!" |
---|
| 15 | MI_main_echo_4="You can visit the manage website :http://$MasterIP_Address:8080" |
---|
| 16 | |
---|
| 17 | ## Lang for master_install_func.sh ## |
---|
| 18 | ### [for choose_lang()] ### |
---|
| 19 | MI_choose_lang_1="Please select a language: (1)English (2)中文" |
---|
| 20 | MI_choose_lang_2="Use (1/2):" |
---|
| 21 | |
---|
| 22 | ### [for check_root()]### |
---|
| 23 | MI_check_root_1="Please change root to execute it!!!" |
---|
| 24 | MI_check_root_2="Identify is root" |
---|
| 25 | |
---|
| 26 | ### [for check_systemInfo()]### |
---|
| 27 | MI_check_sys_1="check_systemInfo" |
---|
| 28 | MI_check_sys_2="Your system information is:" |
---|
| 29 | |
---|
| 30 | ### [for install_packages()]### |
---|
| 31 | MI_install_pack_1="install_packages" |
---|
| 32 | MI_install_pack_2="Check dependent packages" |
---|
| 33 | MI_install_pack_if_1="It will install some packages (expect, ssh, and dialog)." |
---|
| 34 | MI_install_pack_if_2="Please manually install expect, ssh, and dialog.Please manually install expect, ssh, and dialog." |
---|
| 35 | |
---|
| 36 | ### [for check_nez_installed()] ### |
---|
| 37 | MI_check_nez_1="chcheck_nez_installed" |
---|
| 38 | MI_check_nez_2="System already had NutchEz." |
---|
| 39 | MI_check_nez_3="System does not has NutchEz." |
---|
| 40 | |
---|
| 41 | ### [for check_sunJava()] ### |
---|
| 42 | MI_check_sunJava_1="check_sunJava" |
---|
| 43 | MI_check_sunJava_2="NutchEz need Sun Java JDK 1.6.x or above version" |
---|
| 44 | MI_check_sunJava_if_1="Java is not Sun version, plz install sun Java 1.6.X" |
---|
| 45 | MI_check_sunJava_if_2="Please input your choice:" |
---|
| 46 | MI_check_sunJava_if_3="(1)System don't have Sun Java (2)Sun Java is in other path (3)Exit" |
---|
| 47 | MI_check_sunJava_if_4="Use (1/2/3): " |
---|
| 48 | MI_check_sunJava_if_5="Please install Sun Java manually!" |
---|
| 49 | MI_check_sunJava_if_6="Input Sun Java home path(ex. '/usr/lib/jvm/java-6-sun-1.6.0.12' or using default '/usr' ): " |
---|
| 50 | MI_check_sunJava_if_7="It is not Sun Java! Please install Sun Java manually !" |
---|
| 51 | MI_check_sunJava_if_8="Java version is too old (it need 1.6.X above)" |
---|
| 52 | MI_check_sunJava_if_9="System has Sun Java 1.6 above version." |
---|
| 53 | MI_check_sunJava_if_10="Please install Sun JAVA 1.6.X or above version" |
---|
| 54 | |
---|
| 55 | ### [for check_ssh()] ### |
---|
| 56 | MI_check_ssh_1="check_ssh" |
---|
| 57 | MI_check_ssh_2="System has ssh." |
---|
| 58 | MI_check_ssh_3="Please install ssh." |
---|
| 59 | MI_check_ssh_4="System has ssh Server (sshd)." |
---|
| 60 | MI_check_ssh_5="Please install ssh Server (sshd)." |
---|
| 61 | |
---|
| 62 | ### [for check_dialog()] ### |
---|
| 63 | MI_check_dialog_1="check_dialog" |
---|
| 64 | MI_check_dialog_2="System has dialog." |
---|
| 65 | MI_check_dialog_3="Please install dialog." |
---|
| 66 | |
---|
| 67 | # |
---|
| 68 | MI_set_nutchuser_passwd_echo_1="Set password for nutchuser:" |
---|
| 69 | MI_set_nutchuser_passwd_echo_2="keyin the password again:" |
---|
| 70 | |
---|
| 71 | # |
---|
| 72 | MI_select_eth_echo_1="System has detectable network cards as follows:" |
---|
| 73 | MI_select_eth_echo_2="Please choose a netword card for NutchEZ. Use (1/2/3):" |
---|
| 74 | MI_select_eth_echo_3="Your choose is:$net_choice" |
---|
| 75 | MI_select_eth_echo_4="Master IP address is:$net_address" |
---|
| 76 | MI_select_eth_echo_5="Master MAC address is:$net_MacAddr" |
---|
| 77 | |
---|
| 78 | # |
---|
| 79 | MI_show_master_info_echo_1="Master IP address is:" |
---|
| 80 | MI_show_master_info_echo_2="Master MAC address is: " |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | # |
---|
| 84 | MI_make_ssh_key_echo_1="Producing SSH Key... " |
---|
| 85 | MI_make_ssh_key_echo_2="SSH Key has been produced." |
---|
| 86 | |
---|
| 87 | # |
---|
| 88 | MI_set_haoop_site_echo_1="Setting hadoop-site.xml... " |
---|
| 89 | MI_set_haoop_site_echo_2="Setting hadoop-site.xml finished." |
---|
| 90 | |
---|
| 91 | # |
---|
| 92 | MI_set_nutch_site_echo_1="Setting nutch-site.xml..." |
---|
| 93 | MI_set_nutch_site_echo_2="Setting http.agent.url at line: $Line_NO..." |
---|
| 94 | MI_set_nutch_site_echo_3="Editing http.agent.url, delete line $Line_NO." |
---|
| 95 | MI_set_nutch_site_echo_4="Editing http.agent.url finished." |
---|
| 96 | MI_set_nutch_site_echo_5="Setting http.agent.email at line:$Line_NO." |
---|
| 97 | MI_set_nutch_site_echo_6="Editing http.agent.email, delete line $Line_NO." |
---|
| 98 | MI_set_nutch_site_echo_7="Editing http.agent.email finished." |
---|
| 99 | MI_set_nutch_site_echo_8="Editing hadoop-site.xmlfinished." |
---|
| 100 | |
---|
| 101 | # |
---|
| 102 | MI_format_HDFS_echo_1="Formatting HDFS..." |
---|
| 103 | MI_format_HDFS_echo_2="HDFS has been formatted." |
---|
| 104 | |
---|
| 105 | # |
---|
| 106 | MI_start_up_NutchEZ_echo_1="Start up NutchEZ..." |
---|
| 107 | |
---|
| 108 | # |
---|
| 109 | MI_set_hosts_echo_1="Set hosts on master" |
---|
| 110 | |
---|
| 111 | # |
---|
| 112 | MI_install_Nutch_echo_1="Master's IP address is:" |
---|
| 113 | MI_install_Nutch_echo_2="Master's Hostname is:" |
---|
| 114 | |
---|
| 115 | # |
---|
| 116 | MI_client_PassMasterIPAddr_echo_1="Edit MasterIP in client install file at line $Line_NO" |
---|
| 117 | MI_client_PassMasterIPAddr_echo_2="Editing MasterIP..." |
---|
| 118 | MI_client_PassMasterIPAddr_echo_3="MasterIP has been set." |
---|
| 119 | |
---|
| 120 | # |
---|
| 121 | MI_client_PassMaster_Hostname_echo_1="Edit master hostname in client install file at line $Line_NO" |
---|
| 122 | MI_client_PassMaster_Hostname_echo_2="Editing Hostname..." |
---|
| 123 | MI_client_PassMaster_Hostname_echo_3="Hostname has been set." |
---|
| 124 | |
---|
| 125 | # |
---|
| 126 | MI_make_client_install_echo_1="In function of make_client_install ..." |
---|
| 127 | |
---|
| 128 | # |
---|
| 129 | MI_start_up_tomcat_echo_1="Start up tomcat..." |
---|
| 130 | MI_start_up_tomcat_echo_2="Please wait about 10 sec..." |
---|
| 131 | MI_start_up_tomcat_echo_3="Tomcat has been started!" |
---|
| 132 | |
---|
| 133 | # |
---|
| 134 | MI_client_install_commands_echo_1="For client install, please refer commands as follows:" |
---|
[244] | 135 | MI_client_install_commands_echo_2="scp nutchuser@$MasterIP_Address:/home/nutchuser/nutchez/source/client_deploy ." |
---|
| 136 | MI_client_install_commands_echo_3="./client_deploy" |
---|
| 137 | MI_client_install_commands_echo_4="sudo su" |
---|
| 138 | MI_client_install_commands_echo_5="~/nutchez_client_install/client_install" |
---|
[215] | 139 | |
---|
| 140 | ########## Lang for Master Install - End########## |
---|
| 141 | |
---|
| 142 | ########## Lang for Client Install - Start########## |
---|
| 143 | |
---|
| 144 | # [Variables Declaration] # |
---|
| 145 | ## Lang for client_install ## |
---|
| 146 | par_echo_1="Your master IP is:" |
---|
| 147 | par_echo_2="Is this information cooect? (yes/no): " |
---|
| 148 | par_echo_3="These parameters are correct." |
---|
| 149 | par_echo_4="Please edit these parameters in this file." |
---|
| 150 | |
---|
| 151 | ## [Lang for client_install_fun.sh] ## |
---|
| 152 | ### [for choose_lang()] ### |
---|
| 153 | choose_lang_1="Please choose your language: (1)English (2)中文" |
---|
| 154 | choose_lang_2="(1/2):" |
---|
| 155 | |
---|
| 156 | ### [for check_root()]### |
---|
| 157 | check_root_1="Please Change root to execute it!!!" |
---|
| 158 | check_root_2="Identify is root." |
---|
| 159 | |
---|
| 160 | ### [for check_systemInfo()]### |
---|
| 161 | check_sys_1="check_systemInfo" |
---|
| 162 | check_sys_2="Your system information are: " |
---|
| 163 | |
---|
| 164 | ### [for install_packages()]### |
---|
| 165 | install_pack_1="install_packages" |
---|
| 166 | install_pack_2="Check dependent packages" |
---|
| 167 | install_pack_if_1="It will install some packages (expect, ssh, and dialog)." |
---|
| 168 | install_pack_if_2="Please manually install expect, ssh, and dialog." |
---|
| 169 | |
---|
| 170 | ### [for check_nez_installed()] ### |
---|
| 171 | check_nez_1="chcheck_nez_installed" |
---|
| 172 | check_nez_2="System already had NutchEz." |
---|
| 173 | check_nez_3="System does not has NutchEz." |
---|
| 174 | |
---|
| 175 | ### [for check_sunJava()] ### |
---|
| 176 | check_sunJava_1="check_sunJava" |
---|
| 177 | check_sunJava_2="NutchEz need Sun Java JDK 1.6.x or above version" |
---|
| 178 | check_sunJava_if_1="Java is not Sun version, plz install sun Java 1.6.X" |
---|
| 179 | check_sunJava_if_2="Please input your choice: " |
---|
| 180 | check_sunJava_if_3="(1)System don't have Sun Java (2)Sun Java is in other path (3)Exit" |
---|
| 181 | check_sunJava_if_4="plz input (1/2/3): " |
---|
| 182 | check_sunJava_if_5="Please install Sun Java manually!" |
---|
| 183 | check_sunJava_if_6="Input Sun Java home path(ex. '/usr/lib/jvm/java-6-sun-1.6.0.12' or using default '/usr' ): " |
---|
| 184 | check_sunJava_if_7="It is not Sun Java! Plz install Sun Java manually !" |
---|
| 185 | check_sunJava_if_8="Java version is too old (it need 1.6.X above)" |
---|
| 186 | check_sunJava_if_9="System has Sun Java 1.6 above version." |
---|
| 187 | check_sunJava_if_10="Please install Sun JAVA 1.6.X or above version" |
---|
| 188 | |
---|
| 189 | ### [for check_ssh()] ### |
---|
| 190 | check_ssh_1="check_ssh" |
---|
| 191 | check_ssh_2="System has ssh." |
---|
| 192 | check_ssh_3="Please install ssh." |
---|
| 193 | check_ssh_4="System has ssh Server (sshd)." |
---|
| 194 | check_ssh_5="Please install ssh Server (sshd)." |
---|
| 195 | |
---|
| 196 | ### [for check_dialog()] ### |
---|
| 197 | check_dialog_1="check_dialog" |
---|
| 198 | check_dialog_2="System has dialog." |
---|
| 199 | check_dialog_3="Please install dialog." |
---|
| 200 | |
---|
| 201 | ### scp_master_nutchuser_sshkey() ### |
---|
| 202 | scp_sshkey_d1="scp_master_nutchuser_sshkey" |
---|
| 203 | scp_sshkey_d2="mkdir -p /home/nutchuser/" |
---|
| 204 | scp_sshkey_d3="scp nutchuser@master:~/.ssh /home/nutchuser/" |
---|
| 205 | scp_sshkey_expect_1="Password is error" |
---|
| 206 | scp_sshkey_s1="scp correct." |
---|
| 207 | scp_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" |
---|
| 208 | scp_sshkey_d4="chown -R nutchuser:nutchuser /home/nutchuser/.ssh" |
---|
| 209 | |
---|
| 210 | ### [for creat_nutchuser_account()] ### |
---|
| 211 | create_nutchuser_d1="creat_nutchuser_account" |
---|
| 212 | create_nutchuser_1="Plz input nutchuser password of master node: " |
---|
| 213 | create_nutchuser_2="plz input nutchuser password, again: " |
---|
| 214 | create_nutchuser_3="Two Passwords match." |
---|
| 215 | create_nutchuser_4="Two passwords don't match, please re-input nutchuser's password." |
---|
| 216 | create_nutchuser_s1="System already has nutchuser, change nutchuser password." |
---|
| 217 | create_nutchuser_s2="Create nutchuser and change password." |
---|
| 218 | |
---|
| 219 | ### [for scp_packages()] ### |
---|
| 220 | scp_packages_d1="scp_packages" |
---|
| 221 | scp_packages_d2="chown -R nutchuser:nutchuser /opt/nutchez" |
---|
| 222 | scp_packages_d3="scp -r nutchuser@\$1:/opt/nutchez/NutchezForClientOf_\$Master_IP_Address.tar.gz /home/nutchuser/nutchez/source" |
---|
| 223 | |
---|
| 224 | ### [for install_nutch_package()] ### |
---|
| 225 | install_nutch_package_d1="install_nutch_package" |
---|
| 226 | |
---|
| 227 | ### [for recall_hostname_ip()] ### |
---|
| 228 | recall_hostname_ip_d1="recall_hostname_ip" |
---|
| 229 | recall_hostname_ip_1="net_address is" |
---|
| 230 | recall_hostname_ip_2="net_MacAddr is" |
---|
| 231 | recall_hostname_ip_3="System have multiple network device, which network use for this machine: " |
---|
| 232 | recall_hostname_ip_4="Please choice(1/2/3...): " |
---|
| 233 | recall_hostname_ip_d2="ssh nutchuser@\$1 echo \$net_address \$(hostname) \$net_MacAddr \>\> ~/nutchez/system/nutch_nodes" |
---|
| 234 | |
---|
| 235 | ########## Lang for Client Install - End########## |
---|
| 236 | |
---|
| 237 | ########## Lang for Master Remove - Start########## |
---|
| 238 | |
---|
| 239 | # check root |
---|
| 240 | MR_check_root_1="Please change root to execute it!!!" |
---|
| 241 | MR_check_root_2="Identify is root, let's continue!" |
---|
| 242 | |
---|
| 243 | # shutdown service |
---|
| 244 | MR_shutdown_service_echo_1="Stop the service of slaves..." |
---|
| 245 | MR_shutdown_service_echo_2="Stop the service of master..." |
---|
| 246 | MR_shutdown_service_echo_3="The service of Master" |
---|
| 247 | |
---|
| 248 | # remove_folders |
---|
| 249 | MR_remove_folders_echo_1="Deleting floders and files of NutchEZ..." |
---|
| 250 | MR_remove_folders_echo_2="Floders and files has deleted." |
---|
| 251 | |
---|
| 252 | # edit_hosts |
---|
| 253 | MR_edit_hosts_echo_1="Restoring /etc/hosts..." |
---|
| 254 | MR_edit_hosts_echo_2="/etc/hosts restoring finished." |
---|
| 255 | |
---|
| 256 | # user_delete |
---|
| 257 | MR_user_delete_echo_1="Deleting user: nutchuser..." |
---|
| 258 | MR_user_delete_echo_2="nutchuser has deleted" |
---|
| 259 | |
---|
| 260 | # main |
---|
| 261 | MR_main_echo_1="Warning - this program will remove nutchEZ, if you don't understard what this program to do, please press Ctrl+c to leave!" |
---|
| 262 | MR_main_echo_2="This program will delete all of nutchEZ's files and folders and delete user nutchuser." |
---|
| 263 | MR_main_echo_3="Are you sure to remove this node? 1.Yes 2.No " |
---|
| 264 | MR_main_echo_4="NutchEZ had removed!" |
---|
| 265 | MR_main_echo_5="You are cancelling this remove procedure!" |
---|
| 266 | MR_main_echo_6="If you want to remove NutchEZ of this node, please execute this program again." |
---|
| 267 | |
---|
| 268 | ########## Lang for Master Remove - End ########## |
---|
| 269 | |
---|
| 270 | ########## Lang for Client Remove - Start ########## |
---|
| 271 | # check root |
---|
| 272 | CR_check_root_1="Please change root to execute it!!!" |
---|
| 273 | CR_check_root_2="Identify is root!" |
---|
| 274 | |
---|
| 275 | # shutdown service |
---|
| 276 | CR_shutdown_service_echo_1="Shutdown all service of this node..." |
---|
| 277 | CR_shutdown_service_echo_2="The service of this node had shutdown." |
---|
| 278 | |
---|
| 279 | # remove_folders |
---|
| 280 | CR_remove_folders_echo_1="Deleting floders and files of NutchEZ..." |
---|
| 281 | CR_remove_folders_echo_2="Floders and files has deleted." |
---|
| 282 | |
---|
| 283 | # edit_hosts |
---|
| 284 | CR_edit_hosts_echo_1="Restoring /etc/hosts..." |
---|
| 285 | CR_edit_hosts_echo_2="/etc/hosts restoring finished." |
---|
| 286 | |
---|
| 287 | # user_delete |
---|
| 288 | CR_user_delete_echo_1="Deleting user: nutchuser..." |
---|
| 289 | CR_user_delete_echo_2="nutchuser has deleted" |
---|
| 290 | |
---|
| 291 | # main |
---|
| 292 | CR_main_echo_1="Warning - this program will remove nutchEZ, if you don't understard what this program to do, please press Ctrl+c to leave!" |
---|
| 293 | CR_main_echo_2="This program will delete all of nutchEZ's files and folders and delete user nutchuser." |
---|
| 294 | CR_main_echo_3="Are you sure to remove this node? 1.Yes 2.No " |
---|
| 295 | CR_main_echo_4="NutchEZ had removed!" |
---|
| 296 | CR_main_echo_5="You are cancelling this remove procedure!" |
---|
| 297 | CR_main_echo_6="If you want to remove NutchEZ of this node, please execute this program again." |
---|
| 298 | ########## Lang for Client Remove - End ########## |
---|
| 299 | |
---|
| 300 | ########## Lang for nutchez - Start ########## |
---|
| 301 | # [Variables Declaration] # |
---|
| 302 | ## Lang for common ## |
---|
| 303 | user_error="You aren't nutchuser,please change to \"nutchuser\" !!!" |
---|
| 304 | |
---|
| 305 | ## [Lang for dialog] ## |
---|
| 306 | dia_back='= [NutchEz Management Interface] ~by NCHC =' |
---|
| 307 | dia_choose="Please choose what you want to do: " |
---|
[237] | 308 | dia_backto_main="Back to Main Menu" |
---|
[215] | 309 | dia_exit="Exit" |
---|
| 310 | |
---|
| 311 | ## [Lang for prepare_check] ## |
---|
| 312 | dia_pre_check_title_1="[file nutch_nodes]" |
---|
| 313 | dia_pre_check_msg_1="Failure:System can't find it!" |
---|
| 314 | dia_pre_check_title_2="[Update /etc/host]" |
---|
| 315 | dia_pre_check_yesno_1="You are frist execute NutchEz Management Interface" |
---|
| 316 | dia_pre_check_yesno_2="Please update /etc/hosts !!!" |
---|
| 317 | pre_check_echo_1="Please enter root's password to update /etc/hosts !!!" |
---|
| 318 | pre_check_echo_2="root password error,please make sure root's password is correct!!!" |
---|
| 319 | dia_pre_check_yesno_3="nutch_nodes has modified" |
---|
| 320 | |
---|
| 321 | ## [Lang for main_menu()] ## |
---|
| 322 | dia_main_title_1="[Management Options]" |
---|
| 323 | dia_main_menu_1_1="Check cluster state" |
---|
| 324 | dia_main_menu_1_2="Set datanode & tasktracker" |
---|
| 325 | dia_main_menu_1_3="Set namenode & jobtracker" |
---|
| 326 | dia_main_menu_1_4="Startup/Shutdown/Restart Tomcat" |
---|
| 327 | dia_main_menu_1_5="Change Tomcat port" |
---|
| 328 | dia_main_menu_1_6="Change language" |
---|
| 329 | |
---|
| 330 | ## [Lang for cluster_status()] ## |
---|
| 331 | cluster_status_echo_1="[IP] \t\t [Hostname] \t [Network] \t [Dtatnode & Tasktracker]" |
---|
| 332 | cluster_status_echo_2="Start check cluster..." |
---|
| 333 | cluster_status_read_1="press any key to continue..." |
---|
| 334 | dia_cluster_status_title_1="[Cluster state]" |
---|
| 335 | |
---|
| 336 | ## [Lang for srver_setup()] ## |
---|
| 337 | dia_server_title_1="[Server State]" |
---|
| 338 | dia_server_msg_1="Namenode & Jobtracker shutdown" |
---|
| 339 | dia_server_msg_2="Jobtracker running, Namenode shutdown" |
---|
| 340 | dia_server_msg_3="Namenode running, Jobtracker shutdown" |
---|
| 341 | dia_server_msg_4="Namenode & Jobtracker running" |
---|
| 342 | dia_server_title_2="[Set Namenode & Jobtracker]" |
---|
| 343 | dia_server_menu_1_1="Startup Namenode & Jobtracker" |
---|
| 344 | dia_server_menu_1_2="Shutdown Namenode & Jobtracker" |
---|
| 345 | dia_server_menu_1_3="Restart Namenode & Jobtracker" |
---|
| 346 | |
---|
| 347 | ## [Labg for cluster_setup()] ## |
---|
| 348 | dia_cluster_setup_title_1="[All or part of nodes]" |
---|
| 349 | dia_cluster_setup_menu_1_1="All nodes" |
---|
| 350 | dia_cluster_setup_menu_1_2="A part of nodes" |
---|
| 351 | dia_cluster_setup_title_2="[Select Datanode & Tasktracker Nodes]" |
---|
| 352 | dia_cluster_setup_check_1="Select Datanode & Tasktracker: " |
---|
| 353 | dia_cluster_setup_title_3="[Set Datanode & Tasktracker]" |
---|
| 354 | dia_cluster_setup_menu_2_1="Startup Datanodes & Tasktrackers" |
---|
| 355 | dia_cluster_setup_menu_2_2="Shutdown Datanodes & Tasktrackers" |
---|
| 356 | dia_cluster_setup_menu_2_3="Restart Datanodes & Tasktrackers" |
---|
| 357 | cluster_setup_echo_1="[Startup datanode & tasktracker]" |
---|
| 358 | cluster_setup_echo_error="Failure:can't connect to ssh " |
---|
| 359 | cluster_setup_echo_3="[Shutdown datanode & tasktracker]" |
---|
| 360 | cluster_setup_echo_5="[Restart datanode & tasktracker]" |
---|
| 361 | |
---|
| 362 | ## [Lang for tomcat_swith()] # |
---|
| 363 | dia_tomcat_switch_title_1="[Tomcat state]" |
---|
| 364 | dia_tomcat_switch_msg_1="Tomcat is running !!!" |
---|
| 365 | dia_tomcat_switch_msg_2="Tomcat doesn't run !!!" |
---|
| 366 | dia_tomcat_switch_title_2="[The service of Tomcat]" |
---|
| 367 | dia_tomcat_switch_menu_1_1="Startup Tomcat" |
---|
| 368 | dia_tomcat_switch_menu_1_2="Stop Tomcat" |
---|
| 369 | dia_tomcat_switch_menu_1_3="Restart Tomcat" |
---|
| 370 | tomcat_switch_echo_1="Failure:System can't find it!" |
---|
| 371 | tomcat_switch_echo_3="[Start up Tomcat]" |
---|
| 372 | tomcat_switch_echo_4="[Shutdown Tomcat]" |
---|
| 373 | tomcat_switch_echo_5="[Restart Tomcat]" |
---|
| 374 | |
---|
| 375 | ## [Lang for tomcat_port()] ## |
---|
| 376 | dia_tomcat_port_title_1="[Edit Tomcat servel.xml]" |
---|
| 377 | dia_tomcat_port_msg_1="Edit failure: Can't find the file." |
---|
| 378 | dia_tomcat_port_title_2="[Change Tomcat Port ]" |
---|
| 379 | dia_tomcat_port_input_1="Please enter tomcat port NO.(default 8080): " |
---|
| 380 | |
---|
| 381 | ## [Lang for lang_switch()] ## |
---|
| 382 | dia_lang_title_1="[Change language]" |
---|
| 383 | dia_lang_menu_1_1="English" |
---|
| 384 | dia_lang_menu_1_2="中文" |
---|
| 385 | ########## Lang for nutchez - End ########## |
---|