cloudstack/docs/zh-TW/management-server-install-d...

285 lines
11 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#Licensed to the Apache Software Foundation (ASF) under one
#or more contributor license agreements. See the NOTICE file
#distributed with this work for additional information
#regarding copyright ownership. The ASF licenses this file
#to you under the Apache License, Version 2.0 (the
#"License"); you may not use this file except in compliance
#with the License. You may obtain a copy of the License at
#http://www.apache.org/licenses/LICENSE-2.0
#Unless required by applicable law or agreed to in writing,
#software distributed under the License is distributed on an
#"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
#KIND, either express or implied. See the License for the
#specific language governing permissions and limitations
#under the License.
#
# Translators:
# Isaac Chiang <isaacchiang@gmail.com>, 2013.
msgid ""
msgstr ""
"Project-Id-Version: Apache CloudStack Docs\n"
"POT-Creation-Date: 2013-04-12T11:19:40\n"
"PO-Revision-Date: 2013-04-04 06:41+0000\n"
"Last-Translator: isaac.chiang <isaacchiang@gmail.com>\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: zh_TW\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. Tag: title
#, no-c-format
msgid "Install the Database on a Separate Node"
msgstr "在Separate Node安裝資料庫"
#. Tag: para
#, no-c-format
msgid ""
"This section describes how to install MySQL on a standalone machine, "
"separate from the Management Server. This technique is intended for a "
"deployment that includes several Management Server nodes. If you have a "
"single-node Management Server deployment, you will typically use the same "
"node for MySQL. See <xref linkend=\"management-server-install-db-local\" />."
msgstr "這個章節描述如何在獨立、從Management Server分離的機器上安裝MySQL這項技術是有意架設數個Management Server節點。如果您只要安裝一個Management Server您將使用相同的MySQL節點參見<xref linkend=\"management-server-install-db-local\" /> "
#. Tag: para
#, no-c-format
msgid ""
"The management server doesn't require a specific distribution for the MySQL "
"node. You can use a distribution or Operating System of your choice. Using "
"the same distribution as the management server is recommended, but not "
"required. See <xref linkend=\"management-server-system-requirements\" />."
msgstr "管理伺服器不需要為MySQL使用特定的產品您可以使用任何作業系統。建議使用相同的產品詳見<xref linkend=\"management-server-system-requirements\" /> "
#. Tag: para
#, no-c-format
msgid "Install MySQL from the package repository from your distribution:"
msgstr "從package repository安裝MySQL"
#. Tag: para
#, no-c-format
msgid "On RHEL or CentOS:"
msgstr "於RHEL/CentOS"
#. Tag: programlisting
#, no-c-format
msgid "yum install mysql-server"
msgstr "yum install mysql-server"
#. Tag: para
#, no-c-format
msgid "On Ubuntu:"
msgstr "於Ubuntu"
#. Tag: programlisting
#, no-c-format
msgid "apt-get install mysql-server"
msgstr "apt-get install mysql-server"
#. Tag: para
#, no-c-format
msgid ""
"Edit the MySQL configuration (/etc/my.cnf or /etc/mysql/my.cnf, depending on"
" your OS) and insert the following lines in the [mysqld] section. You can "
"put these lines below the datadir line. The max_connections parameter should"
" be set to 350 multiplied by the number of Management Servers you are "
"deploying. This example assumes two Management Servers."
msgstr "編輯MySQL系統設定(/etc/my.cnf or /etc/mysql/my.cnf取決於您的作業系統)並在[mysqld]部分加入以下行列您可以將這些行列放在datadir下方。max_connections欄位設為350乘以Management Servers的數量這個例子假設有兩個"
#. Tag: para
#, no-c-format
msgid ""
"On Ubuntu, you can also create /etc/mysql/conf.d/cloudstack.cnf file and add"
" these directives there. Don't forget to add [mysqld] on the first line of "
"the file."
msgstr "對Ubuntu您可以建立/etc/mysql/conf.d/cloudstack.cnf檔案並新增這些指令不要忘了加入[mysqld]在第一行"
#. Tag: programlisting
#, no-c-format
msgid ""
"innodb_rollback_on_timeout=1\n"
"innodb_lock_wait_timeout=600\n"
"max_connections=700\n"
"log-bin=mysql-bin\n"
"binlog-format = 'ROW'\n"
"bind-address = 0.0.0.0"
msgstr "innodb_rollback_on_timeout=1\ninnodb_lock_wait_timeout=600\nmax_connections=700\nlog-bin=mysql-bin\nbinlog-format = 'ROW'\nbind-address = 0.0.0.0"
#. Tag: para
#, no-c-format
msgid "Start or restart MySQL to put the new configuration into effect."
msgstr "啟動或重新啟動MySQL來使設定生效"
#. Tag: para
#, no-c-format
msgid ""
"On RHEL/CentOS, MySQL doesn't automatically start after installation. Start "
"it manually."
msgstr " 對於RHEL/CentOSMySQL不會自動啟動請手動啟動"
#. Tag: programlisting
#, no-c-format
msgid "service mysqld start"
msgstr "service mysqld start"
#. Tag: para
#, no-c-format
msgid "On Ubuntu, restart MySQL."
msgstr "對於Ubuntu請重新啟動 MySQL "
#. Tag: programlisting
#, no-c-format
msgid "service mysqld restart"
msgstr "service mysqld restart"
#. Tag: para
#, no-c-format
msgid "(CentOS and RHEL only; not required on Ubuntu)"
msgstr "(僅CentOS 及 RHELUbuntu不需要)"
#. Tag: para
#, no-c-format
msgid ""
"On RHEL and CentOS, MySQL does not set a root password by default. It is "
"very strongly recommended that you set a root password as a security "
"precaution."
msgstr "對於RHEL and CentOSMySQL預設沒有 root 密碼強烈建議您設定root密碼"
#. Tag: para
#, no-c-format
msgid ""
"Run the following command to secure your installation. You can answer \"Y\" "
"to all questions except \"Disallow root login remotely?\". Remote root login"
" is required to set up the databases."
msgstr "執行以下指令強化您的安裝,您可以除了\"Disallow root login remotely?\"外,其他問題回答\"Y\"。建立資料庫需要遠端登入root"
#. Tag: programlisting
#, no-c-format
msgid "mysql_secure_installation"
msgstr "mysql_secure_installation"
#. Tag: para
#, no-c-format
msgid ""
"If a firewall is present on the system, open TCP port 3306 so external MySQL"
" connections can be established."
msgstr "如果有防火牆,請打開 TCP port 3306。"
#. Tag: para
#, no-c-format
msgid ""
"On Ubuntu, UFW is the default firewall. Open the port with this command:"
msgstr "對於Ubuntu有預設防火牆UFW用這指令開啟埠"
#. Tag: programlisting
#, no-c-format
msgid "ufw allow mysql"
msgstr "ufw allow mysql"
#. Tag: para
#, no-c-format
msgid "On RHEL/CentOS:"
msgstr "於RHEL/CentOS"
#. Tag: para
#, no-c-format
msgid ""
"Edit the /etc/sysconfig/iptables file and add the following line at the "
"beginning of the INPUT chain."
msgstr "編輯 /etc/sysconfig/iptables文件並在 INPUT的一開始加入以下行列"
#. Tag: programlisting
#, no-c-format
msgid "-A INPUT -p tcp --dport 3306 -j ACCEPT"
msgstr "-A INPUT -p tcp --dport 3306 -j ACCEPT"
#. Tag: para
#, no-c-format
msgid "Now reload the iptables rules."
msgstr "請重載iptables rules "
#. Tag: programlisting
#, no-c-format
msgid "service iptables restart"
msgstr "service iptables restart"
#. Tag: para
#, no-c-format
msgid "Return to the root shell on your first Management Server."
msgstr "回到您第一個管理使用者的root"
#. Tag: para
#, no-c-format
msgid ""
"Set up the database. The following command creates the cloud user on the "
"database."
msgstr "設定資料庫。以下指令會建立雲端資料庫的使用者"
#. Tag: para
#, no-c-format
msgid ""
"In dbpassword, specify the password to be assigned to the cloud user. You "
"can choose to provide no password."
msgstr "在dbpassword指定雲端使用者的密碼您也可以不要設密碼"
#. Tag: para
#, no-c-format
msgid ""
"In deploy-as, specify the username and password of the user deploying the "
"database. In the following command, it is assumed the root user is deploying"
" the database and creating the cloud user."
msgstr "在 deploy-as指定使用者名稱及密碼。在以下指令假設有root使用者並創建雲端使用者"
#. Tag: para
#, no-c-format
msgid ""
"(Optional) For encryption_type, use file or web to indicate the technique "
"used to pass in the database encryption password. Default: file. See <xref "
"linkend=\"about-password-encryption\" />."
msgstr "(選擇性)對於encryption_type您可以使用文件或網路來指定通過資料庫密碼的技術預設為文件詳見 <xref linkend=\"about-password-encryption\" /> "
#. Tag: para
#, no-c-format
msgid ""
"(Optional) For management_server_key, substitute the default key that is "
"used to encrypt confidential parameters in the &PRODUCT; properties file. "
"Default: password. It is highly recommended that you replace this with a "
"more secure value. See About Password and Key Encryption."
msgstr "(選擇性)對於management_server_key替換在&PRODUCT;properties file用來編譯機密參數的預設金鑰預設password。我們強烈建議您替換成更安全的數值詳見About Password and Key Encryption "
#. Tag: para
#, no-c-format
msgid ""
"(Optional) For database_key, substitute the default key that is used to "
"encrypt confidential parameters in the &PRODUCT; database. Default: "
"password. It is highly recommended that you replace this with a more secure "
"value. See <xref linkend=\"about-password-encryption\" />."
msgstr "(選擇性)對於database_key替換在&PRODUCT;properties file用來編譯機密參數的預設金鑰預設password。我們強烈建議您替換成更安全的數值詳見<xref linkend=\"about-password-encryption\" />"
#. Tag: para
#, no-c-format
msgid ""
"(Optional) For management_server_ip, you may explicitly specify cluster "
"management server node IP. If not specified, the local IP address will be "
"used."
msgstr "(選擇性)對於management_server_ip您可以分開指定cluster管理伺服器節點IP。如果不指定則為本地IP位址"
#. Tag: programlisting
#, no-c-format
msgid ""
"cloud-setup-databases cloud:&lt;dbpassword&gt;@&lt;ip address mysql server&gt; \\\n"
"--deploy-as=root:&lt;password&gt; \\\n"
"-e &lt;encryption_type&gt; \\\n"
"-m &lt;management_server_key&gt; \\\n"
"-k &lt;database_key&gt; \\\n"
"-i &lt;management_server_ip&gt;"
msgstr "cloud-setup-databases cloud:&lt;dbpassword&gt;@&lt;ip address mysql server&gt; \\\n--deploy-as=root:&lt;password&gt; \\\n-e &lt;encryption_type&gt; \\\n-m &lt;management_server_key&gt; \\\n-k &lt;database_key&gt; \\\n-i &lt;management_server_ip&gt;"
#. Tag: para
#, no-c-format
msgid ""
"When this script is finished, you should see a message like “Successfully "
"initialized the database.”"
msgstr "當程式執行完成後您將會看到類似訊息“Successfully initialized the database.”"