特殊:Badtitle/NS100:UEC/Credentials
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/UEC/Credentials }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/af | • {{#if: UbuntuHelp:UEC/Credentials|Afrikaans| [[::UEC/Credentials/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/ar | • {{#if: UbuntuHelp:UEC/Credentials|العربية| [[::UEC/Credentials/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/az | • {{#if: UbuntuHelp:UEC/Credentials|azərbaycanca| [[::UEC/Credentials/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/bcc | • {{#if: UbuntuHelp:UEC/Credentials|جهلسری بلوچی| [[::UEC/Credentials/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/bg | • {{#if: UbuntuHelp:UEC/Credentials|български| [[::UEC/Credentials/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/br | • {{#if: UbuntuHelp:UEC/Credentials|brezhoneg| [[::UEC/Credentials/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/ca | • {{#if: UbuntuHelp:UEC/Credentials|català| [[::UEC/Credentials/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/cs | • {{#if: UbuntuHelp:UEC/Credentials|čeština| [[::UEC/Credentials/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/de | • {{#if: UbuntuHelp:UEC/Credentials|Deutsch| [[::UEC/Credentials/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/el | • {{#if: UbuntuHelp:UEC/Credentials|Ελληνικά| [[::UEC/Credentials/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/es | • {{#if: UbuntuHelp:UEC/Credentials|español| [[::UEC/Credentials/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/fa | • {{#if: UbuntuHelp:UEC/Credentials|فارسی| [[::UEC/Credentials/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/fi | • {{#if: UbuntuHelp:UEC/Credentials|suomi| [[::UEC/Credentials/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/fr | • {{#if: UbuntuHelp:UEC/Credentials|français| [[::UEC/Credentials/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/gu | • {{#if: UbuntuHelp:UEC/Credentials|ગુજરાતી| [[::UEC/Credentials/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/he | • {{#if: UbuntuHelp:UEC/Credentials|עברית| [[::UEC/Credentials/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/hu | • {{#if: UbuntuHelp:UEC/Credentials|magyar| [[::UEC/Credentials/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/id | • {{#if: UbuntuHelp:UEC/Credentials|Bahasa Indonesia| [[::UEC/Credentials/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/it | • {{#if: UbuntuHelp:UEC/Credentials|italiano| [[::UEC/Credentials/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/ja | • {{#if: UbuntuHelp:UEC/Credentials|日本語| [[::UEC/Credentials/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/ko | • {{#if: UbuntuHelp:UEC/Credentials|한국어| [[::UEC/Credentials/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/ksh | • {{#if: UbuntuHelp:UEC/Credentials|Ripoarisch| [[::UEC/Credentials/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/mr | • {{#if: UbuntuHelp:UEC/Credentials|मराठी| [[::UEC/Credentials/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/ms | • {{#if: UbuntuHelp:UEC/Credentials|Bahasa Melayu| [[::UEC/Credentials/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/nl | • {{#if: UbuntuHelp:UEC/Credentials|Nederlands| [[::UEC/Credentials/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/no | • {{#if: UbuntuHelp:UEC/Credentials|norsk| [[::UEC/Credentials/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/oc | • {{#if: UbuntuHelp:UEC/Credentials|occitan| [[::UEC/Credentials/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/pl | • {{#if: UbuntuHelp:UEC/Credentials|polski| [[::UEC/Credentials/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/pt | • {{#if: UbuntuHelp:UEC/Credentials|português| [[::UEC/Credentials/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/ro | • {{#if: UbuntuHelp:UEC/Credentials|română| [[::UEC/Credentials/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/ru | • {{#if: UbuntuHelp:UEC/Credentials|русский| [[::UEC/Credentials/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/si | • {{#if: UbuntuHelp:UEC/Credentials|සිංහල| [[::UEC/Credentials/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/sq | • {{#if: UbuntuHelp:UEC/Credentials|shqip| [[::UEC/Credentials/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/sr | • {{#if: UbuntuHelp:UEC/Credentials|српски / srpski| [[::UEC/Credentials/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/sv | • {{#if: UbuntuHelp:UEC/Credentials|svenska| [[::UEC/Credentials/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/th | • {{#if: UbuntuHelp:UEC/Credentials|ไทย| [[::UEC/Credentials/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/tr | • {{#if: UbuntuHelp:UEC/Credentials|Türkçe| [[::UEC/Credentials/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/vi | • {{#if: UbuntuHelp:UEC/Credentials|Tiếng Việt| [[::UEC/Credentials/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/yue | • {{#if: UbuntuHelp:UEC/Credentials|粵語| [[::UEC/Credentials/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/zh | • {{#if: UbuntuHelp:UEC/Credentials|中文| [[::UEC/Credentials/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/zh-hans | • {{#if: UbuntuHelp:UEC/Credentials|中文(简体)| [[::UEC/Credentials/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Credentials | UbuntuHelp:UEC/Credentials | {{#if: | :}}UEC/Credentials}}/zh-hant | • {{#if: UbuntuHelp:UEC/Credentials|中文(繁體)| [[::UEC/Credentials/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:UEC/Credentials|:UEC/Credentials|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :UEC/Credentials/zh | | {{#ifexist: UEC/Credentials/zh | | {{#ifeq: {{#titleparts:UEC/Credentials|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:UEC/Credentials|1|-1|}} | zh | | }}
After installing and booting the Cloud Controller, users of the cloud will need to retrieve their credentials. This can be done either through a web browser, or at the command line.
From a Web Browser
- From your web browser (either remotely or on your Ubuntu server) access the following URL:
https://<cloud-controller-ip-address>:8443/
Important! You must use a secure connection, so make sure you use "https" not "http" in your URL. You will get a security certificate warning. You will have to add an exception to view the page. If you do not accept it you will not be able to view the Eucalyptus configuration page. |
- Use username 'admin' and password 'admin' for the first time login (you will be prompted to change your password).
- Then follow the on-screen instructions to update the admin password and email address.
- Once the first time configuration process is completed, click the 'credentials' tab located in the top-left portion of the screen. <
> - Click the 'Download Credentials' button to get your certificates
- Save them to
~/.euca
- Unzip the downloaded zipfile into a safe location (~/.euca)
unzip -d ~/.euca mycreds.zip
From a Command Line
- Alternatively, if you are on the command line of the Cloud Controller, you can run:
mkdir -p ~/.euca chmod 700 ~/.euca cd ~/.euca sudo euca_conf --get-credentials mycreds.zip unzip mycreds.zip cd -
Extracting and Using Your Credentials
Now you will need to setup EC2 API and AMI tools on your server using X.509 certificates.
- Source the included "eucarc" file to set up your Eucalyptus environment
. ~/.euca/eucarc
- You may additionally wish to add this command to your ~/.bashrc file so that your Eucalyptus environment is set up automatically when you log in. Eucalyptus treats this set of credentials as 'administrator' credentials that allow the holder global privileges across the cloud. As such, they should be protected in the same way that other elevated-priority access is protected (e.g. should not be made visible to the general user population).
echo "[ -r ~/.euca/eucarc ] && . ~/.euca/eucarc" >> ~/.bashrc
- Install the required cloud user tools:
sudo apt-get install euca2ools
- To validate that everything is working correctly, get the local cluster availability details:
. ~/.euca/eucarc euca-describe-availability-zones verbose AVAILABILITYZONE myowncloud 192.168.1.1 AVAILABILITYZONE |- vm types free / max cpu ram disk AVAILABILITYZONE |- m1.small 0004 / 0004 1 128 2 AVAILABILITYZONE |- c1.medium 0004 / 0004 1 256 5 AVAILABILITYZONE |- m1.large 0002 / 0002 2 512 10 AVAILABILITYZONE |- m1.xlarge 0002 / 0002 2 1024 20 AVAILABILITYZONE |- c1.xlarge 0001 / 0001 4 2048 20