DISQUS

Climb to the Stars: Scripts for a WordPress Weblog Farm

  • Randy Peterman · 5 years ago
    That's a great way to handle the passwords! That was one of my biggest curiousities since you steamrolled past them with the wget commands :)
  • Nik · 5 years ago
    Doing a bit of the same stuff, only I whip up a virtual server with its own IP adress, its own webserver and FreeBSD install, using the jail functionality in FreeBSD. Record so far, 1500 webservers on a host computer. Painful, but still lots of fun. :) Now I'm down to ~250 webservers pr server, and all is playing way to nice. Installing wordpress and having it set up is a matter of selecting an option
  • Kitten · 5 years ago
    Make sure you keep a 1.2 tarball around, 1.3 will requires an email address in the installer.
  • Steph · 5 years ago
    ok -- I've got a "generic" e-mail address for those blogs anyway, as we don't want the kids giving out their private e-mail addresses (yet).
  • Alex Lam · 4 years ago
    Hahaha.. I've been following your blog and was wondering what on earth was all these focus on Wordpress... and who'd know, months later, there I was... sitting and looking to install word press multiple user...

    ... and voila, it links back to your blog. :-D
  • Steph · 4 years ago
    Actually, Alex, wp-mu is said to be promising, and functional implementations of it have been seen in the Wild of Cyberspace.

    Give it a try! http://mu.wordpress.org/
  • Stephanie · 4 years ago
    I'm having trouble with some plugins, because of the decentralized nature of my set-up. I thought it would make things simpler, but in fact it doesn't. I'm probably going to upgrade all the weblogs to 1.5, and I'll give them each a complete customized install (just using the batch scripts to do it).
  • Scott · 4 years ago
    Hi, I'm interested in setting this up at my work, but I notice that your PHP-Patch script has an included file which I can't find anywhere - include('../connect-stprex.php');

    Can you either link to this file, or drop me an email with it? Thanks!
  • Andrew · 4 years ago
    Hi,

    Thanks for the wonderful post. I am also interested in making this work. Can you please help with the file below?

    (’../connect-stprex.php’);

    Many thanks.
  • Stephanie · 4 years ago
    That's just a file with the connection information -- it's below the web root because I don't want to make my db connection information public.

    It looks something like:

    $connect = mysql_connect("", "username", "password")
    or die("Could not connect to mysql server.");
    mysql_select_db("your_db", $connect)
    or die ("Could not connect to database.");

    See http://www.php.net/mysql-connect for details.
  • Alex · 4 years ago
    Good article. Very interesting and useful. Thanks.
  • maher · 4 years ago
    very nice i want you to help me setting up the word press it is really not a 5 minutes problems
  • Jeremy · 4 years ago
    I have a blog setup that I will call my 'base-installation', which has all the proper settings, plugins and templates. Next time I need to setup a blog, I want to duplicate this base-install, then customize a few things for that customer.

    A theory I have to do this is as follows:

    1. Using my base-install of the perfect blog, download the files and database.

    2. When I do the next install, I install WordPress as I always have.

    3. After the install of the original program, upload my base-install files, import the database, and I would see a duplicate blog of my base-install.


    Any suggestions?

    Would my theory work?
  • Lopo Lencastre de Almeida · 3 years ago

    @ Jeremy


    Make a PHP script that:


    <ol>
    <li>Recolect the new blog dir, title and desc,
    username and password</li>
    <li>Create the new blog dir (I'll use here "lucasblog")</li>
    <li>Copy "base-install" to "lucasblog" </li>
    <li>Open wp config and change the values concerning
    user and blog data</li>
    <li>Create the database and fill the tables using
    a mysql dump made from "base-install" database</li>
    <li>Modify SQL for all needed values to reflect the new
    blog "lucasblog"</li>
    <li>Inform user that the blog is on.</li>
    </ol>

    I think this will be enough.


    If possible, instead of copying, symlink the part concerning Wordpress -- less config, themes and plugins dir -- because your maintenance task is easier.


    Upgrades and new addons are faster too, altough using Wordpress will harden your control over what users install, being that new themes or plugins.


    Don't symlink the themes directory because if a user modifies his/her theme you will have awfull problems with all the other guys that use the same theme.


    Of course, you can always use Wordpress Mu and most of this will be solved :)

  • Lopo Lencastre de Almeida · 3 years ago

    For multiple once a time creation:


    <ol>
    <li>Recolect the new blog dir, title and desc,
    username and password from a file.</li>
    <li>Reapeat until there is a blog to create:
    a. Create each "new-blog" dir
    b Copy “base-install” to “new-blog”
    c. Open wp config and change the values concerning
    user and blog data
    d. Create the database and fill the tables using
    a mysql dump made from “base-install” database
    e. Modify SQL for all needed values to reflect each new
    blog “new-blog”</li>
    </ol>

    Done...

  • Lopo Lencastre de Almeida · 3 years ago

    @ Jeremy


    See also http://wurk.net</p>

    They used Wordpress Mu as the base.

  • william · 3 years ago

    These are becoming more popular as people figure out ways to create mutliple WordPress installations under one domain name and automate the addition process. The scalability concern is real.

  • Peter · 3 years ago

    Interesting way of overcoming the problem of managing multiple blogs - I guess the same process can be used for updating (be simpler with the incremental updates. However as I am only running a couple of individual blogs, it probably isn't worth it.


    I felt for you over the Spam issue, and while my French isn't up to much, I gathered that the majority of the comments were supportive of you. SO annoying. I look on it as a compliment that my site is getting visibility when it does get spammed - all first time posts go into moderation for me, so at least I cath them before they are posted. Have you tried Askimmet?


    Best wishes for your project!


    Peter

  • Richard · 3 years ago

    Hi, I presume that this method works only for wordpress 1.2.1 Its technically great work, I really enjoyed reading it. I wonder if at the moment am I better using lyceum or wordpress mu for a secure multi-user blog.

  • pero · 3 years ago

    Hello,


    I am reading your instruction gow to install multiple blog farm on home server. I am new at this thing and must admit that i can not follow your step by step guide, because i can understand it. This is samething very new to me. Can you please send me some detailed instruction so i can follow it? I would be very happy if you can do this. Many thanks


    Best regards


    I have:
    Win srv2003 std
    IIS6
    php 4.4
    mysql 5.0

  • Stephanie · 3 years ago

    Sorry to disappoint you, but I put up these instructions just in case they came in handy to anybody. If you can't find your way through them... well, you need to try to find another solution.


    I'm not sending out more detailed instructions to anybody.

  • donlapre fan · 3 years ago

    Thanks for the advice on the passwords, I was having trouble with that too!

  • Terry · 2 years ago

    Installed Wordpress MU a while ago and found problems. I was wondering is it's updated enough for me to have another attempt?


    Cheers
    Terry
    http://www.terrysarticles.com</p>

  • John · 2 years ago

    Thanks for the scripts. Good work. John :-)

  • SEO · 2 years ago

    My main concern is that you can't guarantee every page of your website will be included in the SERPs. Considering I'm constantly adding new products to my company's website, I need to be sure that customers can find them as soon as possible.http://www.seoptimizerz.com

  • Hay Man · 1 year ago
    so does any one know if its up and good enough for another attempt?