Install WordPress - The geek way

We used to install new wordpress website through “Softaculous Auto installer” or “MOJO” Tool on shared webhosts like HostGator or Bluehost. All we need to do is enter website url and few more details then we have brand new wordpress website ready. We loved it because, it takes less than 2 minutes to create a new wordpress website.

As lot of people move to Cloud hosting servers like Digital Ocean, creating new wordpress websites becomes little bit boring task. Lets say if you need to create 5 new wordpress websites in 5 different servers, either you need download wordpress source code and upload it to all 5 servers or use wget to fetch wordpress source code on each servers. Unarchive it and create configuration files and directories then complete the installation by visiting “your-website.com/wp-admin/install.php”. This really takes lot of our time and we don’t want to waste our time, doing same stuff again and again.

Lets Automate WordPress Installation

Well, We can automate this repeated process of downloading, unzipping files and creating configuration files and setting up folder permissions. You can install new wordpress simply by running this shell script install_wp.sh