L-DOM Account Manager - Quick Install

Quick Install:

Your system must have a pentium class CPU with a minimum of 256MB of ram and a 128MB Compact Flash card or ide hard disk. SATA will also work if the bios attaches it as /dev/ad0. The boot device must be connected to the Master channel of the primary IDE controller. This is so it is available as /dev/ad0 when the system boots.

If you are using the vmware image open it in vmware server and press play. Skip down to the system configuration section for configuration details and disregard the installation portion.

Method 1. The easiest way to get installed is to use a usb compact flash card adaptor. Insert the card and plug it into your host machine. To find out what device node to write the image to issue a dmesg command. This should tell you what device to use. It shows up as /dev/sdb on my linux machine. FreeBSD will attach it to /dev/da0 (or a similarily looking /dev/daX device where X will be some number) Once the correct device node to use has been figured out issue the following command.

gzcat FlashBSD-ldom-v1.3.bin.gz | dd of=/dev/daX bs=8k

Now take the compact flash card and install it in the machine you wish to boot. Turn it on a watch it go.

Method 2. You just have an old machine with a normal hard disk and a cdrom.

Download a Gentoo Linux install only cd (the 100mb one) from www.gentoo.org. Burn the image to cd and boot the machine you wish to install the L-DOM account manager on to with it. After the live cd has booted make sure the network works by pinging google.

ping www.google.com

If you don't get a response from google then set up the network with this command

net-setup eth0

After the network is configured use links to download the FlashBSD-ldom-v1.2.bin.gz file from sourceforge.

links ldom.sourceforge.net

Follow the download link in the releases section. This will take you to the sourceforge download page. Navigate down the page until the FlashBSD-ldom-v1.3.bin.gz link is highlighted and press enter to download. Save the file to the default location. After it is downloaded press the esc key and exit links. Now execute the gzcat command from method 1. and reboot the machine without the live cd. It should be installed now.

Initial Configuration

Log in as root with a default password of "changeme" and type ifconfig to figure out what kind of ethernet device you have. If you are using the vmware image it will be "em0". An intel 100mb will show up as fxp0 and an intell 1000mb will show up as em0. Make a note of this device. Create & edit the system config files. Finally, reset the system root password.

mount -u /nv
cp /usr/local/etc/ldom.conf.default /nv/ldom.conf
cp /usr/local/etc/ssl-config.conf.default /nv/ssl-config.conf
vi /nv/ldom.conf
mount -u /

As a minimum for testing you will need to set the following parameters in ldom.conf

Set ALL parameters in ssl-config.conf!

For an initial test leave all other settings at their defaults. Reboot to apply new settings.

shutdown -r now

After the machine has booted open a web browser to "https://your ip address" and accept the certificate. Click the "ldom" link and use administrator as the username and changeme as the password. If you want to set an initial administrator password then modify the ldap_rootpw="" parameter also when setting up the eth_* parameters. You should disable browser page caching. If you add a user or group and it doesn't show up when the browse link has been clicked then the browser has displayed a cached page. Opera 9 will cache by default! You should be set for testing. More formal documentation is on the way.