mirror of https://github.com/apache/cloudstack.git
151 lines
5.7 KiB
Plaintext
151 lines
5.7 KiB
Plaintext
#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:38\n"
|
||
"PO-Revision-Date: 2013-04-10 11:16+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 "Changing the Database Password"
|
||
msgstr "改變資料庫密碼"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"You may need to change the password for the MySQL account used by "
|
||
"CloudStack. If so, you'll need to change the password in MySQL, and then add"
|
||
" the encrypted password to "
|
||
"<filename>/etc/cloud/management/db.properties</filename>."
|
||
msgstr "您可能需要改變 CloudStack使用的MySQL帳戶密碼。如果是,您需要改變MySQL的密碼,並加入加密的密碼到<filename>/etc/cloud/management/db.properties</filename>"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"Before changing the password, you'll need to stop CloudStack's management "
|
||
"server and the usage engine if you've deployed that component."
|
||
msgstr "改變密碼前,請先停止CloudStack的管理伺服器,如果您有部署使用引擎,也請停止"
|
||
|
||
#. Tag: screen
|
||
#, no-c-format
|
||
msgid ""
|
||
"\n"
|
||
"<command># service cloud-management stop</command>\n"
|
||
"<command># service cloud-usage stop</command>\n"
|
||
msgstr "\n<command># service cloud-management stop</command>\n<command># service cloud-usage stop</command>\n"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"Next, you'll update the password for the CloudStack user on the MySQL "
|
||
"server."
|
||
msgstr "接下來,更新MySQL伺服器的CloudStack使用者密碼"
|
||
|
||
#. Tag: screen
|
||
#, no-c-format
|
||
msgid ""
|
||
"\n"
|
||
"<command># mysql -u root -p</command>\n"
|
||
msgstr "\n<command># mysql -u root -p</command>\n"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid "At the MySQL shell, you'll change the password and flush privileges:"
|
||
msgstr "在MySQL shell,改變密碼及清除優先權:"
|
||
|
||
#. Tag: screen
|
||
#, no-c-format
|
||
msgid ""
|
||
"\n"
|
||
"<command>update mysql.user set password=PASSWORD(\"newpassword123\") where User='cloud';</command>\n"
|
||
"<command>flush privileges;</command>\n"
|
||
"<command>quit;</command>\n"
|
||
msgstr "\n<command>update mysql.user set password=PASSWORD(\"newpassword123\") where User='cloud';</command>\n<command>flush privileges;</command>\n<command>quit;</command>\n"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"The next step is to encrypt the password and copy the encrypted password to "
|
||
"CloudStack's database configuration "
|
||
"(<filename>/etc/cloud/management/db.properties</filename>)."
|
||
msgstr "下一步,將密碼加密,然後複製到CloudStack的資料庫設定(<filename>/etc/cloud/management/db.properties</filename>)"
|
||
|
||
#. Tag: screen
|
||
#, no-c-format
|
||
msgid ""
|
||
"\n"
|
||
"<command># java -classpath /usr/share/java/cloud-jasypt-1.8.jar \\\n"
|
||
"org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh \\ \n"
|
||
"input=\"newpassword123\" password=\"`cat /etc/cloud/management/key`\" \\\n"
|
||
"verbose=false \n"
|
||
"</command>\n"
|
||
msgstr "\n<command># java -classpath /usr/share/java/cloud-jasypt-1.8.jar \\\norg.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh \\ \ninput=\"newpassword123\" password=\"`cat /etc/cloud/management/key`\" \\\nverbose=false \n</command>\n"
|
||
|
||
#. Tag: title
|
||
#, no-c-format
|
||
msgid "File encryption type"
|
||
msgstr "檔案加密類型"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"Note that this is for the file encryption type. If you're using the web "
|
||
"encryption type then you'll use password=\"management_server_secret_key\""
|
||
msgstr "注意,這是給檔案加密類型的設定。如果您使用網頁加密類型,您需要使用password=\"management_server_secret_key\""
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"Now, you'll update <filename>/etc/cloud/management/db.properties</filename> "
|
||
"with the new ciphertext. Open "
|
||
"<filename>/etc/cloud/management/db.properties</filename> in a text editor, "
|
||
"and update these parameters:"
|
||
msgstr "現在,使用新的 ciphertext更新 <filename>/etc/cloud/management/db.properties</filename>。使用記事本開啟<filename>/etc/cloud/management/db.properties</filename> 並更新這些欄位:"
|
||
|
||
#. Tag: programlisting
|
||
#, no-c-format
|
||
msgid ""
|
||
"\n"
|
||
"db.cloud.password=ENC(encrypted_password_from_above) \n"
|
||
"db.usage.password=ENC(encrypted_password_from_above) \n"
|
||
msgstr "\ndb.cloud.password=ENC(encrypted_password_from_above) \ndb.usage.password=ENC(encrypted_password_from_above) \n"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"After copying the new password over, you can now start CloudStack (and the "
|
||
"usage engine, if necessary)."
|
||
msgstr "複製新密碼後,您可以啟動CloudStack(及使用引擎)"
|
||
|
||
#. Tag: screen
|
||
#, no-c-format
|
||
msgid ""
|
||
"\n"
|
||
" <command># service cloud-management start</command>\n"
|
||
" <command># service cloud-usage start</command>\n"
|
||
" "
|
||
msgstr "\n <command># service cloud-management start</command>\n <command># service cloud-usage start</command>\n "
|