?OpenMediaVault is the next generation network attached storage (NAS) solution based on Debian Linux. It has an excellent and comprehensive web interface as FreeNAS and similar to that used by the ReadyNAS.
Projet web-page : http://www.openmediavault.org/
This page aims to provide explanations on how to build a Debian server augmented by ?OpenMediaVault services.
Source : informations below comes mainly from : http://forums.openmediavault.org/viewtopic.php?f=12&t=1794&p=9455#p9382
Why to install OMV on Debian ?
However OMV installation has some constraints : no control on disk size/partition to use (installer force to use the whole disk), no choice of kernel ...
Overview of the installation
This installation description aims to clarify how to set up a Debian server embedding OMV. Versions used are : Debian 7.0 (Wheezy) amd64 and OMV 0.4.27 (Fedaykin) If you're using another working tuple, please report it !
First we set up a minimalistic Debian installation through a chroot and then install OMV from an appropriate way.
Preparing Debian host
To create a chroot, please read dedicated page. A fresh chroot consume nearly 230 Mo.
Localise your Debian repository, customize your Debian ... but these could be done later.
That was the easy part !
- Add OMV repository :
deb http://packages.openmediavault.org/public fedaykin main
- Install keyring and preliminary packages :
aptitude install openmediavault-keyring postfix libapache2-mod-php5
- Then the hardest work (for Wheezy) :
If you try to install openmediavault directly, it won't work because of missing dependancies. So you have to build them first.
Note : you may prefer build them outside your chroot.
cd /tmp wget http://ftp.us.debian.org/debian/pool/main/s/scponly/scponly_4.8-4.1_$(uname -r | cut -d "-" -f3).deb dpkg -i scponly_4.8-4.1_$(uname -r | cut -d "-" -f3).deb
svn checkout svn://svn.code.sf.net/p/openmediavault/code/trunk openmediavault-code cd openmediavault-code/deb/php5-pam dpkg-buildpackage dpkg -i ../php5-pam_1.0.3-1_$(uname -r | cut -d "-" -f3).deb
Now that you have pre-installed dependancies you may install OMV core packages :
aptitude install openmediavault locales
Maximum size on disk was 919 Mo (but only 745 Mo after having purged downloaded packages).