mirror of https://github.com/apache/cloudstack.git
188 lines
8.2 KiB
Plaintext
188 lines
8.2 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-12 11:35+0000\n"
|
||
"Last-Translator: sebgoa <runseb@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 "AWS API User Setup"
|
||
msgstr "AWS API User Setup"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"In general, users need not be aware that they are using a translation "
|
||
"service provided by &PRODUCT;. They only need to send AWS API calls to "
|
||
"&PRODUCT;'s endpoint, and it will translate the calls to the native "
|
||
"&PRODUCT; API. Users of the Amazon EC2 compatible interface will be able to "
|
||
"keep their existing EC2 tools and scripts and use them with their &PRODUCT; "
|
||
"deployment, by specifying the endpoint of the management server and using "
|
||
"the proper user credentials. In order to do this, each user must perform the"
|
||
" following configuration steps:"
|
||
msgstr "通常,使用者不用擔心使用&PRODUCT;提供的翻譯版本,他們僅需要送出AWS API 到 &PRODUCT;終端即可,並且終端會翻譯呼叫到本地&PRODUCT; API。Amazon EC2 compatible interface使用者可以保留EC2 tools、scripts及&PRODUCT; deployment,只要指定管理伺服器及使用適當的使用者證明即可。每個使用者必須執行下設定:"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid "Generate user credentials."
|
||
msgstr "產生使用者證明"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid "Register with the service."
|
||
msgstr "註冊"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"For convenience, set up environment variables for the EC2 SOAP command-line "
|
||
"tools."
|
||
msgstr "方便起見,建立環境變數給EC2 SOAP command-line tools"
|
||
|
||
#. Tag: title
|
||
#, no-c-format
|
||
msgid "AWS API User Registration"
|
||
msgstr "AWS API User Registration"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"Each user must perform a one-time registration. The user follows these "
|
||
"steps:"
|
||
msgstr "每個使用者執行一次性的註冊,請依照以下步驟:"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"Obtain the following by looking in the &PRODUCT; UI, using the API, or "
|
||
"asking the cloud administrator:"
|
||
msgstr "使用&PRODUCT;使用者介面取得資訊,使用API或詢問雲端管理者皆可:"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid "The &PRODUCT; server's publicly available DNS name or IP address"
|
||
msgstr "&PRODUCT; 伺服器的publicly允許DNS名稱或IP位址"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid "The user account's Access key and Secret key"
|
||
msgstr "使用者帳戶的Access key 及 Secret key"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"Generate a private key and a self-signed X.509 certificate. The user "
|
||
"substitutes their own desired storage location for /path/to/… below."
|
||
msgstr "產生一個private key及一個self-signed X.509 certificate。使用者可以替換自己喜歡的儲存位置 /path/to/…"
|
||
|
||
#. Tag: programlisting
|
||
#, no-c-format
|
||
msgid ""
|
||
"$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout "
|
||
"/path/to/private_key.pem -out /path/to/cert.pem"
|
||
msgstr "$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /path/to/private_key.pem -out /path/to/cert.pem"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"Register the user X.509 certificate and Access/Secret keys with the AWS "
|
||
"compatible service. If you have the source code of &PRODUCT; go to the "
|
||
"awsapi-setup/setup directory and use the Python script cloudstack-aws-api-"
|
||
"register. If you do not have the source then download the script using the "
|
||
"following command."
|
||
msgstr "使用AWS相容服務註冊user X.509 certificate及Access/Secret keys,如果您有&PRODUCT;原始碼,請到awsapi-setup/setup 資料夾並使用Python script cloudstack-aws-api-register。如果您沒有原始碼,請使用以下指令下載:"
|
||
|
||
#. Tag: programlisting
|
||
#, no-c-format
|
||
msgid ""
|
||
"wget -O cloudstack-aws-api-register <ulink url=\"https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;f=awsapi-setup/setup/cloudstack-aws-api-register;hb=4.1\">\"https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;f=awsapi-setup/setup/cloudstack-aws-api-register;hb=4.1\"</ulink>\n"
|
||
" "
|
||
msgstr ""
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"Then execute it, using the access and secret keys that were obtained in step"
|
||
" <xref linkend=\"obtain-access-secret-keys\" />. An example is shown below."
|
||
msgstr "然後執行,使用在步驟<xref linkend=\"obtain-access-secret-keys\" />取得的access and secret keys。範例如下"
|
||
|
||
#. Tag: programlisting
|
||
#, no-c-format
|
||
msgid ""
|
||
"$ cloudstack-aws-api-register --apikey=<replaceable>User’s &PRODUCT; API "
|
||
"key</replaceable> --secretkey=<replaceable>User’s &PRODUCT; Secret "
|
||
"key</replaceable> --cert=<replaceable>/path/to/cert.pem</replaceable> "
|
||
"--url=http://<replaceable>&PRODUCT;.server</replaceable>:7080/awsapi"
|
||
msgstr "$ cloudstack-aws-api-register --apikey=<replaceable>User’s &PRODUCT; API key</replaceable> --secretkey=<replaceable>User’s &PRODUCT; Secret key</replaceable> --cert=<replaceable>/path/to/cert.pem</replaceable> --url=http://<replaceable>&PRODUCT;.server</replaceable>:7080/awsapi"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"A user with an existing AWS certificate could choose to use the same "
|
||
"certificate with &PRODUCT;, but note that the certificate would be uploaded "
|
||
"to the &PRODUCT; management server database."
|
||
msgstr "已有AWS certificate的使用者可以選擇使用相同的證明,但是請注意,證明會上傳到&PRODUCT; 管理伺服器資料庫"
|
||
|
||
#. Tag: title
|
||
#, no-c-format
|
||
msgid "AWS API Command-Line Tools Setup"
|
||
msgstr "AWS API Command-Line Tools Setup"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid "To use the EC2 command-line tools, the user must perform these steps:"
|
||
msgstr "使用者必須執行以下步驟,才能使用EC2 command-line tools:"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"Be sure you have the right version of EC2 Tools. The supported version is "
|
||
"available at <ulink url=\"http://s3.amazonaws.com/ec2-downloads/ec2-api-"
|
||
"tools-1.3-62308.zip\">http://s3.amazonaws.com/ec2-downloads/ec2-api-"
|
||
"tools-1.3-62308.zip</ulink>."
|
||
msgstr "確定您有正確的EC2 Tools版本,支援版本<ulink url=\"http://s3.amazonaws.com/ec2-downloads/ec2-api-tools-1.3-62308.zip\">http://s3.amazonaws.com/ec2-downloads/ec2-api-tools-1.3-62308.zip</ulink>"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"Set up the EC2 environment variables. This can be done every time you use "
|
||
"the service or you can set them up in the proper shell profile. Replace the "
|
||
"endpoint (i.e EC2_URL) with the proper address of your &PRODUCT; management "
|
||
"server and port. In a bash shell do the following."
|
||
msgstr "建立EC2環境變數,可在您使用服務時設定,或是在shell profile建立,取代終端(也就是EC2_URL)為適當的 &PRODUCT; 管理伺服器及通訊埠位置,在bash shell輸入以下:"
|
||
|
||
#. Tag: programlisting
|
||
#, no-c-format
|
||
msgid ""
|
||
"\n"
|
||
" $ export EC2_CERT=/path/to/cert.pem\n"
|
||
" $ export EC2_PRIVATE_KEY=/path/to/private_key.pem\n"
|
||
" $ export EC2_URL=http://localhost:7080/awsapi\n"
|
||
" $ export EC2_HOME=/path/to/EC2_tools_directory\n"
|
||
" "
|
||
msgstr "\n $ export EC2_CERT=/path/to/cert.pem\n $ export EC2_PRIVATE_KEY=/path/to/private_key.pem\n $ export EC2_URL=http://localhost:7080/awsapi\n $ export EC2_HOME=/path/to/EC2_tools_directory\n "
|