<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ring Of Blogs &#187; Wordpress MU</title>
	<atom:link href="http://www.ringofblogs.com/category/wordpress-mu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ringofblogs.com</link>
	<description>Blogging, WordPress MU, monetization, tips, how to and reviews</description>
	<lastBuildDate>Sun, 21 Feb 2010 11:23:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WordPress on Amazon RDS</title>
		<link>http://www.ringofblogs.com/2009/10/29/wordpress-on-amazon-rds/</link>
		<comments>http://www.ringofblogs.com/2009/10/29/wordpress-on-amazon-rds/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 05:29:18 +0000</pubDate>
		<dc:creator>Elad</dc:creator>
				<category><![CDATA[Hosting & domains]]></category>
		<category><![CDATA[WPMU tips]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress MU]]></category>
		<category><![CDATA[rds]]></category>
		<category><![CDATA[s3]]></category>

		<guid isPermaLink="false">http://www.ringofblogs.com/?p=284</guid>
		<description><![CDATA[Every WordPress blog must have a database to store all its data (posts, comments, settings and so on). WordPress uses the MySQL database. Usually the database is stored locally ob the web server of the blog. In some cases one would want to have the database installed elsewhere for many reasons (loads, capacity, backups). This [...]]]></description>
			<content:encoded><![CDATA[<p>Every <a href="http://wordpress.org/">WordPress</a> blog must have a database to store all its data (posts, comments, settings and so on). WordPress uses the <a href="http://dev.mysql.com/">MySQL</a> database. Usually the database is stored locally ob the web server of the blog. In some cases one would want to have the database installed elsewhere for many reasons (loads, capacity, backups). This is where <a title="Amazon Relational Database Service" href="http://aws.amazon.com/rds/">Amazon RDS</a> kicks in.</p>
<p><strong>What is Amazon RDS?</strong></p>
<p>Amazon Relational Database Service (Amazon <span>RDS</span>) is a web service that makes it easy to set up, operate, and scale a relational database in the cloud. That means that you can have your MySQL database operate on Amazon&#8217;s cloud computers located all over the world. Just like they say:</p>
<blockquote><p>Amazon <span>RDS</span> gives you access to the full capabilities of a familiar MySQL database. This means the code, applications, and tools you already use today with your existing MySQL databases work seamlessly with Amazon <span>RDS</span>.  Amazon <span>RDS</span> automatically patches the database software and backs up your database, storing the backups for a user-defined retention period. You also benefit from the flexibility of being able to scale the compute resources or storage capacity associated with your relational database instance via a single <span>API</span> call.</p></blockquote>
<p>According to Amazon there is no need to make any changes to your application in order to use Amazon RDS. <strong>Well, at least for WordPress and WordPress-MU they are right.</strong></p>
<p>A standard WordPress installation, using Amazon RDS, is located at <a title="WordPress on Amazon RDS" href="http://www.wordpressrds.com">WordPressRDS.com</a> and a WordPress-MU (the kind of WordPress that <a href="http://wordpress.com">wordpress.com</a> uses) is located at <a title="WordPress MU on Amazon RDS" href="http://mu.wordpressrds.com">mu.WordPressRDS.com</a>. I will keep this installation alive for a few days and then take it down since the use of Amazon RDS is not free.</p>
<p style="text-align: left;">If you would like to help me finance this demo please consider a <strong><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=elad.salomons@gmail.com&amp;currency_code=USD&amp;amount=&amp;return=&amp;item_name=Help finance this demo of WordPress and Amazon RDS integration">donation via PayPal</a></strong>.</p>
<p>Amazon RDS is charged by the hour + storage + I/O requests and in and out data transfer (see full <a title="Amazon RDS pricing" href="http://aws.amazon.com/rds/#pricing">pricing</a>). The smallest database instance you can get is with 1.7GB RAM with the cost of 0.11$ per hour. If you run a full month it sums up to about 82$/month. The next level is a huge jump to a large instance of 7.5GB RAM with the cost of 0.44$ per hour (~330$/month). However, for those who are seeking a multi-db solution for WordPress MU may consider testing two or three small instances.</p>
<p><strong>So lets get started!</strong></p>
<p>The first thing you will have to do is setup an Amazon RDS instance. If you don&#8217;t have an account with Amazon you should <a href="https://aws-portal.amazon.com/gp/aws/developer/registration/index.html">creat an AWS account</a>. Once you have an account you may <a href="http://aws.amazon.com/rds/">signup for Amazon RDS</a>.</p>
<p>To set up the RDS instance read some of the <a href="http://aws.amazon.com/rds/#resources">resources</a> available. If you use WordPress you probably would start with the <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=2945&amp;categoryID=293">PHP sample code</a>. I may give specific code samples at a later time but you will have to use the following APIs (in this order):</p>
<ol>
<li><a href="http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/index.html?APICreateDBSecurityGroup.html">CreateDBSecurityGroup</a> &#8211; setup a database security group.</li>
<li><a href="http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/index.html?APIAuthorizeDBSecurityGroupIngress.html">AuthorizeDBSecurityGroupIngress</a> &#8211; authorize access from your servers IP for the above group.</li>
<li><a href="http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/index.html?APICreateDBInstance.html">CreateDBInstance</a> &#8211; set up the instance and first database (including root user, password and database name).</li>
</ol>
<p>If all goes well you may check the instance using the <a href="http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/index.html?APIDescribeDBInstances.html"><em>DescribeDBInstances API</em></a> call and look for the &#8216;<em>Status</em>&#8216; field making sure it is in &#8216;<em>Available</em>&#8216; state. In the results of this call you will also see the unique host name of the database. Amazon calls it &#8216;<em>endpoint address</em>&#8216;. If you got it your are done!</p>
<p><strong>Now setup WordPress (or WordPress Mu)</strong></p>
<p>The final step is to run a regular setup of WordPress (or WordPress MU). You are probably familiar with the setup screen (click on the image to enlarge):</p>
<p><a href="http://www.ringofblogs.com/wp-content/uploads/2009/10/wp-rds-install-3.PNG" rel="lightbox[284]"><img class="aligncenter size-medium wp-image-304" title="wp-rds-install-3" src="http://www.ringofblogs.com/wp-content/uploads/2009/10/wp-rds-install-3-300x207.PNG" alt="wp-rds-install-3" width="300" height="207" /></a></p>
<p>See the &#8216;<strong>DataBase Host</strong>&#8216; field? That is where the &#8216;<em>endpoint address</em>&#8216; goes. I guess this is one of those other 1% cases. Now just continue the installation as usual.</p>
<p>A WordPress MU installation is just the same:</p>
<p><a href="http://www.ringofblogs.com/wp-content/uploads/2009/10/wpmu-rds-install-1.PNG" rel="lightbox[284]"><img class="aligncenter size-full wp-image-308" title="wpmu-rds-install-1" src="http://www.ringofblogs.com/wp-content/uploads/2009/10/wpmu-rds-install-1.PNG" alt="wpmu-rds-install-1" width="474" height="218" /></a></p>
<p>I have installed <a title="WordPress" href="http://www.wordpress.org/">WordPress</a> and <a href="http://mu.wordpress.org/">WordPress-MU</a> on <a title="Amazon Relational Database Service" href="http://aws.amazon.com/rds/">Amazon RDS</a> at <a title="WordPress on Amazon RDS" href="http://www.wordpressrds.com/" target="_blank">WordPressRDS.com</a>. Check it out and please consider a donation via PayPal to keep these installation running.</p>
<p style="text-align: center;"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=elad.salomons@gmail.com&amp;currency_code=USD&amp;amount=&amp;return=&amp;item_name=Help finance this demo of WordPress and Amazon RDS integration"><img class="aligncenter size-full wp-image-313" title="btn_donate_LG" src="http://www.ringofblogs.com/wp-content/uploads/2009/10/btn_donate_LG.gif" alt="btn_donate_LG" width="92" height="26" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ringofblogs.com/2009/10/29/wordpress-on-amazon-rds/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>WPMU new blog settings plugin &#8211; updated</title>
		<link>http://www.ringofblogs.com/2008/07/31/wpmu-new-blog-settings-plugin-updated/</link>
		<comments>http://www.ringofblogs.com/2008/07/31/wpmu-new-blog-settings-plugin-updated/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 20:17:45 +0000</pubDate>
		<dc:creator>Elad</dc:creator>
				<category><![CDATA[Wordpress MU]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[new blogs]]></category>
		<category><![CDATA[setting]]></category>

		<guid isPermaLink="false">http://www.ringofblogs.com/?p=219</guid>
		<description><![CDATA[I have updated the WPMU new blog settings plugin to work with the new version of WordPress-Mu, 2.6 (for previous versions see here). The hook used was changed to a new one: populate_options and the update_option function call was replaced with the add_option function call. The main code of the plugin looks like so:

&#60;?php
function new_blogs_setting( [...]]]></description>
			<content:encoded><![CDATA[<p>I have updated the <a href="http://www.ringofblogs.com/2007/12/21/wpmu-new-blog-settings-plugin/">WPMU new blog settings plugin</a> to work with the new version of WordPress-Mu, 2.6 (for previous versions see <a href="http://www.ringofblogs.com/2007/12/21/wpmu-new-blog-settings-pluginwpmu-new-blog-settings-plugin/">here</a>). The hook used was changed to a new one: <strong>populate_options</strong> and the <strong>update_option</strong> function call was replaced with the <strong>add_option</strong> function call. The main code of the plugin looks like so:</p>
<pre name="code" class="php" cols="60" rows="10">
&lt;?php
function new_blogs_setting( $blog_id )  {
//set your options here:
add_option('gmt_offset', 2);
// stop editing here
return;
}
add_action('populate_options', 'new_blogs_setting');
?&gt;
</pre>
<p>Download <a href="http://www.ringofblogs.com/wp-content/uploads/2008/07/wpmu_new_blog_26.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ringofblogs.com/2008/07/31/wpmu-new-blog-settings-plugin-updated/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>WordPress MU 2.6 is out</title>
		<link>http://www.ringofblogs.com/2008/07/29/wordpress-mu-26-is-out/</link>
		<comments>http://www.ringofblogs.com/2008/07/29/wordpress-mu-26-is-out/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 04:53:22 +0000</pubDate>
		<dc:creator>Elad</dc:creator>
				<category><![CDATA[Wordpress MU]]></category>
		<category><![CDATA[2.6]]></category>
		<category><![CDATA[new release]]></category>

		<guid isPermaLink="false">http://www.ringofblogs.com/?p=211</guid>
		<description><![CDATA[Donncha posted that the new version of WordPress MU, 2.6, is out:
Some of the new features in this release of MU:

Version number is 2.6 rather than 1.6 because it just makes sense to synchronise the major version numbers.
Signup page now has a nonce which should help in the fight against spammers, for a short while [...]]]></description>
			<content:encoded><![CDATA[<p>Donncha <a href="http://ocaoimh.ie/2008/07/28/wordpress-mu-26/">posted</a> that the new version of WordPress MU, 2.6, is out:</p>
<blockquote><p>Some of the new features in this release of MU:</p>
<ol>
<li>Version number is 2.6 rather than 1.6 because it just makes sense to synchronise the major version numbers.</li>
<li>Signup page now has a nonce which should help in the fight against spammers, for a short while anyway.</li>
<li>Redirecting to the signup page for 404s and for unknown blogs is not enabled by default. Check out wp-config-sample.php for instructions.</li>
<li>“allowed_themes” filter, much like the plugins filtered added previously.</li>
<li>New functions: get_id_from_blogname(), is_main_blog().</li>
<li>get_blog_details() can now take a blogname as well as a blog_id.</li>
<li>Custom first posts didn’t always work. Now they do.</li>
<li>Blognames in the “Add blog” form in wpmu-blogs.php are now sanitized.</li>
<li>Added “pre_site_option_*” and “site_option_*” filters like the similar option filters.</li>
<li>Meta fields will be passed on signup again.</li>
<li>Added an “admin_header_navigation” filter so the top right navigation in the backend can be customised.</li>
<li>The signup page uses “blogname” instead of “blog_id” to avoid confusion with the global variable of the same name. Plugins will break if not updated!</li>
</ol>
</blockquote>
<p>Grab it <a href="http://mu.wordpress.org/download/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ringofblogs.com/2008/07/29/wordpress-mu-26-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress MU 2.6 beta 1 is out</title>
		<link>http://www.ringofblogs.com/2008/07/10/wordpress-mu-26-beta-1-is-out/</link>
		<comments>http://www.ringofblogs.com/2008/07/10/wordpress-mu-26-beta-1-is-out/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 08:05:19 +0000</pubDate>
		<dc:creator>Elad</dc:creator>
				<category><![CDATA[Wordpress MU]]></category>
		<category><![CDATA[2.6]]></category>
		<category><![CDATA[beta]]></category>

		<guid isPermaLink="false">http://www.ringofblogs.com/?p=191</guid>
		<description><![CDATA[Donncha released yesterday the first beta version of WordPress-MU 2.6. This version includes the new features of WordPress 2.6.  WordPress MU specific changes include


 The version number is being bumped to 2.6 rather than 1.6 because of version confusion.
 Signup page now has a nonce to help defeat spammers.
 Plugins in wp-content/plugins/ are version checked [...]]]></description>
			<content:encoded><![CDATA[<p>Donncha <a href="http://ocaoimh.ie/2008/07/09/wordpress-mu-26-beta-1/">released</a> yesterday the first beta version of WordPress-MU 2.6. This version includes the <a href="http://boren.nu/archives/2008/06/23/wordpress-26-beta-1/">new</a> <a href="http://boren.nu/archives/2008/07/01/wordpress-26-beta-2/">features</a> of <a href="http://boren.nu/archives/2008/07/08/wordpress-26-beta-3/">WordPress</a> 2.6.  WordPress MU specific changes include</p>
<ul>
<blockquote>
<li> The version number is being bumped to 2.6 rather than 1.6 because of version confusion.</li>
<li> Signup page now has a nonce to help defeat spammers.</li>
<li> Plugins in wp-content/plugins/ are version checked like in WordPress. mu-plugins isn’t covered just yet.</li>
<li> Major object cache changes.</li>
<li> And many more bug fixes. Check the <a href="http://trac.mu.wordpress.org/timeline">timeline</a> for a list of changes.</li>
</blockquote>
</ul>
<p>Download <a href="http://mu.wordpress.org/wordpress-mu-2.6-beta1.zip">wordpress-mu-2.6-beta1.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ringofblogs.com/2008/07/10/wordpress-mu-26-beta-1-is-out/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WPMU Cleanup &#8211; script to delete unused blogs</title>
		<link>http://www.ringofblogs.com/2008/06/10/wpmu-cleanup-script-to-delete-unused-blogs/</link>
		<comments>http://www.ringofblogs.com/2008/06/10/wpmu-cleanup-script-to-delete-unused-blogs/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 18:39:21 +0000</pubDate>
		<dc:creator>Elad</dc:creator>
				<category><![CDATA[Wordpress MU]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.ringofblogs.com/?p=187</guid>
		<description><![CDATA[WPMU Cleanup is a script that checks the WordPress-MU database for blogs that have not been updated for some time. Then, it sends to these blogs authors an email telling them that their blog will be deleted in a few days if they don&#8217;t update it. If the blog is not updated in time it [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.studinski.dk/wpmu-cleanup.txt">WPMU Cleanup</a> is a script that checks the WordPress-MU database for blogs that have not been updated for some time. Then, it sends to these blogs authors an email telling them that their blog will be deleted in a few days if they don&#8217;t update it. If the blog is not updated in time it it removed from the system.</p>
<p>Here are the instructions:</p>
<blockquote><p>This script checks the WPMU database for blogs that have not been updated for X days, then sends a notice to the blogowner that the blog will be deleted after Y days.</p>
<p>It also automatically deletes blogs that have not been updated for Y days, then sends an email to the blog owner.</p>
<p>On both occasions, the script will send a report with details on warned and deleted blogs to the administrator.</p>
<p>This script has *NOT* been programmed as a plugin since it is intended to be executed by a cronjob. As it is now it should be run once every 7 days, but you can configure it to do otherwise.</p></blockquote>
<p><strong>This script is *NOT* a final version and should be used with caution and only if you know what you are doing. I recommend testing it on a testsite rather than a livesite.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ringofblogs.com/2008/06/10/wpmu-cleanup-script-to-delete-unused-blogs/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
