In order to create a COmanage VM, you must have a 32bit processor, 1 gig of RAM, and 4GB of disk space.
COmanage appliances are built using Stanford's internal Debian-built system. For those outside of Stanford who wish to duplicate this process, a base Debian Lenny system will likely be equivalent.
For those using Stanford's internal build servers, begin with the following four steps:
Log in on the console as root, and create /etc/apt/apt.conf.d/20comanage, containing this:
APT::Install-Recommends "false"; APT::Install-Suggests "false"; |
Edit /etc/apt/sources.list to match this:
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free deb http://security.debian.org/ lenny/updates main contrib non-free deb-src http://security.debian.org/ lenny/updates main contrib non-free # the repository for COmanage test packages deb http://exodus.stanford.edu/comanage stable main |
Update the local APT cache:
# aptitude update |
Install the COmanage repository keyring (select "No Configuration" when prompted):
# aptitude install comanage-keyring |
Install Sun's Java packages:
# aptitude install sun-java5-{bin,jdk,jre} |
(Accept the Sun license when prompted)
Remove the user created during the install, if any:
# userdel USER |
This is the point where the VM is ready for the COmanage packages, so you might want to create a snapshot. |
# aptitude install co-setup co-base co-grouper co-grouper-cli co-ldappc |
(Just skip through the slapd configuration; when prompted, skip the grouper and ldappc configuration too)
After the installation completes, you should see the COmanage info on the console:
Perform the following cleanups:
Power off the VM and export: From the VI Client, select the VM and then select File -> Virtual Appliance -> Export. Then bring in to VMware Converter to convert from OVF to VMX.
This is what I did to then take the half working VM and make it into a distributable alpha: