• About
scot hacker's scripts and utils

WP-Create

April 13, 2008 2:26 pm / shacker

WP-Create has been folded into the WordPress Mass Management Tools kit.

Posted in: WordPress

25 Thoughts on “WP-Create”

  1. Sudar on April 25, 2008 at 5:05 am said:

    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.

  2. shacker on April 25, 2008 at 8:26 am said:

    Thanks 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).

  3. Stuart Jones on April 29, 2008 at 1:54 pm said:

    Hi

    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

  4. Pingback: Installing Multiple Blogs

  5. shacker on May 14, 2008 at 4:50 pm said:

    Stuart – 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.

  6. Pingback: Links for Wed 14 May 2008 - Joseph Scott’s Blog

  7. Stuart Jones on August 13, 2008 at 11:02 pm said:

    Thanks Shacker!

    You mean change the svn checkout line
    svn co http://svn.automattic.com/wordpress/tags/$wpver/

    to

    svn co http://svn.example.com/mysvn/wordpress/tags/$wpver/ .

    I haven’t figured out how to set up svn so that the bulk of the wordpress files can come from the public svn while still maintaining my own svn of the local customizations

    Right now I’m exporting the public wp svn into a folder structure and manually updating the core files in my own svn, then checking those files into my own svn, this works but introduces the potential for a screw up or two.

    Thanks for the greats script

  8. Pingback: Hosting multiple blogs on a single WordPress installation » Paul Maunders | Web log

  9. Ranga Prasad Mutyala [Help Needed] on November 25, 2008 at 11:00 pm said:

    Dear Scot,

    I was trying to install “WP-Create” and WP-mass Install.
    But I don’t know how to start .. Its a just a text file. Its it a server side script ?
    Can you help me how to proceed.

    Thanks and Regards

    Ranga
    rangaprasadmutyala@yahoo.co.in

  10. shacker on November 26, 2008 at 12:49 am said:

    Ranga – Yes, it’s a bash shell script. It assumes a pre-existing knowledge of working with shell scripts. But basically just put in a directory along with root’s other scripts, chmod 700, and run it:

    /path/to/wp-create.sh

  11. chris on December 11, 2008 at 9:05 pm said:

    nice script! do you have any plans to automate symlink-based WP installs/upgrades? i run a few high-traffic blogs which had always been competing with each other for APC (inode-to-opcode cache) space: symlink-sharing their WP installs got rid of this redundancy.

  12. shacker on December 12, 2008 at 12:48 am said:

    Thanks Chris. No, I don’t have plans to do that particular modification. If you do, let me know and I’ll incorporate it if it plays well with the standard setup.

  13. Lee Down on February 25, 2009 at 2:56 pm said:

    Is this valid with WP’s latest versions also?

  14. shacker on February 25, 2009 at 2:59 pm said:

    Hi Lee – This is a shell script that runs outside of WP. It is ignorant of WP itself and thus it is not possible for it to have a version incompatibility.

  15. Lee Down on February 25, 2009 at 3:37 pm said:

    sweet… like to be cautious and not get in over my head technical skill-level. 🙂

  16. Denis on March 11, 2009 at 8:22 am said:

    Hi

    Great work, found this as I was about to (painfully) try and write a script to that effect. Apparently though, I get a syntax error when trying to run it on a standard (CentOS) dedicated Linux server: After all the input infos are entered, the script outputs
    “./WP-create.sh: line 52: syntax error near unexpected token `newline'”
    Did I do something wrong on installing it ?
    Thank you !

  17. shacker on March 11, 2009 at 8:57 am said:

    Dennis – You’ll want to comment out either of line 50 or 51. If your system is not cPanel, you probably want to comment out line 51 (still I’m surprised you’re getting that error…)

    Also try and “show invisibles” in your text editor to make sure you haven’t introduced some kind of hidden character after a line somewhere.

  18. Denis on March 11, 2009 at 1:54 pm said:

    Thanks for the quick and efficient reply, I managed to make it run by changing those lines as I am indeed not using CPanel. I will now try to extend the script by appending the correct Virtual Host value and restart Apache: as I have a wildcard DNS thingy, this should make an instant functional WordPress install.
    You have an interesting blog by the way !
    Kudos for sharing such nice scripts.

  19. Johan on December 24, 2009 at 4:30 am said:

    Hi,
    When i run the script i get error

    wpinstall.sh: line 64: svn: command not found

    Any reason why
    Thanks
    Johan

  20. Johan on December 24, 2009 at 4:34 am said:

    Hi,

    Also if i have got fantastico installation will i be able to do a mass update on those as well by including them in the list without doing a fresh install.

    (i have +- 120 wp installations and getting tired of doing upgrades one by one so this will work perfectly for me)

    Thanks
    Johan

  21. admin on December 24, 2009 at 11:44 am said:

    Johan – ” svn: command not found” means, of course, that you don’t have svn installed. Obviously you’ll need to install subversion if you want to use a tool that wp-create that’s all about managing WP via subversion.

    As for the fantastico problem… I’m very familiar with that one 🙁 Your goal here is to take control of managing upgrades out of your user’s hands and put it in your own hands. And unfortunately that means a few things. 1) You need to disable WordPress in Fantastico so people are no longer able to use it, and 2) You need to convert all of those old non-subversion installations into subversion installations. I don’t have a script for that but I did write most of the Codex page covering the process — the last section of http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion . So yes, that initial process will be painful, but once you have all installations converted, the upgrade path server-wide becomes seamless and effortless. Worth putting the work in up front.

  22. dennyhalim.com on January 31, 2010 at 6:28 am said:

    how bout a new features: auto fill for latest wp version, and auto generate db user & passwd, secret key and table prefix.

    imho, no one need to know any of these. if anyone want to know, just read the generated config file.

  23. shacker on January 31, 2010 at 10:12 am said:

    Denny – wpcreate already does generate the key for you. The rest are good suggestions. I’m in the middle of another project for a while but will definitely do these for the next revision. Patches welcome.

  24. garconcn on March 12, 2010 at 4:45 pm said:

    Hi Shacker,

    I am interested with the new features that Denny suggested. Hope we can have the next version soon. Thanks.

  25. shacker on August 4, 2010 at 9:41 am said:

    Hi everyone – I’m happy to announce a new version of wp-create and wp-mass-upgrade, including automatic backup of each database in the array and a new plugin finding tool. The tools have been folded into a single kit:

    WordPress Mass Management Tools

Post Navigation

← Previous Post
Next Post →

Categories

  • AMP
  • BeOS
  • cPanel
  • Django
  • Geo
  • Mac
  • Movable Type
  • Music
  • Performance
  • Python
  • QuickTime Streaming Server
  • Spam
  • Twitter
  • WordPress
© Copyright 2023 - scot hacker's scripts and utils
Infinity Theme by DesignCoral / WordPress