You can simply run this code to automatically install and configure wordpress