navappliance-recipe
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| navappliance-recipe [2012/12/05 08:28] – created morten | navappliance-recipe [2018/12/11 07:42] (current) – removed morten | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== NAV virtual appliance recipe ====== | ||
| - | |||
| - | This is the original recipe used by Morten Werner Forsbring to create the first [[navappliance|NAV virtual appliance]]. | ||
| - | |||
| - | ===== How the virtual appliance was created ===== | ||
| - | |||
| - | A virtual machine was created on a VMware ESX server with 512MB RAM and 4GB of disk. Choises made during installation of Debian GNU/Linux 4.0 (aka. etch): | ||
| - | |||
| - | * American English as language | ||
| - | * using LVM on the disk to ease the expand-process | ||
| - | * all files in one large partition | ||
| - | |||
| - | After a normal installation, | ||
| - | |||
| - | * the user added at install-time was removed | ||
| - | * so was the root-alias in /// | ||
| - | * backport.org- and pkg-nav.alioth.debian.org-mirrors added to / | ||
| - | * installed open-vm-tools (from backports.org) and ran the commands **module-assistant prepare open-vm** and **module-assistant auto-install open-vm** to build the opem-vm-modules | ||
| - | * installed openssh-server | ||
| - | * added 'ALL: 127.0.0.1' | ||
| - | * installed nav (aptitude install --without-recommends nav) and answered yes to all question | ||
| - | * followed / | ||
| - | * poweroff the machine and take a snapshot | ||
| - | * Remove the network configuration in / | ||
| - | * Change the temporary root-password to an empty one in /etc/shadow (and remove / | ||
| - | * Adjust hostname in the following files: /etc/hosts, / | ||
| - | * Power off the virtual machine and export as appliance. | ||
| - | |||
| - | |||
| - | |||
| - | ===== Todo ===== | ||
| - | |||
| - | * document how to make the appliance send emails | ||
navappliance-recipe.1354696110.txt.gz · Last modified: by morten
