<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.meego.com/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.meego.com/index.php?title=Special:Contributions/Jsmoeller&amp;feed=atom&amp;limit=50&amp;target=Jsmoeller&amp;year=&amp;month=</id>
		<title>MeeGo wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.meego.com/index.php?title=Special:Contributions/Jsmoeller&amp;feed=atom&amp;limit=50&amp;target=Jsmoeller&amp;year=&amp;month="/>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/Special:Contributions/Jsmoeller"/>
		<updated>2013-05-26T08:54:43Z</updated>
		<subtitle>From MeeGo wiki</subtitle>
		<generator>MediaWiki 1.16.2</generator>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-04-19T13:33:17Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: /* Using any linux distro and lvm tools */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup of the OBS Appliance=&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
     min               recommended&lt;br /&gt;
 * recent CPU           quadcore/HT     (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
 * &amp;gt;= 4GB RAM             12GB          (the more the better!)&lt;br /&gt;
 * fast disks          fast disks/ssd    &lt;br /&gt;
 * 100GB diskspace      500GB raid1     (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
== Fetching needed files ==&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
=== OBS Appliance ===&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 21:34, 23 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.72-Build1.2-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
=== openSUSE 11.4 live cd (optional) ===&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Creating the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 100 GB (your choice - min is ~20GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3a.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4a.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary_a.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
== Creating the persistent LVM data storage ==&lt;br /&gt;
&lt;br /&gt;
=== Using the openSUSE KDE livecd ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;br /&gt;
&lt;br /&gt;
The LVM disk setup looks like:&lt;br /&gt;
&lt;br /&gt;
  OBS                    -  volume group name&lt;br /&gt;
   |&lt;br /&gt;
   +--- server           -  backend and data store    -  90GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- worker_root_1    -  1st worker root drive     -  8GB&lt;br /&gt;
   +--- worker_swap_1    -  1st worker swap drive     -  1GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- cache            -  package cache             -  1GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Create_partitions4.ogv]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this is done: remove the cd again from the storage settings!&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_10_remove_livecd.png|600x400px|center|Remove livecd]]&lt;br /&gt;
&lt;br /&gt;
=== Using any linux distro and lvm tools ===&lt;br /&gt;
&lt;br /&gt;
Boot up linux in the VM and execute these commands as root (assuming the disk is /dev/sda - adapt to your setup)&lt;br /&gt;
&lt;br /&gt;
 vgcreate OBS /dev/sda&lt;br /&gt;
 lvscan&lt;br /&gt;
 &lt;br /&gt;
 lvcreate -l 90%VG -n server OBS&lt;br /&gt;
 lvcreate -l 08%VG -n worker_root_1 OBS&lt;br /&gt;
 lvcreate -l 01%VG -n worker_swap_1 OBS&lt;br /&gt;
 lvcreate -l 01%VG -n cache OBS&lt;br /&gt;
 &lt;br /&gt;
 lvscan&lt;br /&gt;
 &lt;br /&gt;
 mkfs.ext3 /dev/OBS/server&lt;br /&gt;
 mkfs.ext3 /dev/OBS/worker_root_1&lt;br /&gt;
 mkfs.ext3 /dev/OBS/cache&lt;br /&gt;
 mkswap /dev/OBS/worker_swap_1&lt;br /&gt;
&lt;br /&gt;
Note: Adding more workers to this single host is as easy as adding more worker_root_* and worker_swap_* logical volumes.&lt;br /&gt;
For two workers this would look like:&lt;br /&gt;
&lt;br /&gt;
 vgcreate OBS /dev/sda&lt;br /&gt;
 lvscan&lt;br /&gt;
 &lt;br /&gt;
 lvcreate -l 81%VG -n server OBS&lt;br /&gt;
 lvcreate -l 08%VG -n worker_root_1 OBS&lt;br /&gt;
 lvcreate -l 01%VG -n worker_swap_1 OBS&lt;br /&gt;
 lvcreate -l 08%VG -n worker_root_2 OBS&lt;br /&gt;
 lvcreate -l 01%VG -n worker_swap_2 OBS&lt;br /&gt;
 lvcreate -l 01%VG -n cache OBS&lt;br /&gt;
 &lt;br /&gt;
 lvscan&lt;br /&gt;
 &lt;br /&gt;
 mkfs.ext3 /dev/OBS/server&lt;br /&gt;
 mkfs.ext3 /dev/OBS/worker_root_1&lt;br /&gt;
 mkfs.ext3 /dev/OBS/worker_root_2&lt;br /&gt;
 mkfs.ext3 /dev/OBS/cache&lt;br /&gt;
 mkswap /dev/OBS/worker_swap_1&lt;br /&gt;
 mkswap /dev/OBS/worker_swap_2&lt;br /&gt;
&lt;br /&gt;
== Adding the appliance disk image to the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Before adding the appliance to the storage settings, we need to move the volume group to sata port 1.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png|600x400px|center|Move to sata1]]&lt;br /&gt;
&lt;br /&gt;
Then we add another disk and select &amp;quot;use existing disk&amp;quot; and point to the downloaded appliance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_add_new_harddisk.png|600x400px|center|Add new harddisk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_12_choose_existing.png|600x400px|center|Choose existing disk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_13_choose_appliance.png|600x400px|center|Choose appliance]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_14_overview_settings.png|600x400px|center|Overview settings]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Important:'''&lt;br /&gt;
'''Make sure, the network interface is using &amp;quot;bridged&amp;quot; mode and is connected to a working network interface with dhcp!'''&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_15_bridged_network.png|600x400px|center|Bridged network]]&lt;br /&gt;
&lt;br /&gt;
== Booting up the appliance ==&lt;br /&gt;
&lt;br /&gt;
Now we're ready to boot up the OBS appliance! Start it and wait for the initial setup to complete (might take some time).&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Startup_appliance.ogv]]&lt;br /&gt;
&lt;br /&gt;
= Using the OBS Appliance =&lt;br /&gt;
&lt;br /&gt;
== Setup interlinks ==&lt;br /&gt;
&lt;br /&gt;
== First package, first build ==&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-04-19T13:33:00Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: /* Using any linux distro and lvm tools */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup of the OBS Appliance=&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
     min               recommended&lt;br /&gt;
 * recent CPU           quadcore/HT     (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
 * &amp;gt;= 4GB RAM             12GB          (the more the better!)&lt;br /&gt;
 * fast disks          fast disks/ssd    &lt;br /&gt;
 * 100GB diskspace      500GB raid1     (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
== Fetching needed files ==&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
=== OBS Appliance ===&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 21:34, 23 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.72-Build1.2-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
=== openSUSE 11.4 live cd (optional) ===&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Creating the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 100 GB (your choice - min is ~20GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3a.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4a.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary_a.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
== Creating the persistent LVM data storage ==&lt;br /&gt;
&lt;br /&gt;
=== Using the openSUSE KDE livecd ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;br /&gt;
&lt;br /&gt;
The LVM disk setup looks like:&lt;br /&gt;
&lt;br /&gt;
  OBS                    -  volume group name&lt;br /&gt;
   |&lt;br /&gt;
   +--- server           -  backend and data store    -  90GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- worker_root_1    -  1st worker root drive     -  8GB&lt;br /&gt;
   +--- worker_swap_1    -  1st worker swap drive     -  1GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- cache            -  package cache             -  1GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Create_partitions4.ogv]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this is done: remove the cd again from the storage settings!&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_10_remove_livecd.png|600x400px|center|Remove livecd]]&lt;br /&gt;
&lt;br /&gt;
=== Using any linux distro and lvm tools ===&lt;br /&gt;
&lt;br /&gt;
Boot up linux in the VM and execute these commands as root (assuming the disk is /dev/sda - adapt to your setup)&lt;br /&gt;
&lt;br /&gt;
 vgcreate OBS /dev/sda&lt;br /&gt;
 lvscan&lt;br /&gt;
 &lt;br /&gt;
 lvcreate -l 90%VG -n server OBS&lt;br /&gt;
 lvcreate -l 08%VG -n worker_root_1 OBS&lt;br /&gt;
 lvcreate -l 01%VG -n worker_swap_1 OBS&lt;br /&gt;
 lvcreate -l 01%VG -n cache OBS&lt;br /&gt;
&lt;br /&gt;
 lvscan&lt;br /&gt;
&lt;br /&gt;
 mkfs.ext3 /dev/OBS/server&lt;br /&gt;
 mkfs.ext3 /dev/OBS/worker_root_1&lt;br /&gt;
 mkfs.ext3 /dev/OBS/cache&lt;br /&gt;
 mkswap /dev/OBS/worker_swap_1&lt;br /&gt;
&lt;br /&gt;
Note: Adding more workers to this single host is as easy as adding more worker_root_* and worker_swap_* logical volumes.&lt;br /&gt;
For two workers this would look like:&lt;br /&gt;
&lt;br /&gt;
 vgcreate OBS /dev/sda&lt;br /&gt;
 lvscan&lt;br /&gt;
 &lt;br /&gt;
 lvcreate -l 81%VG -n server OBS&lt;br /&gt;
 lvcreate -l 08%VG -n worker_root_1 OBS&lt;br /&gt;
 lvcreate -l 01%VG -n worker_swap_1 OBS&lt;br /&gt;
 lvcreate -l 08%VG -n worker_root_2 OBS&lt;br /&gt;
 lvcreate -l 01%VG -n worker_swap_2 OBS&lt;br /&gt;
 lvcreate -l 01%VG -n cache OBS&lt;br /&gt;
&lt;br /&gt;
 lvscan&lt;br /&gt;
&lt;br /&gt;
 mkfs.ext3 /dev/OBS/server&lt;br /&gt;
 mkfs.ext3 /dev/OBS/worker_root_1&lt;br /&gt;
 mkfs.ext3 /dev/OBS/worker_root_2&lt;br /&gt;
 mkfs.ext3 /dev/OBS/cache&lt;br /&gt;
 mkswap /dev/OBS/worker_swap_1&lt;br /&gt;
 mkswap /dev/OBS/worker_swap_2&lt;br /&gt;
&lt;br /&gt;
== Adding the appliance disk image to the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Before adding the appliance to the storage settings, we need to move the volume group to sata port 1.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png|600x400px|center|Move to sata1]]&lt;br /&gt;
&lt;br /&gt;
Then we add another disk and select &amp;quot;use existing disk&amp;quot; and point to the downloaded appliance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_add_new_harddisk.png|600x400px|center|Add new harddisk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_12_choose_existing.png|600x400px|center|Choose existing disk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_13_choose_appliance.png|600x400px|center|Choose appliance]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_14_overview_settings.png|600x400px|center|Overview settings]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Important:'''&lt;br /&gt;
'''Make sure, the network interface is using &amp;quot;bridged&amp;quot; mode and is connected to a working network interface with dhcp!'''&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_15_bridged_network.png|600x400px|center|Bridged network]]&lt;br /&gt;
&lt;br /&gt;
== Booting up the appliance ==&lt;br /&gt;
&lt;br /&gt;
Now we're ready to boot up the OBS appliance! Start it and wait for the initial setup to complete (might take some time).&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Startup_appliance.ogv]]&lt;br /&gt;
&lt;br /&gt;
= Using the OBS Appliance =&lt;br /&gt;
&lt;br /&gt;
== Setup interlinks ==&lt;br /&gt;
&lt;br /&gt;
== First package, first build ==&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-04-13T21:40:43Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: /* Adding the appliance disk image to the virtual machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup of the OBS Appliance=&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
     min               recommended&lt;br /&gt;
 * recent CPU           quadcore/HT     (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
 * &amp;gt;= 4GB RAM             12GB          (the more the better!)&lt;br /&gt;
 * fast disks          fast disks/ssd    &lt;br /&gt;
 * 100GB diskspace      500GB raid1     (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
== Fetching needed files ==&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
=== OBS Appliance ===&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 21:34, 23 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.72-Build1.2-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
=== openSUSE 11.4 live cd (optional) ===&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Creating the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 100 GB (your choice - min is ~20GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3a.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4a.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary_a.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
== Creating the persistent LVM data storage ==&lt;br /&gt;
&lt;br /&gt;
=== Using the openSUSE KDE livecd ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;br /&gt;
&lt;br /&gt;
The LVM disk setup looks like:&lt;br /&gt;
&lt;br /&gt;
  OBS                    -  volume group name&lt;br /&gt;
   |&lt;br /&gt;
   +--- server           -  backend and data store    -  90GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- worker_root_1    -  1st worker root drive     -  8GB&lt;br /&gt;
   +--- worker_swap_1    -  1st worker swap drive     -  1GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- cache            -  package cache             -  1GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Create_partitions4.ogv]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this is done: remove the cd again from the storage settings!&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_10_remove_livecd.png|600x400px|center|Remove livecd]]&lt;br /&gt;
&lt;br /&gt;
=== Using any linux distro and lvm tools ===&lt;br /&gt;
&lt;br /&gt;
Boot up linux in the VM and execute these commands as root (assuming the disk is /dev/sda - adapt to your setup)&lt;br /&gt;
&lt;br /&gt;
 vgcreate OBS /dev/sda&lt;br /&gt;
 lvscan&lt;br /&gt;
 &lt;br /&gt;
 lvcreate -l 90%VG -n server OBS&lt;br /&gt;
 lvcreate -l 08%VG -n worker_root_1 OBS&lt;br /&gt;
 lvcreate -l 01%VG -n worker_swap_1 OBS&lt;br /&gt;
 lvcreate -l 01%VG -n cache OBS&lt;br /&gt;
&lt;br /&gt;
 mkfs.ext3 /dev/OBS/server&lt;br /&gt;
 mkfs.ext3 /dev/OBS/worker_root_1&lt;br /&gt;
 mkfs.ext3 /dev/OBS/cache&lt;br /&gt;
 mkswap /dev/OBS/worker_swap_1&lt;br /&gt;
&lt;br /&gt;
== Adding the appliance disk image to the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Before adding the appliance to the storage settings, we need to move the volume group to sata port 1.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png|600x400px|center|Move to sata1]]&lt;br /&gt;
&lt;br /&gt;
Then we add another disk and select &amp;quot;use existing disk&amp;quot; and point to the downloaded appliance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_add_new_harddisk.png|600x400px|center|Add new harddisk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_12_choose_existing.png|600x400px|center|Choose existing disk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_13_choose_appliance.png|600x400px|center|Choose appliance]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_14_overview_settings.png|600x400px|center|Overview settings]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Important:'''&lt;br /&gt;
'''Make sure, the network interface is using &amp;quot;bridged&amp;quot; mode and is connected to a working network interface with dhcp!'''&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_15_bridged_network.png|600x400px|center|Bridged network]]&lt;br /&gt;
&lt;br /&gt;
== Booting up the appliance ==&lt;br /&gt;
&lt;br /&gt;
Now we're ready to boot up the OBS appliance! Start it and wait for the initial setup to complete (might take some time).&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Startup_appliance.ogv]]&lt;br /&gt;
&lt;br /&gt;
= Using the OBS Appliance =&lt;br /&gt;
&lt;br /&gt;
== Setup interlinks ==&lt;br /&gt;
&lt;br /&gt;
== First package, first build ==&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-04-13T21:38:37Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: /* Using any linux distro and lvm tools */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup of the OBS Appliance=&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
     min               recommended&lt;br /&gt;
 * recent CPU           quadcore/HT     (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
 * &amp;gt;= 4GB RAM             12GB          (the more the better!)&lt;br /&gt;
 * fast disks          fast disks/ssd    &lt;br /&gt;
 * 100GB diskspace      500GB raid1     (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
== Fetching needed files ==&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
=== OBS Appliance ===&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 21:34, 23 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.72-Build1.2-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
=== openSUSE 11.4 live cd (optional) ===&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Creating the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 100 GB (your choice - min is ~20GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3a.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4a.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary_a.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
== Creating the persistent LVM data storage ==&lt;br /&gt;
&lt;br /&gt;
=== Using the openSUSE KDE livecd ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;br /&gt;
&lt;br /&gt;
The LVM disk setup looks like:&lt;br /&gt;
&lt;br /&gt;
  OBS                    -  volume group name&lt;br /&gt;
   |&lt;br /&gt;
   +--- server           -  backend and data store    -  90GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- worker_root_1    -  1st worker root drive     -  8GB&lt;br /&gt;
   +--- worker_swap_1    -  1st worker swap drive     -  1GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- cache            -  package cache             -  1GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Create_partitions4.ogv]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this is done: remove the cd again from the storage settings!&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_10_remove_livecd.png|600x400px|center|Remove livecd]]&lt;br /&gt;
&lt;br /&gt;
=== Using any linux distro and lvm tools ===&lt;br /&gt;
&lt;br /&gt;
Boot up linux in the VM and execute these commands as root (assuming the disk is /dev/sda - adapt to your setup)&lt;br /&gt;
&lt;br /&gt;
 vgcreate OBS /dev/sda&lt;br /&gt;
 lvscan&lt;br /&gt;
 &lt;br /&gt;
 lvcreate -l 90%VG -n server OBS&lt;br /&gt;
 lvcreate -l 08%VG -n worker_root_1 OBS&lt;br /&gt;
 lvcreate -l 01%VG -n worker_swap_1 OBS&lt;br /&gt;
 lvcreate -l 01%VG -n cache OBS&lt;br /&gt;
&lt;br /&gt;
 mkfs.ext3 /dev/OBS/server&lt;br /&gt;
 mkfs.ext3 /dev/OBS/worker_root_1&lt;br /&gt;
 mkfs.ext3 /dev/OBS/cache&lt;br /&gt;
 mkswap /dev/OBS/worker_swap_1&lt;br /&gt;
&lt;br /&gt;
== Adding the appliance disk image to the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Before adding the appliance to the storage settings, we need to move the volume group to sata port 1.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png|600x400px|center|Move to sata1]]&lt;br /&gt;
&lt;br /&gt;
Then we add another disk and select &amp;quot;use existing disk&amp;quot; and point to the downloaded appliance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_add_new_harddisk.png|600x400px|center|Add new harddisk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_12_choose_existing.png|600x400px|center|Choose existing disk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_13_choose_appliance.png|600x400px|center|Choose appliance]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_14_overview_settings.png|600x400px|center|Overview settings]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Important:'''&lt;br /&gt;
'''Make sure, the network interface is using &amp;quot;bridged&amp;quot; mode and is connected to a working network interface with dhcp!'''&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_15_bridged_network.png|600x400px|center|Bridged network]]&lt;br /&gt;
&lt;br /&gt;
== Booting up the appliance ==&lt;br /&gt;
&lt;br /&gt;
Now we're ready to boot up the OBS appliance! Start it and wait for the initial setup to complete (might take some time).&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Startup_appliance.ogv]]&lt;br /&gt;
&lt;br /&gt;
= Using the OBS Appliance =&lt;br /&gt;
&lt;br /&gt;
== Setup interlinks ==&lt;br /&gt;
&lt;br /&gt;
== First package, first build ==&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-04-13T21:29:27Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: /* Using any linux distro and lvm tools */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup of the OBS Appliance=&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
     min               recommended&lt;br /&gt;
 * recent CPU           quadcore/HT     (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
 * &amp;gt;= 4GB RAM             12GB          (the more the better!)&lt;br /&gt;
 * fast disks          fast disks/ssd    &lt;br /&gt;
 * 100GB diskspace      500GB raid1     (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
== Fetching needed files ==&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
=== OBS Appliance ===&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 21:34, 23 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.72-Build1.2-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
=== openSUSE 11.4 live cd (optional) ===&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Creating the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 100 GB (your choice - min is ~20GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3a.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4a.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary_a.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
== Creating the persistent LVM data storage ==&lt;br /&gt;
&lt;br /&gt;
=== Using the openSUSE KDE livecd ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;br /&gt;
&lt;br /&gt;
The LVM disk setup looks like:&lt;br /&gt;
&lt;br /&gt;
  OBS                    -  volume group name&lt;br /&gt;
   |&lt;br /&gt;
   +--- server           -  backend and data store    -  90GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- worker_root_1    -  1st worker root drive     -  8GB&lt;br /&gt;
   +--- worker_swap_1    -  1st worker swap drive     -  1GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- cache            -  package cache             -  1GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Create_partitions4.ogv]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this is done: remove the cd again from the storage settings!&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_10_remove_livecd.png|600x400px|center|Remove livecd]]&lt;br /&gt;
&lt;br /&gt;
=== Using any linux distro and lvm tools ===&lt;br /&gt;
&lt;br /&gt;
Boot up linux in the VM and execute these commands as root (assuming the disk is /dev/sda - adapt to your setup)&lt;br /&gt;
&lt;br /&gt;
 vgcreate OBS /dev/sda&lt;br /&gt;
 lvscan&lt;br /&gt;
 &lt;br /&gt;
 lvcreate -L 90%VG -n server OBS&lt;br /&gt;
 lvcreate -L 8%VG -n worker_root_1 OBS&lt;br /&gt;
 lvcreate -L 1%VG -n worker_swap_1 OBS&lt;br /&gt;
 lvcreate -L 1%VG -n cache OBS&lt;br /&gt;
&lt;br /&gt;
 mkfs.ext3 /dev/OBS/server&lt;br /&gt;
 mkfs.ext3 /dev/OBS/worker_root_1&lt;br /&gt;
 mkfs.ext3 /dev/OBS/cache&lt;br /&gt;
 mkswap /dev/OBS/worker_swap_1&lt;br /&gt;
&lt;br /&gt;
== Adding the appliance disk image to the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Before adding the appliance to the storage settings, we need to move the volume group to sata port 1.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png|600x400px|center|Move to sata1]]&lt;br /&gt;
&lt;br /&gt;
Then we add another disk and select &amp;quot;use existing disk&amp;quot; and point to the downloaded appliance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_add_new_harddisk.png|600x400px|center|Add new harddisk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_12_choose_existing.png|600x400px|center|Choose existing disk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_13_choose_appliance.png|600x400px|center|Choose appliance]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_14_overview_settings.png|600x400px|center|Overview settings]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Important:'''&lt;br /&gt;
'''Make sure, the network interface is using &amp;quot;bridged&amp;quot; mode and is connected to a working network interface with dhcp!'''&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_15_bridged_network.png|600x400px|center|Bridged network]]&lt;br /&gt;
&lt;br /&gt;
== Booting up the appliance ==&lt;br /&gt;
&lt;br /&gt;
Now we're ready to boot up the OBS appliance! Start it and wait for the initial setup to complete (might take some time).&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Startup_appliance.ogv]]&lt;br /&gt;
&lt;br /&gt;
= Using the OBS Appliance =&lt;br /&gt;
&lt;br /&gt;
== Setup interlinks ==&lt;br /&gt;
&lt;br /&gt;
== First package, first build ==&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Create_partitions4.ogv</id>
		<title>File:Create partitions4.ogv</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Create_partitions4.ogv"/>
				<updated>2011-04-13T21:13:39Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-04-13T16:47:19Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: /* Using the openSUSE KDE livecd */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup of the OBS Appliance=&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
     min               recommended&lt;br /&gt;
 * recent CPU           quadcore/HT     (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
 * &amp;gt;= 4GB RAM             12GB          (the more the better!)&lt;br /&gt;
 * fast disks          fast disks/ssd    &lt;br /&gt;
 * 100GB diskspace      500GB raid1     (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
== Fetching needed files ==&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
=== OBS Appliance ===&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 21:34, 23 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.72-Build1.2-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
=== openSUSE 11.4 live cd (optional) ===&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Creating the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 100 GB (your choice - min is ~20GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3a.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4a.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary_a.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
== Creating the persistent LVM data storage ==&lt;br /&gt;
&lt;br /&gt;
=== Using the openSUSE KDE livecd ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;br /&gt;
&lt;br /&gt;
The LVM disk setup looks like:&lt;br /&gt;
&lt;br /&gt;
  OBS                    -  volume group name&lt;br /&gt;
   |&lt;br /&gt;
   +--- server           -  backend and data store    -  90GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- worker_root_1    -  1st worker root drive     -  8GB&lt;br /&gt;
   +--- worker_swap_1    -  1st worker swap drive     -  1GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- cache            -  package cache             -  1GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Create_partitions4.ogv]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this is done: remove the cd again from the storage settings!&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_10_remove_livecd.png|600x400px|center|Remove livecd]]&lt;br /&gt;
&lt;br /&gt;
=== Using any linux distro and lvm tools ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Adding the appliance disk image to the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Before adding the appliance to the storage settings, we need to move the volume group to sata port 1.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png|600x400px|center|Move to sata1]]&lt;br /&gt;
&lt;br /&gt;
Then we add another disk and select &amp;quot;use existing disk&amp;quot; and point to the downloaded appliance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_add_new_harddisk.png|600x400px|center|Add new harddisk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_12_choose_existing.png|600x400px|center|Choose existing disk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_13_choose_appliance.png|600x400px|center|Choose appliance]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_14_overview_settings.png|600x400px|center|Overview settings]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Important:'''&lt;br /&gt;
'''Make sure, the network interface is using &amp;quot;bridged&amp;quot; mode and is connected to a working network interface with dhcp!'''&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_15_bridged_network.png|600x400px|center|Bridged network]]&lt;br /&gt;
&lt;br /&gt;
== Booting up the appliance ==&lt;br /&gt;
&lt;br /&gt;
Now we're ready to boot up the OBS appliance! Start it and wait for the initial setup to complete (might take some time).&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Startup_appliance.ogv]]&lt;br /&gt;
&lt;br /&gt;
= Using the OBS Appliance =&lt;br /&gt;
&lt;br /&gt;
== Setup interlinks ==&lt;br /&gt;
&lt;br /&gt;
== First package, first build ==&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-04-13T16:19:09Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup of the OBS Appliance=&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
     min               recommended&lt;br /&gt;
 * recent CPU           quadcore/HT     (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
 * &amp;gt;= 4GB RAM             12GB          (the more the better!)&lt;br /&gt;
 * fast disks          fast disks/ssd    &lt;br /&gt;
 * 100GB diskspace      500GB raid1     (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
== Fetching needed files ==&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
=== OBS Appliance ===&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 21:34, 23 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.72-Build1.2-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
=== openSUSE 11.4 live cd (optional) ===&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Creating the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 100 GB (your choice - min is ~20GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3a.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4a.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary_a.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
== Creating the persistent LVM data storage ==&lt;br /&gt;
&lt;br /&gt;
=== Using the openSUSE KDE livecd ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;br /&gt;
&lt;br /&gt;
The LVM disk setup looks like:&lt;br /&gt;
&lt;br /&gt;
  OBS                    -  volume group name&lt;br /&gt;
   |&lt;br /&gt;
   +--- server           -  backend and data store    -  20GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- worker_root_1    -  1st worker root drive     -  6GB&lt;br /&gt;
   +--- worker_swap_1    -  1st worker swap drive     -  1GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- cache            -  package cache             -  1GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Create_partitions.ogv]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this is done: remove the cd again from the storage settings!&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_10_remove_livecd.png|600x400px|center|Remove livecd]]&lt;br /&gt;
&lt;br /&gt;
=== Using any linux distro and lvm tools ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Adding the appliance disk image to the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Before adding the appliance to the storage settings, we need to move the volume group to sata port 1.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png|600x400px|center|Move to sata1]]&lt;br /&gt;
&lt;br /&gt;
Then we add another disk and select &amp;quot;use existing disk&amp;quot; and point to the downloaded appliance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_add_new_harddisk.png|600x400px|center|Add new harddisk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_12_choose_existing.png|600x400px|center|Choose existing disk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_13_choose_appliance.png|600x400px|center|Choose appliance]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_14_overview_settings.png|600x400px|center|Overview settings]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Important:'''&lt;br /&gt;
'''Make sure, the network interface is using &amp;quot;bridged&amp;quot; mode and is connected to a working network interface with dhcp!'''&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_15_bridged_network.png|600x400px|center|Bridged network]]&lt;br /&gt;
&lt;br /&gt;
== Booting up the appliance ==&lt;br /&gt;
&lt;br /&gt;
Now we're ready to boot up the OBS appliance! Start it and wait for the initial setup to complete (might take some time).&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Startup_appliance.ogv]]&lt;br /&gt;
&lt;br /&gt;
= Using the OBS Appliance =&lt;br /&gt;
&lt;br /&gt;
== Setup interlinks ==&lt;br /&gt;
&lt;br /&gt;
== First package, first build ==&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_5_appliance_summary_a.png</id>
		<title>File:Obs appliance vbox tutorial 5 appliance summary a.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_5_appliance_summary_a.png"/>
				<updated>2011-04-13T16:18:36Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_4_diskwizard4a.png</id>
		<title>File:Obs appliance vbox tutorial 4 diskwizard4a.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_4_diskwizard4a.png"/>
				<updated>2011-04-13T16:14:22Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_4_diskwizard3a.png</id>
		<title>File:Obs appliance vbox tutorial 4 diskwizard3a.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_4_diskwizard3a.png"/>
				<updated>2011-04-13T16:12:37Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-04-13T15:28:30Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: /* openSUSE 11.4 live cd */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup of the OBS Appliance=&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
     min               recommended&lt;br /&gt;
 * recent CPU           quadcore/HT     (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
 * &amp;gt;= 4GB RAM             12GB          (the more the better!)&lt;br /&gt;
 * fast disks          fast disks/ssd    &lt;br /&gt;
 * 100GB diskspace      500GB raid1     (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
== Fetching needed files ==&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
=== OBS Appliance ===&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 21:34, 23 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.72-Build1.2-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
=== openSUSE 11.4 live cd (optional) ===&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Creating the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~4G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 100 GB (your choice - min is ~15GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
== Creating the persistent LVM data storage ==&lt;br /&gt;
&lt;br /&gt;
=== Using the openSUSE KDE livecd ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;br /&gt;
&lt;br /&gt;
The LVM disk setup looks like:&lt;br /&gt;
&lt;br /&gt;
  OBS                    -  volume group name&lt;br /&gt;
   |&lt;br /&gt;
   +--- server           -  backend and data store    -  20GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- worker_root_1    -  1st worker root drive     -  6GB&lt;br /&gt;
   +--- worker_swap_1    -  1st worker swap drive     -  1GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- cache            -  package cache             -  1GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Create_partitions.ogv]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this is done: remove the cd again from the storage settings!&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_10_remove_livecd.png|600x400px|center|Remove livecd]]&lt;br /&gt;
&lt;br /&gt;
=== Using any linux distro and lvm tools ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Adding the appliance disk image to the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Before adding the appliance to the storage settings, we need to move the volume group to sata port 1.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png|600x400px|center|Move to sata1]]&lt;br /&gt;
&lt;br /&gt;
Then we add another disk and select &amp;quot;use existing disk&amp;quot; and point to the downloaded appliance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_add_new_harddisk.png|600x400px|center|Add new harddisk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_12_choose_existing.png|600x400px|center|Choose existing disk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_13_choose_appliance.png|600x400px|center|Choose appliance]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_14_overview_settings.png|600x400px|center|Overview settings]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Important:'''&lt;br /&gt;
'''Make sure, the network interface is using &amp;quot;bridged&amp;quot; mode and is connected to a working network interface with dhcp!'''&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_15_bridged_network.png|600x400px|center|Bridged network]]&lt;br /&gt;
&lt;br /&gt;
== Booting up the appliance ==&lt;br /&gt;
&lt;br /&gt;
Now we're ready to boot up the OBS appliance! Start it and wait for the initial setup to complete (might take some time).&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Startup_appliance.ogv]]&lt;br /&gt;
&lt;br /&gt;
= Using the OBS Appliance =&lt;br /&gt;
&lt;br /&gt;
== Setup interlinks ==&lt;br /&gt;
&lt;br /&gt;
== First package, first build ==&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-04-13T15:25:56Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup of the OBS Appliance=&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
     min               recommended&lt;br /&gt;
 * recent CPU           quadcore/HT     (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
 * &amp;gt;= 4GB RAM             12GB          (the more the better!)&lt;br /&gt;
 * fast disks          fast disks/ssd    &lt;br /&gt;
 * 100GB diskspace      500GB raid1     (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
== Fetching needed files ==&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
=== OBS Appliance ===&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 21:34, 23 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.72-Build1.2-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
=== openSUSE 11.4 live cd ===&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~4G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 100 GB (your choice - min is ~15GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
== Creating the persistent LVM data storage ==&lt;br /&gt;
&lt;br /&gt;
=== Using the openSUSE KDE livecd ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;br /&gt;
&lt;br /&gt;
The LVM disk setup looks like:&lt;br /&gt;
&lt;br /&gt;
  OBS                    -  volume group name&lt;br /&gt;
   |&lt;br /&gt;
   +--- server           -  backend and data store    -  20GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- worker_root_1    -  1st worker root drive     -  6GB&lt;br /&gt;
   +--- worker_swap_1    -  1st worker swap drive     -  1GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- cache            -  package cache             -  1GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Create_partitions.ogv]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this is done: remove the cd again from the storage settings!&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_10_remove_livecd.png|600x400px|center|Remove livecd]]&lt;br /&gt;
&lt;br /&gt;
=== Using any linux distro and lvm tools ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Adding the appliance disk image to the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Before adding the appliance to the storage settings, we need to move the volume group to sata port 1.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png|600x400px|center|Move to sata1]]&lt;br /&gt;
&lt;br /&gt;
Then we add another disk and select &amp;quot;use existing disk&amp;quot; and point to the downloaded appliance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_add_new_harddisk.png|600x400px|center|Add new harddisk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_12_choose_existing.png|600x400px|center|Choose existing disk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_13_choose_appliance.png|600x400px|center|Choose appliance]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_14_overview_settings.png|600x400px|center|Overview settings]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Important:'''&lt;br /&gt;
'''Make sure, the network interface is using &amp;quot;bridged&amp;quot; mode and is connected to a working network interface with dhcp!'''&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_15_bridged_network.png|600x400px|center|Bridged network]]&lt;br /&gt;
&lt;br /&gt;
== Booting up the appliance ==&lt;br /&gt;
&lt;br /&gt;
Now we're ready to boot up the OBS appliance! Start it and wait for the initial setup to complete (might take some time).&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Startup_appliance.ogv]]&lt;br /&gt;
&lt;br /&gt;
= Using the OBS Appliance =&lt;br /&gt;
&lt;br /&gt;
== Setup interlinks ==&lt;br /&gt;
&lt;br /&gt;
== First package, first build ==&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-04-13T15:25:18Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup of the OBS Appliance=&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
     min               recommended&lt;br /&gt;
* recent CPU           quadcore/HT     (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
* &amp;gt;= 4GB RAM             12GB          (the more the better!)&lt;br /&gt;
* fast disks           fast disks/ssd    &lt;br /&gt;
* 100GB diskspace       500GB raid1    (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
== Fetching needed files ==&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
=== OBS Appliance ===&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 21:34, 23 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.72-Build1.2-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
=== openSUSE 11.4 live cd ===&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~4G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 100 GB (your choice - min is ~15GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
== Creating the persistent LVM data storage ==&lt;br /&gt;
&lt;br /&gt;
=== Using the openSUSE KDE livecd ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;br /&gt;
&lt;br /&gt;
The LVM disk setup looks like:&lt;br /&gt;
&lt;br /&gt;
  OBS                    -  volume group name&lt;br /&gt;
   |&lt;br /&gt;
   +--- server           -  backend and data store    -  20GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- worker_root_1    -  1st worker root drive     -  6GB&lt;br /&gt;
   +--- worker_swap_1    -  1st worker swap drive     -  1GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- cache            -  package cache             -  1GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Create_partitions.ogv]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this is done: remove the cd again from the storage settings!&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_10_remove_livecd.png|600x400px|center|Remove livecd]]&lt;br /&gt;
&lt;br /&gt;
=== Using any linux distro and lvm tools ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Adding the appliance disk image to the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Before adding the appliance to the storage settings, we need to move the volume group to sata port 1.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png|600x400px|center|Move to sata1]]&lt;br /&gt;
&lt;br /&gt;
Then we add another disk and select &amp;quot;use existing disk&amp;quot; and point to the downloaded appliance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_add_new_harddisk.png|600x400px|center|Add new harddisk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_12_choose_existing.png|600x400px|center|Choose existing disk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_13_choose_appliance.png|600x400px|center|Choose appliance]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_14_overview_settings.png|600x400px|center|Overview settings]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Important:'''&lt;br /&gt;
'''Make sure, the network interface is using &amp;quot;bridged&amp;quot; mode and is connected to a working network interface with dhcp!'''&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_15_bridged_network.png|600x400px|center|Bridged network]]&lt;br /&gt;
&lt;br /&gt;
== Booting up the appliance ==&lt;br /&gt;
&lt;br /&gt;
Now we're ready to boot up the OBS appliance! Start it and wait for the initial setup to complete (might take some time).&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Startup_appliance.ogv]]&lt;br /&gt;
&lt;br /&gt;
= Using the OBS Appliance =&lt;br /&gt;
&lt;br /&gt;
== Setup interlinks ==&lt;br /&gt;
&lt;br /&gt;
== First package, first build ==&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Create_partitions.ogv</id>
		<title>File:Create partitions.ogv</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Create_partitions.ogv"/>
				<updated>2011-03-29T21:11:40Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: uploaded a new version of &amp;quot;File:Create partitions.ogv&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-03-23T21:34:58Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: /* OBS Appliance */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup of the OBS Appliance=&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
* recent CPU                  (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
* &amp;gt;= 4GB RAM                  (the more the better!)&lt;br /&gt;
* fast disks&lt;br /&gt;
* 30GB diskspace              (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
== Fetching needed files ==&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
=== OBS Appliance ===&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 21:34, 23 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.60-Build17.4-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
=== openSUSE 11.4 live cd ===&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 28 GB (your choice - min is ~15GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
== Creating the persistent LVM data storage ==&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;br /&gt;
&lt;br /&gt;
The LVM disk setup looks like:&lt;br /&gt;
&lt;br /&gt;
  OBS                    -  volume group name&lt;br /&gt;
   |&lt;br /&gt;
   +--- server           -  backend and data store    -  20GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- worker_root_1    -  1st worker root drive     -  6GB&lt;br /&gt;
   +--- worker_swap_1    -  1st worker swap drive     -  1GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- cache            -  package cache             -  1GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Create_partitions.ogv]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this is done: remove the cd again from the storage settings!&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_10_remove_livecd.png|600x400px|center|Remove livecd]]&lt;br /&gt;
&lt;br /&gt;
== Adding the appliance disk image to the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Before adding the appliance to the storage settings, we need to move the volume group to sata port 1.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png|600x400px|center|Move to sata1]]&lt;br /&gt;
&lt;br /&gt;
Then we add another disk and select &amp;quot;use existing disk&amp;quot; and point to the downloaded appliance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_add_new_harddisk.png|600x400px|center|Add new harddisk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_12_choose_existing.png|600x400px|center|Choose existing disk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_13_choose_appliance.png|600x400px|center|Choose appliance]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_14_overview_settings.png|600x400px|center|Overview settings]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Important:'''&lt;br /&gt;
'''Make sure, the network interface is using &amp;quot;bridged&amp;quot; mode and is connected to a working network interface with dhcp!'''&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_15_bridged_network.png|600x400px|center|Bridged network]]&lt;br /&gt;
&lt;br /&gt;
== Booting up the appliance ==&lt;br /&gt;
&lt;br /&gt;
Now we're ready to boot up the OBS appliance! Start it and wait for the initial setup to complete (might take some time).&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Startup_appliance.ogv]]&lt;br /&gt;
&lt;br /&gt;
= Using the OBS Appliance =&lt;br /&gt;
&lt;br /&gt;
== Setup interlinks ==&lt;br /&gt;
&lt;br /&gt;
== First package, first build ==&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-03-23T21:33:55Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup of the OBS Appliance=&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
* recent CPU                  (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
* &amp;gt;= 4GB RAM                  (the more the better!)&lt;br /&gt;
* fast disks&lt;br /&gt;
* 30GB diskspace              (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
== Fetching needed files ==&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
=== OBS Appliance ===&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 14:57, 21 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.60-Build17.1-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
=== openSUSE 11.4 live cd ===&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 28 GB (your choice - min is ~15GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
== Creating the persistent LVM data storage ==&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;br /&gt;
&lt;br /&gt;
The LVM disk setup looks like:&lt;br /&gt;
&lt;br /&gt;
  OBS                    -  volume group name&lt;br /&gt;
   |&lt;br /&gt;
   +--- server           -  backend and data store    -  20GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- worker_root_1    -  1st worker root drive     -  6GB&lt;br /&gt;
   +--- worker_swap_1    -  1st worker swap drive     -  1GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- cache            -  package cache             -  1GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Create_partitions.ogv]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this is done: remove the cd again from the storage settings!&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_10_remove_livecd.png|600x400px|center|Remove livecd]]&lt;br /&gt;
&lt;br /&gt;
== Adding the appliance disk image to the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Before adding the appliance to the storage settings, we need to move the volume group to sata port 1.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png|600x400px|center|Move to sata1]]&lt;br /&gt;
&lt;br /&gt;
Then we add another disk and select &amp;quot;use existing disk&amp;quot; and point to the downloaded appliance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_add_new_harddisk.png|600x400px|center|Add new harddisk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_12_choose_existing.png|600x400px|center|Choose existing disk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_13_choose_appliance.png|600x400px|center|Choose appliance]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_14_overview_settings.png|600x400px|center|Overview settings]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Important:'''&lt;br /&gt;
'''Make sure, the network interface is using &amp;quot;bridged&amp;quot; mode and is connected to a working network interface with dhcp!'''&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_15_bridged_network.png|600x400px|center|Bridged network]]&lt;br /&gt;
&lt;br /&gt;
== Booting up the appliance ==&lt;br /&gt;
&lt;br /&gt;
Now we're ready to boot up the OBS appliance! Start it and wait for the initial setup to complete (might take some time).&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Startup_appliance.ogv]]&lt;br /&gt;
&lt;br /&gt;
= Using the OBS Appliance =&lt;br /&gt;
&lt;br /&gt;
== Setup interlinks ==&lt;br /&gt;
&lt;br /&gt;
== First package, first build ==&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-03-23T21:33:27Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup of the OBS Appliance=&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
* recent CPU                  (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
* &amp;gt;= 4GB RAM                  (the more the better!)&lt;br /&gt;
* fast disks&lt;br /&gt;
* 30GB diskspace              (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
== Fetching needed files ==&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
=== OBS Appliance ===&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 14:57, 21 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.60-Build17.1-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
=== openSUSE 11.4 live cd ===&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 28 GB (your choice - min is ~15GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
== Creating the persistent LVM data storage ==&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;br /&gt;
&lt;br /&gt;
The LVM disk setup looks like:&lt;br /&gt;
&lt;br /&gt;
  OBS                    -  volume group name&lt;br /&gt;
   |&lt;br /&gt;
   +--- server           -  backend and data store    -  20GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- worker_root_1    -  1st worker root drive     -  6GB&lt;br /&gt;
   +--- worker_swap_1    -  1st worker swap drive     -  1GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- cache            -  package cache             -  1GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Create_partitions.flv]]   or   [[File:Create_partitions.ogv]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this is done: remove the cd again from the storage settings!&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_10_remove_livecd.png|600x400px|center|Remove livecd]]&lt;br /&gt;
&lt;br /&gt;
== Adding the appliance disk image to the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Before adding the appliance to the storage settings, we need to move the volume group to sata port 1.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png|600x400px|center|Move to sata1]]&lt;br /&gt;
&lt;br /&gt;
Then we add another disk and select &amp;quot;use existing disk&amp;quot; and point to the downloaded appliance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_add_new_harddisk.png|600x400px|center|Add new harddisk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_12_choose_existing.png|600x400px|center|Choose existing disk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_13_choose_appliance.png|600x400px|center|Choose appliance]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_14_overview_settings.png|600x400px|center|Overview settings]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Important:'''&lt;br /&gt;
'''Make sure, the network interface is using &amp;quot;bridged&amp;quot; mode and is connected to a working network interface with dhcp!'''&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_15_bridged_network.png|600x400px|center|Bridged network]]&lt;br /&gt;
&lt;br /&gt;
== Booting up the appliance ==&lt;br /&gt;
&lt;br /&gt;
Now we're ready to boot up the OBS appliance! Start it and wait for the initial setup to complete (might take some time).&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Startup_appliance.ogv]]&lt;br /&gt;
&lt;br /&gt;
= Using the OBS Appliance =&lt;br /&gt;
&lt;br /&gt;
== Setup interlinks ==&lt;br /&gt;
&lt;br /&gt;
== First package, first build ==&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-03-23T21:31:30Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup of the OBS Appliance=&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
* recent CPU                  (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
* &amp;gt;= 4GB RAM                  (the more the better!)&lt;br /&gt;
* fast disks&lt;br /&gt;
* 30GB diskspace              (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
== Fetching needed files ==&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
=== OBS Appliance ===&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 14:57, 21 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.60-Build17.1-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
=== openSUSE 11.4 live cd ===&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 28 GB (your choice - min is ~15GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
== Creating the persistent LVM data storage ==&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;br /&gt;
&lt;br /&gt;
The LVM disk setup looks like:&lt;br /&gt;
&lt;br /&gt;
  OBS                    -  volume group name&lt;br /&gt;
   |&lt;br /&gt;
   +--- server           -  backend and data store    -  20GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- worker_root_1    -  1st worker root drive     -  6GB&lt;br /&gt;
   +--- worker_swap_1    -  1st worker swap drive     -  1GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- cache            -  package cache             -  1GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Create_partitions.flv]]   or   [[File:Create_partitions.ogv]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this is done: remove the cd again from the storage settings!&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_10_remove_livecd.png|600x400px|center|Remove livecd]]&lt;br /&gt;
&lt;br /&gt;
== Adding the appliance disk image to the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Before adding the appliance to the storage settings, we need to move the volume group to sata port 1.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png|600x400px|center|Move to sata1]]&lt;br /&gt;
&lt;br /&gt;
Then we add another disk and select &amp;quot;use existing disk&amp;quot; and point to the downloaded appliance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_add_new_harddisk.png|600x400px|center|Add new harddisk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_12_choose_existing.png|600x400px|center|Choose existing disk]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_13_choose_appliance.png|600x400px|center|Choose appliance]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_14_overview_settings.png|600x400px|center|Overview settings]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Important:'''&lt;br /&gt;
'''Make sure, the network interface is using &amp;quot;bridged&amp;quot; mode and is connected to a working network interface with dhcp!'''&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_15_bridged_network.png|600x400px|center|Bridged network]]&lt;br /&gt;
&lt;br /&gt;
== Booting up the appliance ==&lt;br /&gt;
&lt;br /&gt;
Now we're ready to boot up the OBS appliance! Start it and wait for the initial setup to complete (might take some time).&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Startup_appliance.ogv]]&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Startup_appliance.ogv</id>
		<title>File:Startup appliance.ogv</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Startup_appliance.ogv"/>
				<updated>2011-03-23T21:31:28Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_15_bridged_network.png</id>
		<title>File:Obs appliance vbox tutorial 15 bridged network.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_15_bridged_network.png"/>
				<updated>2011-03-23T21:28:15Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_14_overview_settings.png</id>
		<title>File:Obs appliance vbox tutorial 14 overview settings.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_14_overview_settings.png"/>
				<updated>2011-03-23T21:25:36Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_13_choose_appliance.png</id>
		<title>File:Obs appliance vbox tutorial 13 choose appliance.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_13_choose_appliance.png"/>
				<updated>2011-03-23T20:59:23Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_12_choose_existing.png</id>
		<title>File:Obs appliance vbox tutorial 12 choose existing.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_12_choose_existing.png"/>
				<updated>2011-03-23T20:57:56Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_11_add_new_harddisk.png</id>
		<title>File:Obs appliance vbox tutorial 11 add new harddisk.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_11_add_new_harddisk.png"/>
				<updated>2011-03-23T20:57:23Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-03-23T20:48:01Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup of the OBS Appliance=&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
* recent CPU                  (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
* &amp;gt;= 4GB RAM                  (the more the better!)&lt;br /&gt;
* fast disks&lt;br /&gt;
* 30GB diskspace              (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
== Fetching needed files ==&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
=== VirtualBox ===&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
=== OBS Appliance ===&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 14:57, 21 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.60-Build17.1-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
=== openSUSE 11.4 live cd ===&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 28 GB (your choice - min is ~15GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
== Creating the persistent LVM data storage ==&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;br /&gt;
&lt;br /&gt;
The LVM disk setup looks like:&lt;br /&gt;
&lt;br /&gt;
  OBS                    -  volume group name&lt;br /&gt;
   |&lt;br /&gt;
   +--- server           -  backend and data store    -  20GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- worker_root_1    -  1st worker root drive     -  6GB&lt;br /&gt;
   +--- worker_swap_1    -  1st worker swap drive     -  1GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- cache            -  package cache             -  1GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Video: [[File:Create_partitions.flv]]   or   [[File:Create_partitions.ogv]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this is done: remove the cd again from the storage settings!&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_10_remove_livecd.png|600x400px|center|Remove livecd]]&lt;br /&gt;
&lt;br /&gt;
== Adding the appliance disk image to the virtual machine ==&lt;br /&gt;
&lt;br /&gt;
Before adding the appliance to the storage settings, we need to move the volume group to sata port 1.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png|600x400px|center|Move to sata1]]&lt;br /&gt;
&lt;br /&gt;
Then we add another disk and select &amp;quot;use existing disk&amp;quot; and point to the downloaded appliance.&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png</id>
		<title>File:Obs appliance vbox tutorial 11 move storage to sataport1.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_11_move_storage_to_sataport1.png"/>
				<updated>2011-03-23T20:44:27Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_10_remove_livecd.png</id>
		<title>File:Obs appliance vbox tutorial 10 remove livecd.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_10_remove_livecd.png"/>
				<updated>2011-03-23T20:41:11Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Create_partitions.ogv</id>
		<title>File:Create partitions.ogv</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Create_partitions.ogv"/>
				<updated>2011-03-23T20:30:50Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: uploaded a new version of &amp;quot;File:Create partitions.ogv&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-03-23T20:17:14Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Using the OBS Appliance==&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
* recent CPU                  (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
* &amp;gt;= 4GB RAM                  (the more the better!)&lt;br /&gt;
* fast disks&lt;br /&gt;
* 30GB diskspace              (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
=== Fetching needed files ===&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
==== VirtualBox ====&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
==== OBS Appliance ====&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 14:57, 21 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.60-Build17.1-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
==== openSUSE 11.4 live cd ====&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating the virtual machine ===&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 28 GB (your choice - min is ~15GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
=== Creating the persistent LVM data storage ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;br /&gt;
&lt;br /&gt;
The LVM disk setup looks like:&lt;br /&gt;
&lt;br /&gt;
  OBS                    -  volume group name&lt;br /&gt;
   |&lt;br /&gt;
   +--- server           -  backend and data store    -  20GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- worker_root_1    -  1st worker root drive     -  6GB&lt;br /&gt;
   +--- worker_swap_1    -  1st worker swap drive     -  1GB&lt;br /&gt;
   |&lt;br /&gt;
   +--- cache            -  package cache             -  1GB&lt;br /&gt;
&lt;br /&gt;
Video: [[File:Create_partitions.flv]]   or   [[File:Create_partitions.ogv]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this is done: remove the cd again from the storage settings!&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Create_partitions.ogv</id>
		<title>File:Create partitions.ogv</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Create_partitions.ogv"/>
				<updated>2011-03-23T20:13:19Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Create_partitions.ogg</id>
		<title>File:Create partitions.ogg</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Create_partitions.ogg"/>
				<updated>2011-03-23T20:09:45Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Create_partitions.flv</id>
		<title>File:Create partitions.flv</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Create_partitions.flv"/>
				<updated>2011-03-23T20:01:07Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-03-23T15:59:06Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Using the OBS Appliance==&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup-size and allows migration to enterprise-size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
* recent CPU                  (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
* &amp;gt;= 4GB RAM                  (the more the better!)&lt;br /&gt;
* fast disks&lt;br /&gt;
* 30GB diskspace              (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required for appliance!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
=== Fetching needed files ===&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
==== VirtualBox ====&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At the time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
==== OBS Appliance ====&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 14:57, 21 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.60-Build17.1-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
==== openSUSE 11.4 live cd ====&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating the virtual machine ===&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 28 GB (your choice - min is ~15GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
=== Creating the persistent LVM data storage ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are ready to start up the appliance and configure the disk - please boot up the appliance now.&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-03-21T16:22:52Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Using the OBS Appliance==&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup size and allows migration to enterprize size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
* recent CPU                  (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
* &amp;gt;= 4GB RAM                  (the more the better!)&lt;br /&gt;
* fast disks&lt;br /&gt;
* 30GB diskspace              (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
=== Fetching needed files ===&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
==== VirtualBox ====&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
==== OBS Appliance ====&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 14:57, 21 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.60-Build17.1-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
==== openSUSE 11.4 live cd ====&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating the virtual machine ===&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 28 GB (your choice - min is ~15GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
=== Creating the persistent LVM data storage ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;br /&gt;
&lt;br /&gt;
To do this, we add temporarily the downloaded live-cd to the appliance.&lt;br /&gt;
&lt;br /&gt;
Edit the storage settings and select the downloaded iso file located in ~/obs-appliance-downloads/openSUSE-11.4-KDE-LiveCD-i686.iso .&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png|600x400px|center|Storage setting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png|600x400px|center|Storage settings edited]]&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png</id>
		<title>File:Obs appliance vbox tutorial 8 edit cdrom settings done.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_8_edit_cdrom_settings_done.png"/>
				<updated>2011-03-21T16:19:08Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png</id>
		<title>File:Obs appliance vbox tutorial 7 edit cdrom settings.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_7_edit_cdrom_settings.png"/>
				<updated>2011-03-21T16:18:55Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-03-21T16:05:56Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Using the OBS Appliance==&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup size and allows migration to enterprize size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
* recent CPU                  (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
* &amp;gt;= 4GB RAM                  (the more the better!)&lt;br /&gt;
* fast disks&lt;br /&gt;
* 30GB diskspace              (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
=== Fetching needed files ===&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
==== VirtualBox ====&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
==== OBS Appliance ====&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 14:57, 21 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.60-Build17.1-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
==== openSUSE 11.4 live cd ====&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating the virtual machine ===&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 28 GB (your choice - min is ~15GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish. Your new appliance is now ready. &lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_6_appliance_ready.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
In the next step, we'll boot up once into the live system to create the persistent storage partitions.&lt;br /&gt;
&lt;br /&gt;
=== Creating the persistent LVM data storage ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_6_appliance_ready.png</id>
		<title>File:Obs appliance vbox tutorial 6 appliance ready.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_6_appliance_ready.png"/>
				<updated>2011-03-21T16:04:21Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-03-21T16:02:02Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Using the OBS Appliance==&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup size and allows migration to enterprize size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
* recent CPU                  (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
* &amp;gt;= 4GB RAM                  (the more the better!)&lt;br /&gt;
* fast disks&lt;br /&gt;
* 30GB diskspace              (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
=== Fetching needed files ===&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
==== VirtualBox ====&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
==== OBS Appliance ====&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 14:57, 21 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.60-Build17.1-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
==== openSUSE 11.4 live cd ====&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating the virtual machine ===&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) - it should work with 2G ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot;. Now, select to create a new disk:&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard4.png|600x400px|center|VirtualBox New Appliance wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; - this will open a new wizard to create a disk image:&lt;br /&gt;
&lt;br /&gt;
We'll use a &amp;quot;Dynamically expanding storage&amp;quot; sized 28 GB (your choice - min is ~15GB).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard1.png|600x400px|center|VirtualBox New disk wizard page 1]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard2.png|600x400px|center|VirtualBox New disk wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard3.png|600x400px|center|VirtualBox New disk wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_4_diskwizard4.png|600x400px|center|VirtualBox New disk wizard page 4]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Finish&amp;quot; will take us back to the first wizard which holds the summary of our new appliance:&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_5_appliance_summary.png|600x400px|center|VirtualBox New Appliance Summary]]&lt;br /&gt;
&lt;br /&gt;
Click on Finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating the persistent LVM data storage ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_5_appliance_summary.png</id>
		<title>File:Obs appliance vbox tutorial 5 appliance summary.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_5_appliance_summary.png"/>
				<updated>2011-03-21T16:01:04Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_4_diskwizard4.png</id>
		<title>File:Obs appliance vbox tutorial 4 diskwizard4.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_4_diskwizard4.png"/>
				<updated>2011-03-21T15:58:41Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_4_diskwizard3.png</id>
		<title>File:Obs appliance vbox tutorial 4 diskwizard3.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_4_diskwizard3.png"/>
				<updated>2011-03-21T15:58:31Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_4_diskwizard2.png</id>
		<title>File:Obs appliance vbox tutorial 4 diskwizard2.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_4_diskwizard2.png"/>
				<updated>2011-03-21T15:58:19Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_4_diskwizard1.png</id>
		<title>File:Obs appliance vbox tutorial 4 diskwizard1.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_4_diskwizard1.png"/>
				<updated>2011-03-21T15:58:06Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_3_wizard4.png</id>
		<title>File:Obs appliance vbox tutorial 3 wizard4.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_3_wizard4.png"/>
				<updated>2011-03-21T15:52:56Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-03-21T15:45:14Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Using the OBS Appliance==&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup size and allows migration to enterprize size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
* recent CPU                  (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
* &amp;gt;= 4GB RAM                  (the more the better!)&lt;br /&gt;
* fast disks&lt;br /&gt;
* 30GB diskspace              (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
=== Fetching needed files ===&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
==== VirtualBox ====&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
==== OBS Appliance ====&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 14:57, 21 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.60-Build17.1-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
==== openSUSE 11.4 live cd ====&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating the virtual machine ===&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|600x400px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|600x400px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|600x400px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and assign ~3G RAM (as always, more is better ;) ).&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard3.png|600x400px|center|VirtualBox New Appliance wizard page 3]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating the persistent LVM data storage ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_3_wizard3.png</id>
		<title>File:Obs appliance vbox tutorial 3 wizard3.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_3_wizard3.png"/>
				<updated>2011-03-21T15:43:43Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/User:Jsmoeller</id>
		<title>User:Jsmoeller</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/User:Jsmoeller"/>
				<updated>2011-03-21T15:40:59Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Using the OBS Appliance==&lt;br /&gt;
&lt;br /&gt;
The OBS Appliance provides an easy and scalable way to start using OBS. This setup scales from workstation only to workgroup size and allows migration to enterprize size lateron.&lt;br /&gt;
&lt;br /&gt;
Prerequisites: &lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
* recent CPU                  (with vmx/smt , 64bit is plus but currently no requirement)&lt;br /&gt;
* &amp;gt;= 4GB RAM                  (the more the better!)&lt;br /&gt;
* fast disks&lt;br /&gt;
* 30GB diskspace              (initial footprint is &amp;lt; 4GB , but scales depending on use)&lt;br /&gt;
 &lt;br /&gt;
Software&lt;br /&gt;
* VirtualBox                                              (or VMware / Qemu , but instructions are VirtualBox-centric atm)&lt;br /&gt;
* OBS Appliance                                           (will be downloaded in the tutorial)&lt;br /&gt;
* OBS Data storage disk with LVM volumes                  (we'll setup, this is YOUR data store)&lt;br /&gt;
* openSUSE 11.4 live cd                                   (for LVM volume setup)&lt;br /&gt;
* network with dhcp                                       (required!)&lt;br /&gt;
* network with dns-server and dhcp client resolution      (option)&lt;br /&gt;
&lt;br /&gt;
The steps on this tutorial were collected on an openSUSE 11.3 system.&lt;br /&gt;
&lt;br /&gt;
=== Fetching needed files ===&lt;br /&gt;
&lt;br /&gt;
Lets create a folder &amp;quot;obs-appliance-downloads&amp;quot;.&lt;br /&gt;
 mkdir -p ~/obs-appliance-downloads&lt;br /&gt;
 cd ~/obs-appliance-downloads&lt;br /&gt;
&lt;br /&gt;
==== VirtualBox ====&lt;br /&gt;
&lt;br /&gt;
Install VirtualBox (as root) for your Distribution from http://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
or use your package manager to install VirtualBox. At time of writing, VirtualBox 4.0.4 was used.&lt;br /&gt;
&lt;br /&gt;
==== OBS Appliance ====&lt;br /&gt;
&lt;br /&gt;
The openSUSE Build Service Appliance is developed and hosted by the openSUSE project.&lt;br /&gt;
We use the &amp;quot;vmx.tar.bz2&amp;quot; image.&lt;br /&gt;
&lt;br /&gt;
The latest stable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/images/&lt;br /&gt;
&lt;br /&gt;
The latest unstable version is available here:&lt;br /&gt;
&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the time of writing (--[[User:Jsmoeller|Jsmoeller]] 14:57, 21 March 2011 (UTC)) we used:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/images/obs-server.x86_64-2.2.60-Build17.1-vmx.tar.bz2&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 # ATTENTION !  link changes !&lt;br /&gt;
&lt;br /&gt;
==== openSUSE 11.4 live cd ====&lt;br /&gt;
&lt;br /&gt;
For the initial setup of the data storage LVM disk, we use openSUSE 11.4 with yast2 . If you know how to do this with $YOUR_DISTRO, you can replicate the steps.&lt;br /&gt;
The livecd can be downloaded here:&lt;br /&gt;
 wget -nd &amp;quot;http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating the virtual machine ===&lt;br /&gt;
&lt;br /&gt;
Make sure the vboxdrv is loaded and all needed components installed for VirtualBox to run!&lt;br /&gt;
&lt;br /&gt;
Fire up VirtualBox:&lt;br /&gt;
 VirtualBox&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_1_fire_up_virtualbox.png|800x600px|center|VirtualBox welcome screen]]&lt;br /&gt;
&lt;br /&gt;
Create a new Appliance (click &amp;quot;New&amp;quot; on top left)&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_2_new_appliance.png|800x600px|center|VirtualBox New Appliance wizard]]&lt;br /&gt;
&lt;br /&gt;
Click on &amp;quot;Next&amp;quot; and fill in the name of the new appliance. OS is &amp;quot;Linux&amp;quot; and Version is &amp;quot;openSUSE(64 bit)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: We'll use 64bit, but currently for MeeGo the 32bit Appliance would work, too.&lt;br /&gt;
&lt;br /&gt;
[[File:Obs_appliance_vbox_tutorial_3_wizard1.png|800x600px|center|VirtualBox New Appliance wizard page 2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating the persistent LVM data storage ===&lt;br /&gt;
&lt;br /&gt;
First step is to create your persistent data storage which is hosted on a set of logical volumes of a &amp;quot;OBS&amp;quot; volume group.&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_3_wizard1.png</id>
		<title>File:Obs appliance vbox tutorial 3 wizard1.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_3_wizard1.png"/>
				<updated>2011-03-21T15:40:31Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	<entry>
		<id>http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_2_new_appliance.png</id>
		<title>File:Obs appliance vbox tutorial 2 new appliance.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.meego.com/File:Obs_appliance_vbox_tutorial_2_new_appliance.png"/>
				<updated>2011-03-21T15:35:06Z</updated>
		
		<summary type="html">&lt;p&gt;Jsmoeller: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jsmoeller</name></author>	</entry>

	</feed>