Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script Issues #1

Open
BenjaminM007 opened this issue Aug 22, 2016 · 2 comments
Open

Script Issues #1

BenjaminM007 opened this issue Aug 22, 2016 · 2 comments

Comments

@BenjaminM007
Copy link

There are errors in he php paths and also percona commands. I have attached the correct script with the changes.

Also this is where it gets stuck and doesn't move anyfurther
estarting Nginx, PHP-FPM and MySQL.
Done.
Using custom nginx default site settings.
cat: tmp/default.nginx: No such file or directory
Saving default my.cnf as /etc/mysql/my.bak
Using custom my.cnf as temporary solution.
You should optimize the my.cnf later from percona.com's wizard or using Major Hayden's Script.
You will not see Error Connecting Database Error with our my.cnf
Restarting Nginx, PHP-FPM and MySQL.

Apart from that its an awesome script and hopefully someone can fix the freezing error above
main.sh.zip

@BenjaminM007
Copy link
Author

Well after waiting about 20mins it finally unfroze but has errors

Restarting Nginx, PHP-FPM and MySQL.
Job for mysql.service failed because a timeout was exceeded. See "systemctl status mysql.service" and "journalctl -xe" for details.
A directory named thecustomizewindows will be created at /etc/nginx/ location.
You will need to the load scripts from /etc/nginx/thecustomizewindows location for W3 Total Cache.
If you rename that thecustomizewindows directory, adjust the new path via Nginx vHost file.
We used our domain name thecustomizewindows name to avoid confusing with your domain name later.
It has no other importance.
Creating site on nginx... % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7774k 100 7774k 0 0 1713k 0 0:00:04 0:00:04 --:--:-- 1713k
done.
./main.sh: line 121: pwgen: command not found
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
MySQL user created.
Username:
Password:
We are trying to autoinstall WordPress if it fails you need to manually work from Web GUI.
Database to be used: localhost
Database user: (and also root)
Database user password: for the user
Visit your domain name or IP and use the information if needed.

@AbhishekGhosh
Copy link
Owner

Great! Please push the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants