WP-Create
Super fast way to install WordPress for clients, via subversion. Yes, users can often self-install via Fantastico or similar programs, but what guarantee do you have that they’ll upgrade as soon as new releases become available? Letting users run old versions of web software is a great way to get hacked. Take control of users’ installations by checking them out via svn (with this script) and managing them with wp-mass-upgrade.
This script performs the following tasks:
- Gather installation info
- Create install dir and check out a copy of WordPress
- Create database, db user, set db privs via external .sql file
- Create WP config file
- Create upload dir and set filesystem permissions
- Generate array line for wp-mass-upgrade.sh
Final setup is done via browser.
Posted: 04-13-08 · 6 Comments »
Thanks for sharing the script. I maintain a couple of WordPress installations in my server and this will surely save me lot of time in keeping them updated.
April 25th, 2008 at 5:05 amThanks Sudar - Hope you find it useful. Note that I found one small bug in the chown line (143) and just fixed it. You might want to grab a fresh copy, or just change line 143 to:
chown -R $owner:$owner *(the previous version changed the ownership of the parent directory).
April 25th, 2008 at 8:26 amHi
I haven’t set up my blog yet but I’m planning on customizing my wp configuration with plugins and themes
I was thinking that I’d need to install wp on my dev box and then svn checkin into my own SVN server from the dev box then svn update on the production box
Is there a way to use the wp SVN and still have customizations in my own SVN do you think?
Thanks
April 29th, 2008 at 1:54 pm[…] http://birdhouse.org/software/2008/04/wp-create/ […]
May 12th, 2008 at 12:12 pmStuart - Your customizations would be in themes and plugins, not in core, right? So… no problem - just point the script to your own svn repo rather than to the official one.
May 14th, 2008 at 4:50 pm[…] scot hacker’s scripts and utils > WP-Create - Script for setting up WordPress site, checked out from Subversion. Tags: wordpress wp-create « Twitter Updates for 2008-05-13 […]
May 14th, 2008 at 7:51 pm