Why not just use something like Bitnami?

https://bitnami.com/stack/wordpress/installer