个人工具
119.28.94.63
该IP地址的讨论
登录
查看“UbuntuHelp:UEC/Credentials”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:UEC/Credentials”的源代码
来自Ubuntu中文
←
UbuntuHelp:UEC/Credentials
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/UEC/Credentials}} {{Languages|UbuntuHelp:UEC/Credentials}} 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 ===== <ol><li>From your web browser (either remotely or on your Ubuntu server) access the following URL:</li></ol> <pre><nowiki> https://<cloud-controller-ip-address>:8443/ </nowiki></pre> {|border="1" cellspacing="0" | '''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. |} <ol><li>Use username 'admin' and password 'admin' for the first time login (you will be prompted to change your password). </li><li>Then follow the on-screen instructions to update the admin password and email address. </li><li>Once the first time configuration process is completed, click the 'credentials' tab located in the top-left portion of the screen. <<BR>>https://help.ubuntu.com/community/UEC/Credentials?action=AttachFile&do=get&target=UECcredentials-2.png </li><li>Click the 'Download Credentials' button to get your certificates </li><li>Save them to <code><nowiki>~/.euca</nowiki></code> </li><li>Unzip the downloaded zipfile into a safe location (~/.euca)</li></ol> <pre><nowiki> unzip -d ~/.euca mycreds.zip </nowiki></pre> ===== From a Command Line ===== <ol><li>Alternatively, if you are on the command line of the Cloud Controller, you can run:</li></ol> <pre><nowiki> mkdir -p ~/.euca chmod 700 ~/.euca cd ~/.euca sudo euca_conf --get-credentials mycreds.zip unzip mycreds.zip cd - </nowiki></pre> ===== Extracting and Using Your Credentials ===== Now you will need to setup EC2 API and AMI tools on your server using X.509 certificates. <ol><li>Source the included "eucarc" file to set up your Eucalyptus environment</li></ol> <pre><nowiki> . ~/.euca/eucarc </nowiki></pre> <ol><li>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).</li></ol> <pre><nowiki> echo "[ -r ~/.euca/eucarc ] && . ~/.euca/eucarc" >> ~/.bashrc </nowiki></pre> <ol><li>Install the required cloud user tools:</li></ol> <pre><nowiki> sudo apt-get install euca2ools </nowiki></pre> <ol><li>To validate that everything is working correctly, get the local cluster availability details:</li></ol> <pre><nowiki> . ~/.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 </nowiki></pre> [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:UEC/Credentials
。