#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 , 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 \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 " "/etc/cloud/management/db.properties." msgstr "您可能需要改變 CloudStack使用的MySQL帳戶密碼。如果是,您需要改變MySQL的密碼,並加入加密的密碼到/etc/cloud/management/db.properties" #. 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" "# service cloud-management stop\n" "# service cloud-usage stop\n" msgstr "\n# service cloud-management stop\n# service cloud-usage stop\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" "# mysql -u root -p\n" msgstr "\n# mysql -u root -p\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" "update mysql.user set password=PASSWORD(\"newpassword123\") where User='cloud';\n" "flush privileges;\n" "quit;\n" msgstr "\nupdate mysql.user set password=PASSWORD(\"newpassword123\") where User='cloud';\nflush privileges;\nquit;\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 " "(/etc/cloud/management/db.properties)." msgstr "下一步,將密碼加密,然後複製到CloudStack的資料庫設定(/etc/cloud/management/db.properties)" #. Tag: screen #, no-c-format msgid "" "\n" "# 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" "\n" msgstr "\n# 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\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 /etc/cloud/management/db.properties " "with the new ciphertext. Open " "/etc/cloud/management/db.properties in a text editor, " "and update these parameters:" msgstr "現在,使用新的 ciphertext更新 /etc/cloud/management/db.properties。使用記事本開啟/etc/cloud/management/db.properties 並更新這些欄位:" #. 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" " # service cloud-management start\n" " # service cloud-usage start\n" " " msgstr "\n # service cloud-management start\n # service cloud-usage start\n "