Local WordPress Installation Automated
What if installing WordPress locally was as easy as using the installer script from the control panel with your web hosting? That would be nice. Well, I don’t know what options exist for this, but I’ve written a shell script to make this supper easy. Local WordPress installation made easy! All I have to do now to install a new WordPress site on my local server type this in the terminal:
wpinstall NewSite ~/Sites/
That’s it! After running this, I get asked for MySQL username and password, a database is created, and the wp-config file is created and configured accordingly to be able to access the database and install plugins from online through your dashboard.