Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2013-03-31 15:34:31
Size: 1109
Editor: ?manu
Comment: Création de la page
Revision 4 as of 2013-03-31 23:16:08
Size: 2991
Editor: GeoffSimmons
Comment: Limit automatic linking, update translation header.
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:
''Sources'' :
* http://forums.openmediavault.org/viewtopic.php?f=12&t=1794&p=9455#p9455
 * http://forums.openmediavault.org/viewtopic.php?f=1
2&t=1508
''Source'' : informations below comes mainly from : http://forums.openmediavault.org/viewtopic.php?f=12&t=1794&p=9455#p9382
Line 20: Line 18:
== Why install OMV on Debian ? == == Why to install OMV on Debian ? ==
Line 22: Line 20:
OpenMediaVault (OMV) is a groupement of services usually provided by a NAS. This makes OMV relevant for [[FreedomBox/ExampleProjects | FreedomBox]] applications. !OpenMediaVault (OMV) is a groupement of services usually provided by a NAS. This makes OMV relevant for applications such as [[FreedomBox/ExampleProjects | FreedomBox]].
Line 24: Line 22:
However OMV installation has some constraints : no control on disk size/partition (it use the full disk), no choice of kernel ... 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 ...
Line 26: Line 24:
== 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.
Line 28: Line 32:
To create a [[chroot]], please read dedicated page. A fresh chroot consume nearly 230 Mo.
Line 29: Line 34:
Localise your Debian repository, customize your Debian ... but these could be done later.
Line 30: Line 36:
That was the easy part !
Line 33: Line 40:

 * 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
}}}


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.

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

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/viewtopic.php?f=12&t=1794&p=9455#p9382

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 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 !

Installing OMV

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

aptitude install openmediavault-keyring postfix libapache2-mod-php5

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

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.

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