Book Image

WordPress MU 2.8: Beginner's Guide

Book Image

WordPress MU 2.8: Beginner's Guide

Overview of this book

WordPress MU enables you to build a complete, professional blog network. Each user gets their own blog, and can choose their favorite templates and plug-ins, and develop their own content. WordPress MU powers some of the largest blog networks in the world, including the mighty WordPress.com ñ home to thousands of bloggers. This book will take you through the setup of a WordPress MU-powered blogging network, using a real, working blog network as an example, so that you can follow the creation process step-by-step. Your blogging network will be complete with professional features such as friends lists, status feeds, groups, forums, photo galleries, and more, to build your own WordPress.com ñ a place where users can quickly come and create a blog for themselves. The book starts with a clean install of WordPress MU, and as you work through the book, you will build the blog network, and add on more and more features, all seamlessly integrated to achieve a professional, custom-built look.You will find new themes and plug-ins added to the site, as well as customization of the WordPress multi-user code. The book will also look at ways you can manage your community, and keep your site safe and secure, ensuring that it is a spam-free, enjoyable community for your users. In the later chapters, you will add a forum using the bbPress script, and add BuddyPress social networking components to your site. Imagine how good you'll feel when your first WordPress multi-user blog network launches.
Table of Contents (18 chapters)
WordPress MU 2.8 Beginner’s Guide
Credits
About the Author
About the Reviewers
Preface
Index

Time for action – automatic backups


  1. Download PuTTY from http://www.chiark.greenend.org.uk/~sgtatham/putty/.

  2. Log in to your web site's host using SSH and create a file called dbsave.

  3. Paste in the following code replacing wpdbuser and yourpassword with your username and password, and wordpress with the name of your database.

    #! /bin/sh
    DATE=`date | tr " " _`
    echo $DATE
    mysqldump wordpress --add-drop-table -h localhost -u wpdbuser –p yourpassword | gzip > db.$DATE.gz
    tar cvfz code.$DATE.gz
  4. Save the file. Then at the command prompt type sh dbsave . The script should create a .gz file containing a backup of your database.

  5. At the command prompt, type crontab –e.

  6. At the end of the file, enter something like this:

    0	0	1,15,29	0	0 sh dbsave

Tip

Cron Jobs and Crontab

Are you curious about that row of numbers? If you'd like to learn more about how to schedule jobs to run automatically, read up on the Unix command Crontab at http://www.adminschoice.com/docs/crontab.htm.

Cron jobs are used to schedule a job...