Alfrescovm

Using the Image
http://ip-of-vm:8080/alfresco/

http://ip-of-vm:8080/share/

alfresco login
username: admin

password: admin

ubuntu shell
username: demo

password: demo

VirtualBox
turn on host only adapter under virtual machine settings

run ifconfig in ubuntu shell to find out IP

KVM
when booting the image use the following flag --redir tcp:8080::8080 using this alfresco will be available at http://localhost:8080/alfresco, http://localhost:8080/share

Setting up Vmbuilder
The following files must be created

alfrescovm.cfg
apt-cacher-ng is setup to run on port 9999 in order to save bandwidth [DEFAULT] arch = i386 user = demo name = demo pass = demo tmpfs = - execscript = /home/freeborn/projects/alfrescovm/prebuild.sh firstboot = /home/freeborn/projects/alfrescovm/postbuild.sh

[ubuntu] mirror = http://127.0.0.1:9999/ubuntu suite = jaunty flavour = generic

prebuild.sh
copy's our sources.list over to the vm cp -rf sources.list $1/etc/apt/sources.list chroot $1 aptitude update chroot $1 aptitude -y --download-only install alfresco-community
 * 1) !/bin/bash

postbuild.sh
installs alfresco-community on first boot
 * 1) !/bin/bash

aptitude update aptitude -y install alfresco-community

echo "CONGRATS! alfresco is now available @ http://yourip:8080/alfresco/"

sources.list
the sources.list must include the canonical partners repository deb http://us.archive.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted universe multiverse deb http://archive.canonical.com/ubuntu jaunty partner deb-src http://archive.canonical.com/ubuntu jaunty partner

Running vmbuilder
first build the base vm sudo vmbuilder -c alfresco.cfg kvm ubuntu sudo vmbuilder -c alfresco.cfg vmserver ubuntu sudo vmbuilder -c alfresco.cfg xen ubuntu