<?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>For the Developer &#187; subversion</title>
	<atom:link href="http://forthedeveloper.com/tag/subversion/feed/" rel="self" type="application/rss+xml" />
	<link>http://forthedeveloper.com</link>
	<description>By Developers, For Developers</description>
	<lastBuildDate>Tue, 20 Jul 2010 23:54:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Automate WordPress Upgrade on Grid Server</title>
		<link>http://forthedeveloper.com/2009/automate-wordpress-upgrade-on-grid-server/</link>
		<comments>http://forthedeveloper.com/2009/automate-wordpress-upgrade-on-grid-server/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 22:02:05 +0000</pubDate>
		<dc:creator>Randy Merrill</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[media temple]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[grid service]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://forthedeveloper.com/?p=104</guid>
		<description><![CDATA[Many of the domains and sub-domains on my Media Temple Grid Service contain installations of WordPress. Since I don&#8217;t want to be bothered by a normal upgrades here is how I install WordPress in a way that allows for simple upgrades. This is not a completely automated solution, there is more that you could do [...]]]></description>
			<content:encoded><![CDATA[<p>Many of the domains and sub-domains on my Media Temple Grid Service contain installations of WordPress. Since I don&#8217;t want to be bothered by a normal upgrades here is how I install WordPress in a way that allows for simple upgrades.</p>
<p>This is not a completely automated solution, there is more that you could do to improve the process, but it should save a lot of the time normally spent updating WordPress.</p>
<p><span id="more-104"></span></p>
<p><em><strong>Note:</strong> the <a href="http://forthedeveloper.com/wp-content/uploads/2009/09/updateWP.zip">provided script</a> will only work if you do the WordPress install using subversion and in the domain/sub-domain&#8217;s <code>html/</code> directory.</em></p>
<h3>Installing WordPress</h3>
<p>Yes, there is a 1-click install for installing WordPress on the (gs), but I don&#8217;t use it. Here is how I install WordPress on a domain or sub-domain (ex: <code>blog.site.org</code>):</p>
<ol>
<li><span style="background-color: #ffffff;">Ensure that you have an <a href="http://kb.mediatemple.net/questions/906/Creating+an+alternate+domain" target="_blank">alternate domain</a> or <a href="http://kb.mediatemple.net/questions/99/Creating+a+subdomain" target="_blank">sub-domain</a> created that has an empty <code>html/</code> directory.</span></li>
<li><span style="background-color: #ffffff;">Find the latest tag listed in the <a href="http://svn.automattic.com/wordpress/tags/" target="_blank">WordPress repositor</a>y. (ex: 2.8.3)</span></li>
<li><span style="background-color: #ffffff;"><a href="http://kb.mediatemple.net/questions/16/Connecting+via+SSH+to+your+(gs)+Grid-Service" target="_blank">SSH into the (gs)</a> as the serveradmin.</span></li>
<li><span style="background-color: #ffffff;"><code>cd domains/blog.site.org/html</code></span></li>
<li><span style="background-color: #ffffff;"><code>svn checkout http://svn.automattic.com/wordpress/tags/2.8.3/ ./ --force</code></span></li>
</ol>
<p>Once the svn checkout is complete you should be able to visit the install page (ex: <code>blog.site.org/wp-admin/install.php</code>) and finish the installation of WordPress like normal.</p>
<p>I also suggest you take steps to <a href="http://codex.wordpress.org/Hardening_WordPress" target="_blank">harden your WordPress install</a>.</p>
<h3>Upgrading Many WordPress Installs at Once</h3>
<p>When you <a href="http://wordpress.org/development/" target="_blank">learn of a new version</a> of WordPress you can do the following to easily upgrade all of your installations at once.</p>
<ol>
<li><a href="http://kb.mediatemple.net/questions/16/Connecting+via+SSH+to+your+(gs)+Grid-Service" target="_blank">SSH into the (gs)</a> as the serveradmin.</li>
<li>You will need to upload the <a href="http://forthedeveloper.com/wp-content/uploads/2009/09/updateWP.zip">updateWP</a> bash script to your serveradmin home directory (<code>~/</code>) if it does not already exist.</li>
<li>Run the bash script with the new version number: <code>./updateWP.sh 2.8.4</code></li>
<li>The script will look at each of your domains to see if you have WordPress installed. If it finds WordPress it will switch to the new tag.</li>
<li>After all the installs are updated you can view the <code>updateWP.log</code> to see all of the installations that were completed. On some tags you may need to go to each of the <code>/wp-admin/</code> page and manually tell it to update the database. You can check if this is necessary by visiting one of your WordPress install&#8217;s <code>/wp-admin/</code> directory.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://forthedeveloper.com/2009/automate-wordpress-upgrade-on-grid-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Subversion Cheatsheet</title>
		<link>http://forthedeveloper.com/2008/new-subversion-cheatsheet/</link>
		<comments>http://forthedeveloper.com/2008/new-subversion-cheatsheet/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 13:42:54 +0000</pubDate>
		<dc:creator>Randy Merrill</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[added bytes]]></category>
		<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://forthedeveloper.com/?p=21</guid>
		<description><![CDATA[For those of you who use and love subversion (svn) as much as I do you will be happy to know that David Child from Added Bytes (formally know as I Love Jack Daniels until certain legal misgivings) has released a Subversion specific cheetsheat, his first new one is almost a year. Subversion Cheatsheet I&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you who use and love subversion (svn) as much as I do you will be happy to know that David Child from Added Bytes (formally know as I Love Jack Daniels until certain legal misgivings) has released a Subversion specific cheetsheat, his first new one is almost a year.</p>
<p><a title="Subversion Cheatsheet" href="http://www.addedbytes.com/cheat-sheets/subversion-cheat-sheet/" target="_blank">Subversion Cheatsheet</a></p>
<p><span id="more-21"></span></p>
<p>I&#8217;d definately check out his other cheatsheets while you are on the site, they are an excellent resource for many different languages and common tasks.</p>
<p><a title="Added Bytes cheatsheets" href="http://www.addedbytes.com/cheat-sheets/" target="_blank">Added Bytes Cheatsheets</a></p>
<p>Also for any developers interested in the discussion going on about the cheatsheets Dave has created a google group specifically for cheatsheets. Awesome.</p>
<p><a title="Google Cheatsheet Group" href="http://groups.google.co.uk/group/added-bytes-cheat-sheets" target="_blank">Cheatsheet Google Group</a></p>
]]></content:encoded>
			<wfw:commentRss>http://forthedeveloper.com/2008/new-subversion-cheatsheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
