OpenStack Swift guide provides you basic set up idea of virtual machine for own Swift development. We have written this guide for the starters who has no idea. Some one requested us on our YouTube Channel for a OpenStack Swift guide video. This article will assume that you have very less knowledge about both OpenStack Swift and OpenStack itself. We are giving you the practical hardware and Software options for deploying OpenStack Swift. There will be another article with video on OpenStack Swift soon.
OpenStack Swift : Official Documentations
Here is the list of official resources for OpenStack Swift, which will definitely help you to get started or even to adapt your customized need.
- OpenStack Private Cloud on Your Laptop with DevStack : Basic Guide From our part along with video
- Install OpenStack swift CLI :1http://docs.openstack.org/cli/quick-start/content/install_openstack_swift_cli.html
- OpenStack Resource from Rackspace :1http://www.rackspace.com/cloud/openstack/momentum/TryStack - Try OpenStack for free :1http://trystack.org/
- OpenStack dev guide for Swift :1http://docs.openstack.org/developer/swift/
OpenStack Swift : Getting Started From Zero
First, run Ubuntu 10.04 LTS (Lucid Lynx) as server image, you can use SuSE SLE 11 64bit too, but that will make the situation difficult for the new users / developers. In the next step create guest VM from the Ubuntu image. You will use the CLI as root on guest VM. Type sudo su and it will ask for password. I like to change working directory to root by cd $root command and clear the screen with clear command. First install the python package :
---
1 | apt-get install python-software-properties |
You can manually edit the sources.list file or add from CLI :
1 | add-apt-repository ppa:swift-core/release |
Run update and upgrade and do a soft reboot (optional).
apt-get install curl gcc git-core memcached python-coverage python-dev python-nose python-setuptools python-simplejson python-xattr sqlite3 xfsprogs python-eventlet python-greenlet python-pastedeploy python-netifaces python-pip

Now, you can simply use pip install EXAMPLE command for your need.
The next steps are partitioning, adding a loopback device, rsync setup which we will discuss on our next guide for OpenStack Swift along with video screen cast. We highly recommend to search within this website for detailed instruction to run Ubuntu in various ways.
