Keep looking Donot settle
分类: 嵌入式
2015-08-16 11:46:26
之前ubuntu使用Canonical时,我曾尝试过,严重受挫(2010/06/13).
这次在得知ubuntu转投OpenStack后赶紧再次尝试,真不愧时代进步啊!!!
基本上全自动化,无悬念搞定!!!
sudo bash nova-install -t cloud
sudo bash nova-install -t compute
mkdir –p /root/creds
nova-manage project zipfile mycloud root /root/creds/novacreds.zip
unzip /root/creds/novacreds.zip -d /root/creds/
cat /root/creds/novarc >> ~/.bashrc
source ~/.bashrc
restart libvirt-bin; restart nova-network; restart nova-compute;
restart nova-api; restart nova-objectstore; restart nova-scheduler
uec-publish-tarball ubuntu-10.04-server-uec-amd64.tar.gz mybucket
euca-add-keypair mykey > mykey.pem
chmod 600 mykey.pem
euca-run-instances -k mykey ami-1e31f4fd -t m1.tiny
ssh ubuntu@$192.168.0.130 -i mykey.pem
|
from: http://www.cnblogs.com/zhongzf/archive/2011/05/20/2051595.html