How to install OpenMediavault virtualmin and zoneminder on debian 7

  • How to install OpenMediavault virtualmin and zoneminder on debian 7
    Download Debian 7 and install the base system with openssh
    I also make sure the ethernet cable is not connected so during the install process I can manually setup the network IP address etc.
    once past the network config you can reconnect the ethernet cable.


    *** This is important you need to install the applications in a set sequence else the system setup will fail ***
    First of all we install Zoneminder


    Update the system and install Zoneminder:


    apt-get update && apt-get upgrade
    # apt-get install zoneminder


    Add user to supplementary group:


    # usermod -aG video www-data


    Link Apache to Zoneminder


    # nano /etc/zm/apache.conf


    Check the file to look as below:


    Alias /zm /usr/share/zoneminder
    ScriptAlias /cgi-bin /usr/share/zoneminder/cgi-bin
    <Directory /usr/share/zoneminder>
    php_flag register_globals off
    Options FollowSymLinks
    <IfModule mod_dir.c>
    DirectoryIndex index.php
    </IfModule>
    </Directory>


    MAKE Apache Listen on port 81 temporarily (you can leave this or change it later. I have changed it back to 80 later on in my config):


    # nano /etc/apache2/ports.conf


    Link Apache file:


    # ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf


    Restart Daemons


    # service apache2 restart
    # service zoneminder restart


    test that everything works


    yourserverip/zm


    Other options can be found on the full install tutorial at:


    https://www.lisenet.com/2013/z…gitech-quickcam-pro-5000/


    Install OpenMediaVault on Debian


    Update the repository sources and add the contrib and non-free repositories.


    # nano /etc/apt/sources.list


    Now add the OpenMediaVault repository.


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


    Update.


    # apt-get update


    Install the OpenMediaVault repository key and Postfix.


    # apt-get install openmediavault-keyring postfix


    ** When the 'Postfix Configuration' dialogue is displayed choose No configuration. **


    Update again and install OpenMediaVault.


    # apt-get update
    # apt-get install openmediavault


    ** When the 'Configuring mdadm' dialogue is displayed enter none.
    Do you want to start MD arrays automatically? YES
    When the 'ProFTPD configuration' dialogue is displayed choose standalone. **


    Initialise OpenMediaVault and reboot.


    # omv-initsystem
    # reboot


    ** After the reboot you should be able to connect to the OpenMediaVault WebUI and login as admin with the password of openmediavault.


    That's it. Get testing. **


    ** This is important once you are in Openmediavault change the password and change the port that OMV listens to I used port 10002
    also enable ssh If you do not then things will go pear shaped DO NOT DO ANYTHING ELSE AT THIS TIME DO NOET ENABLE SAMBA ETC.

    Open ssh client and set the apache server to listen to port 80

    # nano /etc/apache2/ports.conf



    Installing Virtualmin GPL


    Start by downloading the install script.


    # cd /usr/local/src

    # wget http://software.virtualmin.com/gpl/scripts/install.sh

    # chmod +x install.sh

    # ./install.sh


    Other software programs you can install:


    # apt-get install fetchmail flex binutils gcc cpp \
    libarchive-zip-perl libc6-dev libpcre3 libpopt-dev \
    lynx m4 make ncftp perl perl-modules unzip zip zlib1g-dev \
    autoconf automake1.9 libtool bison autotools-dev g++ build-essential \
    ffmpeg flvtool2 pbzip2 lvm2 ntpdate curl rsync libmagic-dev \
    libio-compress-perl vim iftop smartmontools pvrg-jpeg iotop sysstat pflogsumm ncdu


    # apt-get install php5-curl php5-dev php5-gd php5-idn php5-imagick \
    php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql \
    php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy \
    php5-xmlrpc php5-xsl php5-odbc php5-dev apache2-prefork-dev unixodbc \
    unixodbc-dev unixodbc-bin aspell-en imagemagick make memcached g++ \
    graphicsmagick whowatch


    Reboot the Server


    # reboot


    ** From http://joealdeguer.com/install…n-gpl-on-debian-7-wheezy/ **
    To complete installation go to URL of the newly installed Virtualmin GPL.
    in web browser


    https://serverip:10000


    Login using root.


    Click Next.


    Pre-load Virtualmin Libraries: Y


    Run email domain lookup server: Y


    Run ClamAV server scanner: Y


    Run SpamAssassin server filter: Y


    Run MySQL database server: Y


    Enter MySQL password.


    MySQL configuration size: Leave default settings


    Skip check for resolvability (If DNS is not yet setup for server’s fully qualified domain name)


    Password storage mode: Only store hashed passwords.


    Click next, next.


    Click re-check and refresh configuration. I got this error after running check.


    now


    click onto the webmin tab


    Goto system
    Bootup and Shutdown


    find the samba demon tick the box
    then
    enable start on boot then start it


    Goto Servers Apache Webserver


    Global configuration tab


    Configure Apache Modules


    Enable php5_cgi


    restart apache


    Thats it you should have Openmediavault Virtualmin and Zoneminder all running on one box



    Thanks to all the creators of tutorials of how to install the said applications for their help:



    Hope this help someone

    • Offizieller Beitrag

    Just be careful that an update to apache doesn't overwrite something nginx uses and causes the OMV web interface to not work.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Point Taken so far so good everything is working fine
    the only thing I found after a number of re installs of Debian on my testing box; is you have to enable samba through virtualmin before you enable in OMV.


    The only reason I am doing this is due to a non tech mate that needs a nas with the three applications installed for a few web packages and cctv plus storage.
    Plus I have to create a landing page to enable him to get to each web gui.
    all great fun :(

  • Is there not the zoneminder package I created for OMV that works with nginx? I thought it was going to be added to the repo so users could just do an apt-get install zoneminder

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

    • Offizieller Beitrag

    You mean this package in the download manager testing repo (miller-testing) :) Been there since June. Somehow I was focus on the virtualmin part. Oops.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Would that package get installed via apt-get? does an extra repo need to be enabled? Should we rename the package to "omv-zoneminder" to show it is specific to OMV?

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • i can't find it in the omv-extras.org....how can i get it to work under omv?

    HP-Proliant Microserver Gen8 | omv = always latest | 64 bit | 1x3TB ,3x4TB , 1x500GB HDD for Boot | omvextrasorg = latest | HP P212| Plugins = NUT, HWRaid, luksencryption OMV extras

  • hmmmmm uploaded but i can't find it anywhere


    isn't there a 1.28 version ?

    HP-Proliant Microserver Gen8 | omv = always latest | 64 bit | 1x3TB ,3x4TB , 1x500GB HDD for Boot | omvextrasorg = latest | HP P212| Plugins = NUT, HWRaid, luksencryption OMV extras

    • Offizieller Beitrag

    Enable Download Managers Testing and then:
    apt-get install zoneminder


    It will install version 1.27 from the omv-extras repo because it is a newer version (1.27 > 1.25) and higher apt priority than the debian repo version.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • installed.....is it serverip/zm ?

    HP-Proliant Microserver Gen8 | omv = always latest | 64 bit | 1x3TB ,3x4TB , 1x500GB HDD for Boot | omvextrasorg = latest | HP P212| Plugins = NUT, HWRaid, luksencryption OMV extras

    • Offizieller Beitrag

    From the config, I think it is serverip:81. Otherwise try port 4085.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • yeah it was 81....all my 3 axis are running now :)

    HP-Proliant Microserver Gen8 | omv = always latest | 64 bit | 1x3TB ,3x4TB , 1x500GB HDD for Boot | omvextrasorg = latest | HP P212| Plugins = NUT, HWRaid, luksencryption OMV extras

  • Hi,


    i want to install the zoneminder from the testing repo.
    But i cant find zoneminder.


    Can somebody explane me how to install?


    BR Robert

    OMV 5.x always up to date.
    Modded dell t20 into 19" rack case with Pearl LCD Display (Status Display!)

    xeon e3-1225v3 / 32GB RAM / 1x500GB WD Blue SSD (OS) / 1x250 SSD (not used) / 1x1 TB Toshiba HHD (MultiDisk) / 4x 4TB WD40EFRX (Raid5)

  • i don't get the right version from the omv extras for stoneburner.
    Looks there will be apache installed.


    Is the package available in the download testing repo for stoneburner?

    OMV 5.x always up to date.
    Modded dell t20 into 19" rack case with Pearl LCD Display (Status Display!)

    xeon e3-1225v3 / 32GB RAM / 1x500GB WD Blue SSD (OS) / 1x250 SSD (not used) / 1x1 TB Toshiba HHD (MultiDisk) / 4x 4TB WD40EFRX (Raid5)

  • https://github.com/cptjhmiller/omv-zoneminder


    Have a look at the above link for a how-to on building ZM for use on OMV.


    Hi,


    i tried your guide and it works.
    Is there no plugin in the omv extras?


    BR Robert

    OMV 5.x always up to date.
    Modded dell t20 into 19" rack case with Pearl LCD Display (Status Display!)

    xeon e3-1225v3 / 32GB RAM / 1x500GB WD Blue SSD (OS) / 1x250 SSD (not used) / 1x1 TB Toshiba HHD (MultiDisk) / 4x 4TB WD40EFRX (Raid5)

  • No at the moment. I did make a start on one and was going to use the built zoneminder deb package as a default install but have been looking at the Jessie version of zoneminder and it has a few differences. I want any plugin to have its files in the same locations so when OMV goes to Jessie there will be no issues when upgrading zoneminder.


    I have started work on this already and have everything setup but there are some issues while its compiling (if any one wants to help, its in the testing branch of the link I posted) I have not asked on the zoneminder forum just yet as its not high on my do to list.

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!