Dean Troyer | 54b9732 | 2014-06-20 17:53:55 -0500 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <title>RAMdisk Boot Guide - DevStack</title> |
| 6 | <meta name="description" content=""> |
| 7 | <meta name="author" content=""> |
| 8 | |
| 9 | <!-- Le HTML5 shim, for IE6-8 support of HTML elements --> |
| 10 | <!--[if lt IE 9]> |
| 11 | <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> |
| 12 | <![endif]--> |
| 13 | |
| 14 | <!-- Le styles --> |
| 15 | <link href="../assets/css/bootstrap.css" rel="stylesheet"> |
| 16 | <link href="../assets/css/local.css" rel="stylesheet"> |
| 17 | <style type="text/css"> |
| 18 | body { padding-top: 60px; } |
| 19 | dd { padding: 10px; } |
| 20 | </style> |
| 21 | |
| 22 | <!-- Le javascripts --> |
| 23 | <script src="../assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script> |
| 24 | <script src="../assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script> |
| 25 | </head> |
| 26 | |
| 27 | <body> |
| 28 | |
| 29 | <div class="navbar navbar-fixed-top"> |
| 30 | <div class="navbar-inner"> |
| 31 | <div class="container"> |
| 32 | <a class="brand" href="/">DevStack</a> |
| 33 | <ul class="nav pull-right"> |
| 34 | <li><a href="../overview.html">Overview</a></li> |
| 35 | <li><a href="../changes.html">Changes</a></li> |
| 36 | <li><a href="../faq.html">FAQ</a></li> |
| 37 | <li><a href="http://github.com/openstack-dev/devstack">GitHub</a></li> |
| 38 | <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li> |
| 39 | </ul> |
| 40 | </div> |
| 41 | </div> |
| 42 | </div> |
| 43 | |
| 44 | <div class="container"> |
| 45 | <section id="overview"> |
| 46 | <h1>Stack-in-a-Box: Try before you mkfs</h1> |
| 47 | <p>Run DevStack from a RAM disk to give it a whirl before making the |
| 48 | commitment to install it. We'll cover booting from a USB drive or |
| 49 | over the network via PXE. We'll even thow in configuring a home |
| 50 | router to handle the PXE boot. You will need a minimum of 3GB |
| 51 | for both of these configurations as the RAM disk itself is 2GB.</p> |
| 52 | </section> |
| 53 | |
| 54 | <section id="requirements"> |
| 55 | <div class="page-header"> |
| 56 | <h2>Prerequisites <small>Hardware</small></h2> |
| 57 | </div> |
| 58 | |
| 59 | <h3>USB Boot</h3> |
| 60 | <p><a href="usb-boot.html">This guide</a> covers the creation of a bootable USB drive. Your |
| 61 | computer BIOS must support booting from USB.</p> |
| 62 | |
| 63 | <h3>PXE Boot</h3> |
| 64 | <p><a href="pxe-boot.html">This guide</a> covers the installation of OpenWRT on a home router |
| 65 | and configuring it as a PXE server, plus the creation of the |
| 66 | boot images and PXE support files. |
| 67 | </section> |
| 68 | |
| 69 | <section id="installation"> |
| 70 | <div class="page-header"> |
| 71 | <h2>Installation <small>bit blasting</small></h2> |
| 72 | </div> |
| 73 | |
| 74 | <h3>Install DevStack</h3> |
| 75 | <p>Grab the latest version of DevStack via https:</p> |
| 76 | <pre>sudo apt-get install git -y |
| 77 | git clone https://github.com/openstack-dev/devstack.git |
| 78 | cd devstack</pre> |
| 79 | |
| 80 | <h3>Prepare the Boot RAMdisk</h3> |
| 81 | <p>Pick your boot method and follow the guide to prepare to build |
| 82 | the RAM disk and set up the boot process:</p> |
| 83 | <ul> |
| 84 | <li><a href="usb-boot.html">USB boot</a></li> |
| 85 | <li><a href="pxe-boot.html">PXE boot</a></li> |
| 86 | </ul> |
| 87 | |
| 88 | <h3>Fire It Up</h3> |
| 89 | <ul> |
| 90 | <li>Boot the computer into the RAM disk. The details will vary from |
| 91 | machine to machine but most BIOSes have a method to select the |
| 92 | boot device, often by pressing F12 during POST.</li> |
| 93 | <li>Select 'DevStack' from the Boot Menu.</li> |
| 94 | <li>Log in with the 'stack' user and 'pass' password.</li> |
| 95 | <li>Create <code>devstack/localrc</code> if you wish to change any |
| 96 | of the configuration variables. You will probably want to at |
| 97 | least set the admin login password to something memorable rather |
| 98 | than the default 20 random characters: |
| 99 | <pre>ADMIN_PASSWORD=openstack</pre> |
| 100 | </li> |
| 101 | <li>Fire up OpenStack! |
| 102 | <pre>./run.sh</pre> |
| 103 | </li> |
| 104 | <li>See the processes running in screen: |
| 105 | <pre>screen -x</pre> |
| 106 | </li> |
| 107 | <li>Connect to the dashboard at <code>http://<ip-address>/</code></li> |
| 108 | </ul> |
| 109 | |
| 110 | </section> |
| 111 | |
| 112 | <footer> |
| 113 | <p>© Openstack Foundation 2011-2013 — this is not an official OpenStack project...</p> |
| 114 | </footer> |
| 115 | |
| 116 | </div> <!-- /container --> |
| 117 | |
| 118 | </body> |
| 119 | </html> |