grrnikos / pma Goto Github PK
View Code? Open in Web Editor NEWSimple shell script that installs phpMyAdmin on a Laravel Homestead box.
License: MIT License
Simple shell script that installs phpMyAdmin on a Laravel Homestead box.
License: MIT License
Does not work if you use homestead per project installation:
bash: /vagrant/scripts/serve.sh: No such file or directory
I just tried and the script isn't working
I just tried and the script isn't working
I could Install phpMyAdmin successfully a few weeks ago but when I tried this again today, there was an issue.
-> After running the script, Nginx was failing to restart
-> I found that the serve-laravel.sh is adding ssl_certificate and ssl_certificate_key options to the bottom of the config file for the site. and that file is missing when Nginx tries to load it.
-> I am not sure if the system should create required files (.cnf, .crt and .key) or those lines should be removed from the config file
Installed it using curl but I don't know how to login because I don't know the password?
How do I set the password?
I got this message when a try to access: http://phpmyadmin.localhost:8000
When i load that url from the host box i get an nginx screen stating 502 bad gateway
.
Afer i successfully ssh'd into the vagrant box (homestead) i ran the mentioned shell command. It appeard all is well. When looking i do see phpmyadmin in the nginx sites-available, i did add the url to the vhost 127.0.0.1 phpmyadmin.app
. i also tried restarting nginx and php-fpm.
Not sure where to look from here, not knowing much about vagrant yet, its new to me still. Do i need to check some config file somewhere?
"Failed to set session cookie. Maybe you are using HTTP instead of HTTPS to access phpMyAdmin"
I renamed config.sample.inc.php to config.inc.php but now I get this error
Wrong permissions on configuration file, should not be world writable!
How to solve this please?
Hello. Tried your script and get Permission denied errors:
vagrant@homestead:~/code$ sudo curl -sS https://raw.githubusercontent.com/grrnikos/pma/master/pma.sh | bash
Downloading phpMyAdmin 5.0.4 (https://files.phpmyadmin.net/phpMyAdmin/5.0.4/phpMyAdmin-5.0.4-all-languages.tar.gz)
Warning: Failed to create the file phpmyadmin.tar.gz: Permission denied
curl: (23) Failed writing body (0 != 16080)
mkdir: cannot create directory ‘phpmyadmin’: Permission denied
rm: cannot remove 'phpmyadmin.tar.gz': No such file or directory
bash: /vagrant/scripts/serve.sh: No such file or directory
Any advise?
Hi there,
thanks for the script!
Right after the installation i tried to log in PhpMyAdmin but he replied me with this error
" Your password has expired. To log in you must change it using a client that supports expired passwords."
I solved log me in the Homestead ssh
homestead ssh
Log me in the mysql
mysql -u root -p
( the password is "secret")
Changing the password expiration policy
SET GLOBAL default_password_lifetime = 0;
log me out from mysql
exit
That's a workaround that reduces security, it will be better if the script fix the problem by himself
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.