分享

InstallOpenMediaVaultOnDebian

 wedone 2013-07-18

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./

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./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

  • Add OMV repository :

deb http://packages./public fedaykin main
  • Install keyring and preliminary packages :

apt-get install openmediavault-keyring postfix php5-cgi
  • 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/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 :

apt-get 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).

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多