This script is intended if your installing from fresh (eg new VPS) on CentOS 7 (Tested on x64)
https://gist.github.com/avitex/ea35054b28530b3b3fd482c7232b47f1
You may run the installation like below as root.
Note: It's good practice to review external scripts before running them as root (could be malicious)
bash -c "$(wget -O - https://gist.githubusercontent.com/avitex/ea35054b28530b3b3fd482c7232b47f1/raw)"
If there is enough interest, I may refine it further to support multi-stores, cleaner config overriding etc.
Kind Regards,
James