Maybe I'll give you a summary here. I have not done full installation via command line.
See here :
First I followed your instructions https://g7kse.github.io/cloudlog.html to install Dietpi
Under Dietpi-Software, Software Optimized I installed the two packages:
- LAMP & - PhpMyadmin
SSH Server changes to "OpenSSH)
Webserver Preference to "apache2"
Install FileZilla and search Dietpi on the raspberryPi via: sftp: // "ipaddress" User "root" Pswd "yourPswd" Prt22
Then copy the Cloudlog-Master directory to var / www
Log in to PhpMyadmin = dietpi / phpmyadmin via my browser (Chrome)
If it does not work, go to the command line (root) and give these commands, you can create a user and password yourself:
mysql -p -u root
CREATE USER 'admin' @ '%' IDENTIFIED BY 'admin4321';
GRANT ALL PRIVILEGES
GRANT ALL PRIVILEGES ON *. * TO 'admin' @ '%' WITH GRANT OPTION;
under Databases = make you directory like "LOGBOOK" or something.
Then you try to install via Chrome Cloudlog:
"IP address" or dietpi / Cloudlog master / install
If this does not work, enter the following command via command line(root):
chmod -R 777 / var / www / Cloudlog-master / application / config
maybe also best give these commands:
chmod -R 777 / var / www / Cloudlog-master / backup
chmod -R 777 / var / www / Cloudlog-master / updates
chmod -R 777 / var / www / Cloudlog-master / uploades
Do a reboot, and now you should be able to get to dietpi / cloudlog-master / install.
Fill in information:
Directory: / Cloudlog master
Website URL: http: // dietpi / Cloudlog master
Default GridSq: "your locator"
Hostname: localhost (no ip address but the word "localhost" !!!)
Password: "your pswd"
Database Name: LOGBOOK (or the name you gave on this directory "
This should now work and you can log in further with http: // localhost / Cloudlog master or http: // dietpi / Cloudlog master
Good luck !!!