{"id":270,"date":"2011-05-09T18:14:11","date_gmt":"2011-05-09T18:14:11","guid":{"rendered":"http:\/\/sburke.eu\/blog\/?p=270"},"modified":"2022-07-25T23:27:40","modified_gmt":"2022-07-25T22:27:40","slug":"installing-and-updating-wordpress-with-svn","status":"publish","type":"post","link":"http:\/\/sburke.eu\/blog\/2011\/05\/installing-and-updating-wordpress-with-svn\/","title":{"rendered":"Installing and Updating WordPress with SVN from the Linux CLI"},"content":{"rendered":"<p><a href=\"http:\/\/sburke.eu\/blog\/wp-content\/uploads\/2011\/05\/wordpress-and-subversion-svn.gif\"><img loading=\"lazy\" class=\"alignright size-full wp-image-276\" title=\"wordpress-and-subversion-svn\" src=\"http:\/\/sburke.eu\/blog\/wp-content\/uploads\/2011\/05\/wordpress-and-subversion-svn.gif\" alt=\"\" width=\"233\" height=\"171\" \/><\/a>I&#8217;ve been using wordpress since the early 2.x releases. One thing that used to get me down was having to apply all the updates to wordpress as they were especially frequent in 2.x release. While wordpress has an automatic update option now, it only uses FTP or SFTP. I only use SCP over SSH myself for uploading and storing files to my VPS.<\/p>\n<p>SVN however provides a very easy method to install and update your wordpress blog. While there are SVN applications such as tortise svn, I do a lot of SVN using the CLI.<\/p>\n<h3>Initial Install of WordPress<\/h3>\n<pre>mkdir ~\/public_blog\r\ncd public_blog\r\nsvn co <a href=\"http:\/\/core.svn.wordpress.org\/tags\/3.1.1\">http:\/\/core.svn.wordpress.org\/tags\/3.1.1<\/a> <strong>.<\/strong><\/pre>\n<h3>Update WordPress from SVN to the latest version<\/h3>\n<pre>cd ~\/public_blog\r\nsvn sw <a href=\"http:\/\/core.svn.wordpress.org\/tags\/3.1.2\">http:\/\/core.svn.wordpress.org\/tags\/3.1.2<\/a> <strong>.<\/strong><\/pre>\n<h3>Notes<\/h3>\n<p>If you want to see the latest available version of wordpress, browse directly to <a href=\"http:\/\/core.svn.wordpress.org\/tags\/\">http:\/\/core.svn.wordpress.org\/tags\/<\/a>Then if there is a later version available use the svn switch (sw) command above.<\/p>\n<h3>Further Information<\/h3>\n<p><a href=\"http:\/\/codex.wordpress.org\/Installing\/Updating_WordPress_with_Subversion\">http:\/\/codex.wordpress.org\/Installing\/Updating_WordPress_with_Subversion<\/a><br \/>\n<a href=\"http:\/\/codex.wordpress.org\/Using_Subversion\">http:\/\/codex.wordpress.org\/Using_Subversion<\/a><br \/>\n<a href=\"http:\/\/mark-kirby.co.uk\/2008\/how-to-install-wordpress-using-ssh-and-svn\/\">http:\/\/mark-kirby.co.uk\/2008\/how-to-install-wordpress-using-ssh-and-svn\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been using wordpress since the early 2.x releases. One thing that used to get me down was having to apply all the updates to wordpress as they were especially frequent in 2.x release. While wordpress has an automatic update &hellip; <a href=\"http:\/\/sburke.eu\/blog\/2011\/05\/installing-and-updating-wordpress-with-svn\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,15],"tags":[22,7,35],"_links":{"self":[{"href":"http:\/\/sburke.eu\/blog\/wp-json\/wp\/v2\/posts\/270"}],"collection":[{"href":"http:\/\/sburke.eu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sburke.eu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sburke.eu\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/sburke.eu\/blog\/wp-json\/wp\/v2\/comments?post=270"}],"version-history":[{"count":15,"href":"http:\/\/sburke.eu\/blog\/wp-json\/wp\/v2\/posts\/270\/revisions"}],"predecessor-version":[{"id":318,"href":"http:\/\/sburke.eu\/blog\/wp-json\/wp\/v2\/posts\/270\/revisions\/318"}],"wp:attachment":[{"href":"http:\/\/sburke.eu\/blog\/wp-json\/wp\/v2\/media?parent=270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sburke.eu\/blog\/wp-json\/wp\/v2\/categories?post=270"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sburke.eu\/blog\/wp-json\/wp\/v2\/tags?post=270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}