This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
navappliance [2011/04/12 08:01] morten [Debian GNU/Linux 5.0 (aka. lenny)] |
navappliance [2013/12/18 14:16] morten [Download] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== A NAV virtual appliance ====== | + | ====== NAV Virtual Appliances ===== |
+ | We've built virtual appliances in OVF format for those who want to get quickly started with NAV. | ||
+ | Most popular virtualization environments can import this appliance (Though you may need to use VMWare's OVFTool to import it properly into VMWare). | ||
- | ===== Debian GNU/Linux 5.0 (aka. lenny) ===== | + | The appliances are usually built on 64-bit stable versions of Debian GNU/Linux, with NAV installed from the packages available at our APT repository (see [[nav_on_debian]]). This also means that NAV is easily upgradeable using Debian's //aptitude// or //apt-get// tools. |
- | This appliance runs NAV 3.8.3 on an x86_64/amd64 installation of //Debian 5.0 (lenny)//. | + | ===== Download ===== |
- | http://metanav.uninett.no/static/nav-lenny-appliance/ | + | [[https://eske.labs.uninett.no/public.php?service=files&t=4569fa0b755b1879883685ee24f53509|NAV virtual appliances on eske]] (UNINETT's cloud storage "Dropbox clone") |
- | --- //[[user:morten|Morten Brekkevold]] 2011/03/18 11:26// | + | |
- | This is an upgraded version of the Debian 4.0-based appliance mentioned below - more details about the setup and how to proceed can be found there. | + | Stable releases are found in the //stable// director, beta testing releases in the //beta// directory. Kinda obvious, isn't it? ;-) |
- | ===== Debian GNU/Linux 6.0 (aka. squeeze) ===== | + | |
- | An appliance for Debian Squeeze can be made when a Squeeze package of NAV has been released. | + | ===== What the local admin needs to do after starting the appliance ===== |
- | ===== Debian GNU/Linux 4.0 (aka. etch) ===== | + | * log in as 'root' and change the root password from ''navrocks'' to something else (using passwd) |
- | + | ||
- | This appliance runs an outdated version of NAV (3.5) on an outdated version of Debian and can be downloaded from here: | + | |
- | + | ||
- | i386: (cooming soon) | + | |
- | + | ||
- | x86_64 / amd64: [[http://metanav.uninett.no/static/nav-etch-appliance/]] | + | |
- | + | ||
- | ==== What the local admin needs to do after starting the appliance ==== | + | |
- | + | ||
- | * log in as 'root' and change the root-password (passwd) | + | |
* add a decent email-address to forward root's email to in ///etc/aliases// | * add a decent email-address to forward root's email to in ///etc/aliases// | ||
* fix the network-configuration (/etc/network/interfaces) and restart network with **/etc/init.d/network restart** | * fix the network-configuration (/etc/network/interfaces) and restart network with **/etc/init.d/network restart** | ||
* add networks that shall be allowed to talk to the appliance in ///etc/hosts.allow// (both clients to the NAV webinterface and network equipment that send SNMP traps) | * add networks that shall be allowed to talk to the appliance in ///etc/hosts.allow// (both clients to the NAV webinterface and network equipment that send SNMP traps) | ||
* also fix hostname/domainname in the following files: ///etc/hosts//, ///etc/resolv.conf//, ///etc/mailname// and ///etc/exim4/update-exim4.conf.conf// | * also fix hostname/domainname in the following files: ///etc/hosts//, ///etc/resolv.conf//, ///etc/mailname// and ///etc/exim4/update-exim4.conf.conf// | ||
- | |||
- | ==== 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 following changes are made: | ||
- | |||
- | * the user added at install-time was removed | ||
- | * so was the root-alias in ///etc/aliases// pointing to that user | ||
- | * backport.org- and pkg-nav.alioth.debian.org-mirrors added to /etc/apt/sources.list | ||
- | * 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' to /etc/hosts.allow and 'ALL: ALL' to /etc/hosts.deny | ||
- | * installed nav (aptitude install --without-recommends nav) and answered yes to all question | ||
- | * followed /usr/share/doc/nav/README.Debian | ||
- | * poweroff the machine and take a snapshot | ||
- | * Remove the network configuration in /etc/network/interfaces. | ||
- | * Change the temporary root-password to an empty one in /etc/shadow (and remove /etc/shadow-). | ||
- | * Adjust hostname in the following files: /etc/hosts, /etc/mailname and /etc/exim4/update-exim4.conf | ||
- | * Power off the virtual machine and export as appliance. | ||
- | |||
- | |||
- | |||
- | ===== Todo ===== | ||
- | |||
- | * create the appliance in real (not VMwareified) OVF-format | ||
- | * document how to make the appliance send emails | ||
===== Links ===== | ===== Links ===== | ||
* OVF - [[http://en.wikipedia.org/wiki/Open_Virtual_Machine_Format]] | * OVF - [[http://en.wikipedia.org/wiki/Open_Virtual_Machine_Format]] | ||
- | * NAV - [[http://metanav.uninett.no/]] | + | * VMWare OVFTool - [[http://www.vmware.com/support/developer/ovf/]] |
+ | * NAV - [[http://nav.uninett.no/]] | ||
* Debian GNU/Linux - [[http://www.debian.org/]] | * Debian GNU/Linux - [[http://www.debian.org/]] | ||
+ | * [[navappliance-recipe|NAV virtual appliance recipe]] |