Anda di halaman 1dari 4

Required steps to run on an Ubuntu 12.

04 desktop computer
1. Go to devstack.org and follow the three instructions for
installing pen!tack.
1. Select a Linux Distribution
Only Ubuntu 12.04 (Precise), Fedora 20 and CentOS/RHEL 6.5 are documented here.
OpenStack also runs and is packaged on other favors of Linux such as OpenSUSE and Debian.
2. Install Selected OS
In order to correctly install all the dependencies, we assume a specifc minimal version of the
supported distributions to make it as easy as possible. We recommend using a minimal install of
Ubuntu or Fedora server in a VM if this is your frst time.
3. Download DevStack
git clone https://github.com/openstack-dev/devstack.git
The devstack repo contains a script that installs OpenStack and templates for confguration fles
4. Confgure
While optional, we recommend a minimal confguration be set up as you may not want our default
values for everything.
5. Start the install
cd devstack; ./stack.sh
It takes a few minutes, we recommend reading the script while it is building.
2. nce installed" the dashboard UR# will be shown in the console.
pen that link in a web browser. $he remaining steps will be
performed in %our web browser.
&. 'ou should see an pen!tack dashboard screen. $he default user
name(admin" password( password
4. nce logged in" select the Project tab on the left side.
). *lick on Images & Snapshots.
+. $o the upper right corner is Create Image.
,. $%pe in a descriptive name for Ubuntu 12.04 server" for e-ample"
.My Cloud Server./ 01ote( m% choice of Ubuntu 12.04 server could
be an% other compatible cloud image that conforms to 2*32 and
supports cloudinit4.
5. 6or the Image URL we will install a QCOW2 disk image from
Ubuntu7s website. *op% and paste the following UR#( http(88cloud9
images.ubuntu.com8releases812.04.28release8ubuntu912.049server9
cloudimg9amd+49disk1.img
:. *hoose the QCOW2 format" 2 GB minimum disk" 512 MB R;<"
and select public. 0$hese minimums might be too small" = haven7t
tested this4.
10. nce the image is read%" click on the Launch button.
11. ; window shows up. *hoose the newl% created Ubuntu 12.04
server .My Cloud Server..
12. *hoose a descriptive =nstance name such as .First Cloud
Instance./
1&. *hoose a m1.small instance or larger. 0Ubuntu 12.04 server will
fail if a smaller instance is chosen.4
14. pen the Access !ecurit" tab and select a password for this
new server" for e-ample" password
1). 6or advanced users( 'ou can create and upload %our computer7s
own public8private ke% 0in the virtual machine4 for ssh access.
1+. Go ahead and create the image.
1,. 6rom the left side pane" click on #nstances.
15. 'ou should see a private => address" which is accessible inside
%our virtual machine.
1:. *lick on Console and %ou7ll see a terminal prompt. $%pe in
username(ubuntu and the password %ou previousl% created.
0;dvanced users" readhttp(88ubuntu9
smoser.blogspot.com8201&8028using9ubuntu9cloud9images9without9
cloud.html4
20. 'ou have now logged into a server within a private cloud.
*ongratulations?
21. $o leave the login session" t%pe in e$it
<an% commands are available for the #inu- operating s%stem but is
be%ond the scope of this tutorial.
!!@ access from %our Ubuntu 12.04 desktop computer
1. #eave the web browser and open another terminal inside %our
Ubuntu 12.04 desktop computer 0which is running inside the virtual
machine4.
2. Recall the private => address from step 15. 'ou can remotel% access
%our cloud server b% t%ping in( ssh ubuntu%private.ip.address where
private.ip.address is something like 10.0.0.2.
&. $%pe in %our password that %ou previousl% created. 'ou have now
accessed %our server.
6inal thoughts
$his post gives %ou a brief introduction to a private cloud using
pen!tack. 6or those familiar with ;maAon ;3!" %ou7ll immediatel%
notice some similarities. 6or an% production grade or practical
application" %ou should not be building an%thing on Bev!tack. $hird
part% cloud providers will offer packaged working solutions of
pen!tack implementations.

Anda mungkin juga menyukai