<?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>WordPress Hacks &#187; ssh</title>
	<atom:link href="http://wphacks.com/tag/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://wphacks.com</link>
	<description>WordPress Themes, Plugins, Hacks, Tutorials, and more!</description>
	<lastBuildDate>Fri, 25 May 2012 20:07:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to: Upgrade your WordPress Blog in a Minute via SSH</title>
		<link>http://wphacks.com/how-to-upgrade-wordpress-blog-minute-via-ssh/</link>
		<comments>http://wphacks.com/how-to-upgrade-wordpress-blog-minute-via-ssh/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 08:00:46 +0000</pubDate>
		<dc:creator>Jean-Baptiste Jung</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Tutorials]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=1358</guid>
		<description><![CDATA[Having to upgrade your WordPress install every time a new version is realeased is necessary, but also very boring. If you have a SSH access to your server, here's a very quick way to upgrade your WordPress install.]]></description>
			<content:encoded><![CDATA[<p style="float: right;margin: 4px;"><a href="http://www.inboundwriter.com/wordpress?utm_source=iw-plugin&utm_medium=Banner%2B300x250&utm_content=SEO&utm_campaign=WPHacks" target="_blank"><img border="0" src="http://wphacks.com/wp-content/themes/WPHacks/images/300x250.gif" width="300" height="250"></a></p><p>Having to upgrade your WordPress install every time a new version is released is necessary, but also very boring. If you have a SSH access to your server, here&#8217;s a very quick way to upgrade your WordPress install.</p>
<p>This is probably the most important step of this whole tutorial: <strong>always backup your WP Database and files. This tutorial have been tested, however I won&#8217;t be held responsible for any kind of data loss.</strong></p>
<p>Once done, you can connect to your server by using SSH. On Mac and Linux platform you can use the Terminal, on Windows I recommend using <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">Putty</a>.</p>
<p>Get the latest WordPress version available:</p>
<pre>wget http://wordpress.org/latest.tar.gz</pre>
<p>Uncompress it:</p>
<pre>tar xfz latest.tar.gz</pre>
<p>Delete the wp-admin and wp-includes directories:</p>
<pre>rm -rf ./wp-includes/
rm -rf ./wp-admin/</pre>
<p>Go to the wordpress directory:</p>
<pre>cd wordpress/</pre>
<p>Now, it&#8217;s time to copy the downloaded files to your existing WP install, by overwriting old files:</p>
<pre>cp -rpf -f * ../</pre>
<p>Once done, come back to the WordPress directory and remove the downloaded files:</p>
<pre>cd ..
rm -rf ./wordpress/
rm -f latest.tar.gz</pre>
<p>Visit your blog and upgrade the database (if needed). That&#8217;s all, your blog is now up to date and the whole process didn&#8217;t took more than a minute or two!</p>
<p><em>For more WordPress tips and tricks, you should definitely take a look at my blogs <a href="http://www.wprecipes.com">WpRecipes</a> and <a href="http://www.catswhocode.com">Cats Who Code</a>!</em></p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=1358&type=feed" alt="" /><p></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/how-to-upgrade-wordpress-blog-minute-via-ssh/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

