Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2013-03-31 19:14:28
Size: 2989
Editor: ?manu
Comment:
Revision 5 as of 2015-03-24 02:53:56
Size: 2438
Editor: ?bobo
Comment: Updating to new instructions for new packages.
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: [[fr/InstallOpenMediaVaultOnDebian|Français]] - English -~ ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[fr/InstallOpenMediaVaultOnDebian|Français]]-~
Line 4: Line 4:
'''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. '''!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.
Line 9: Line 9:
This page aims to provide explanations on how to build a Debian server augmented by OpenMediaVault services. This page aims to provide explanations on how to build a Debian server augmented by !OpenMediaVault services.
Line 12: Line 12:
''Source'' : informations below comes mainly from : http://forums.openmediavault.org/viewtopic.php?f=12&t=1794&p=9455#p9382 ''Source'' : informations below comes mainly from : http://forums.openmediavault.org/index.php/Thread/5302-Howto-install-OpenMediaVault-on-Debian-7-x-Wheezy/
Line 20: Line 20:
OpenMediaVault (OMV) is a groupement of services usually provided by a NAS. This makes OMV relevant for applications such as [[FreedomBox/ExampleProjects | FreedomBox]]. !OpenMediaVault (OMV) is a groupement of services usually provided by a NAS. This makes OMV relevant for applications such as [[FreedomBox/ExampleProjects | FreedomBox]].
Line 26: Line 26:
Versions used are : Debian 7.0 (Wheezy) amd64 and OMV 0.4.27 (Fedaykin) Versions used are : Debian 7.0 (Wheezy) amd64 and OMV 1.0 (kralizec)
Line 43: Line 43:
deb http://packages.openmediavault.org/public fedaykin main deb http://packages.openmediavault.org/public kralizec main
Line 48: Line 48:
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
aptitude install openmediavault-keyring postfix
Line 72: Line 53:
aptitude install openmediavault locales aptitude install openmediavault
Line 76: Line 57:
From now you should be able connect to OMV web interface through your favorite browser. If not, check apache log, check that you don't have another process running on port 80 outside your chroot. From now you should be able connect to OMV web interface through your favorite browser using the default user name and password User: admin PW: openmediavault

If not, check apache log, check that you don't have another process running on port 80 outside your chroot.

Translation(s): English - Français


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/index.php/Thread/5302-Howto-install-OpenMediaVault-on-Debian-7-x-Wheezy/

Why to install OMV on Debian ?

OpenMediaVault (OMV) is a groupement of services usually provided by a NAS. This makes OMV relevant for applications such as ?FreedomBox.

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 1.0 (kralizec) 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 !

Installing OMV

deb http://packages.openmediavault.org/public kralizec main

aptitude install openmediavault-keyring postfix

Now that you have pre-installed dependancies you may install OMV core packages :

aptitude install openmediavault

From now you should be able connect to OMV web interface through your favorite browser using the default user name and password User: admin PW: openmediavault

If not, check apache log, check that you don't have another process running on port 80 outside your chroot.

Maximum size on disk was 919 Mo (but only 745 Mo after having purged downloaded packages).