nZEDb

nZEDb => Support => Topic started by: RoddyJoff on 2018-06-09, 10:26:00 AM

Title: nZEDb on Raspberry STRETCH
Post by: RoddyJoff on 2018-06-09, 10:26:00 AM
Hi,

I have been trying to install nZEDb onto my RPI 2B+ for the last week or so and am driving myself mad!

I have tried Wheezy, Jessie and finally the latest Stretch.

First of all I used this:

https://linuxconfig.org/how-to-install-a-lamp-server-on-debian-9-stretch-linux

to install LAMP with no errors.

Everything works including the default Apache index.html file when I connect from my Mac at 192.168.0.20

Next I installed nZEDb using the following command:

sudo git clone https://github.com/nZEDb/nZEDb.git /var/www/nZEDb

and this is where it starts to wrong.

I discovered that the default web directory on Stretch differs to that of Wheezy. The original nZEDb installation expects /var/www but it now is /var/www/html on Stretch.

I therefore attempted to ‘fix’ this by changing sites-available and DocumentRoot and other things I cannot remember, getting myself into an endless loop.

If I install a simple index.html file in /var/www/nZEDb before making any changes then 192.168.0.20 works insofar that I get the message in the index.html file so why doesn’t 192.168.0.20/install work, having removed the index.html file?

I am at a loss to say the least. I am about to re-install Apache to set everything to a base/normal state but after that don’t know where to go.

Should I have install nZEDb in /var/www/html rather than try to reconfigure?

If not how do I fix it?

Many thanks in advance ;-)

EDIT

I think a simpler question would be, in which directory should I execute this command:

sudo git clone https://github.com/nZEDb/nZEDb.git


/var/www or var/www/html or /var/www/nZEDb


Many thanks.
Title: Re: nZEDb on Raspberry STRETCH
Post by: kaibosh on 2018-06-12, 09:37:33 AM
Minimum memory requirement is 4Gb. Even if you managed to get nzedb installed, it would run so damn slow due the shared USB/network config the RPi's have.