Difference between revisions of "Build a virtual appliance 0.6"

From Archivematica
Jump to navigation Jump to search
(Created page with '==Building Archivematica== first check out the source <pre><code> </code></pre>')
 
Line 1: Line 1:
 
==Building Archivematica==
 
==Building Archivematica==
first check out the source
+
===Requirements===
<pre><code> </code></pre>
+
*Ubuntu 9.04
 +
*vmbuilder requires KVM which requires a virt compatible processor however, you do not need virt support for vmbuilder
 +
*At least 2GB of ram
 +
 
 +
===Pre Build===
 +
1. check out the source
 +
<pre>svn checkout http://archivematica.googlecode.com/svn/trunk/ archivematica-read-only</pre>
 +
 
 +
2. Modify archivematica-read-only/trunk/archivematica.cfg to resemble your file system  IE:
 +
<pre> execscript = /home/demo/trunk/archivematica.sh </pre>
 +
should be
 +
<pre> execscript = /home/yourhomefolder/archivematica-read-only/trunk/archivematica.sh </pre>
 +
 
 +
3. Build archivematica for your hosts virtualization platform. All the following commands will build the same virtual machine.. each for a different platform
 +
<pre>
 +
sudo vmbuilder vmserver ubuntu -c archivematica.cfg
 +
sudo vmbuilder xen ubuntu -c archivematica.cfg
 +
sudo vmbuilder kvm ubuntu -c archivematica.cfg
 +
</pre>
 +
 
 +
===Post Build===
 +
1. boot your virtual machine.  For KVM its under ubuntu-kvm, for other examples please see [[Virtual_appliance_instructions]].
 +
<pre>kvm -m 528 -smp 1 -drive file=disk0.qcow2 </pre>
 +
 
 +
2. From inside the machine open a terminal and run the following (password is demo)
 +
<pre>
 +
sudo aptitude install openjdk-6-jre
 +
incrontab /etc/incron.tab
 +
mysqladmin create qubit
 +
</pre>
 +
 
 +
3. Open firefox and navigate to http://localhost, go through the qubit installer for the database settings all defaults will work.
 +
 
 +
4. Aside from some icon placement you now have a fully functional version of archivematica!

Revision as of 17:58, 14 January 2010

Building Archivematica

Requirements

  • Ubuntu 9.04
  • vmbuilder requires KVM which requires a virt compatible processor however, you do not need virt support for vmbuilder
  • At least 2GB of ram

Pre Build

1. check out the source

svn checkout http://archivematica.googlecode.com/svn/trunk/ archivematica-read-only

2. Modify archivematica-read-only/trunk/archivematica.cfg to resemble your file system IE:

 execscript = /home/demo/trunk/archivematica.sh 

should be

 execscript = /home/yourhomefolder/archivematica-read-only/trunk/archivematica.sh 

3. Build archivematica for your hosts virtualization platform. All the following commands will build the same virtual machine.. each for a different platform

sudo vmbuilder vmserver ubuntu -c archivematica.cfg
sudo vmbuilder xen ubuntu -c archivematica.cfg
sudo vmbuilder kvm ubuntu -c archivematica.cfg

Post Build

1. boot your virtual machine. For KVM its under ubuntu-kvm, for other examples please see Virtual_appliance_instructions.

kvm -m 528 -smp 1 -drive file=disk0.qcow2 

2. From inside the machine open a terminal and run the following (password is demo)

sudo aptitude install openjdk-6-jre
incrontab /etc/incron.tab
mysqladmin create qubit

3. Open firefox and navigate to http://localhost, go through the qubit installer for the database settings all defaults will work.

4. Aside from some icon placement you now have a fully functional version of archivematica!