jr0w3 / glpi_install_script Goto Github PK
View Code? Open in Web Editor NEWA bash script to automatically install GLPI 10 with Apache and MariaDB on on Ubuntu & Debian.
A bash script to automatically install GLPI 10 with Apache and MariaDB on on Ubuntu & Debian.
Hello friend!
While installing I get the following error:
Database connection failed with message "(1045) Access denied for user 'glpi_user'@'localhost' (using password: YES)".
I was able to solve it by change the line 169 from the glpi-install.sh script file:
From:
mysql -e "GRANT ALL PRIVILEGES ON glpi.* TO 'glpi_user'@'localhost'"
To:
mysql -e "GRANT ALL PRIVILEGES ON glpi.* TO 'glpi_user'@'localhost' identified by '$SQLGLPIPWD'"
Hope it might help someone else, and thank you so much for creating this script
Tested on Ubuntu 22.04 LTS and Debian 11.
Fresh install OS.
Script run as root.
ERROR :
Configuring MariaDB...
ERROR 1356 (HY000) at line 1: View 'mysql.user' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
ERROR 1008 (HY000) at line 1: Can't drop database 'test'; database doesn't exist
glpi-install.sh: line 176: dpkg-reconfigure: command not found
IP address acces via browser:
"Error: An error has occurred, but the trace of this error could not recorded because of a problem accessing the log file."
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.