Beiträge von m3lvm

    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 :(

    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

    To be honest as the Os for OpenMediaVault is Debian the easiest solution would have been to install virtualmin after installing OpenMediaVault.
    That way you can have the best of both worlds a media server and web server on one box.
    You might have to play with the groups and permissions if you are going to host websites commercially, to ensure that clients cannot access your personal data.
    Then thats the joy of hosting websites.
    Another option is to buy a blade server off ebay, you can get them for less that a good night out. That way you can keep the web stuff away from the Nas

    I was looking around at nas software today, and noticed that the netgear readynas uses Ubuntu for its os.
    I then had a look at their download page for the applications, and inspected the html code and found that the packages deb files.
    I'm wondering if they will install on openmedial vault with a simple wget install.
    Qnap and Synolog use a different package type.