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-linuxto 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/nZEDband 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 ;-)
EDITI 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/nZEDbMany thanks.