{"id":10,"date":"2014-07-11T06:54:33","date_gmt":"2014-07-11T06:54:33","guid":{"rendered":"http:\/\/myteachright.com\/?p=10"},"modified":"2014-10-26T11:06:14","modified_gmt":"2014-10-26T11:06:14","slug":"how-to-update-drupal-core","status":"publish","type":"post","link":"https:\/\/techliness.com\/?p=10","title":{"rendered":"How to update drupal core"},"content":{"rendered":"<p>I have run  into many people looking for a simple way to apply drupal core updates.<br \/>\nThe simplest way to think of this is to see it as replacing all the files in your website except the &#8220;sites&#8221; directory. The particular way you do this will depend on what access you have to you file system. If you do not manage your own server you may just have an ftp connection in which case you can just decompress the bundle you&#8217;ve download, delete the sites directory and then upload to your site overwriting all files.<br \/>\nBelow is a way to do it from a redhat compatible Linux system such at scientific Linux, Oracle Enterprise Linux, CentOS<br \/>\n<!--more--><\/p>\n<p><code><br \/>\n#change directory to your site<br \/>\ncd \/path\/to\/mysite<br \/>\n#Download the core update eg. 7.26<br \/>\nwget http:\/\/ftp.drupal.org\/files\/projects\/drupal-7.26.tar.gz<br \/>\n#decompress<br \/>\ntar xfvz drupal-7.26.tar.gz<br \/>\n#delete the sites directory from the new core<br \/>\nrm -rf drupal-7.26\/sites<br \/>\n#I do not like being prompted :)<br \/>\nunalias cp<br \/>\ncp  -r  drupal-7.26\/* .<br \/>\ncd ..\/<br \/>\nchown -R apache:apache<br \/>\n<\/code><br \/>\nI have run  into many people looking for a simple way to apply drupal core updates.<br \/>\nThe simplest way to think of this is to see it as replacing all the files in your website except the &#8220;sites&#8221; directory. The particular way you do this will depend on what access you have to you file system. If you do not manage your own server you may just have an ftp connection in which case you can just decompress the bundle you&#8217;ve download, delete the sites directory and then upload to your site overwriting all files.<br \/>\nBelow is a way to do it from a redhat compatible Linux system such at scientific Linux, Oracle Enterprise Linux, CentOS<\/p>\n<p><code><br \/>\n#change directory to your site<br \/>\ncd \/path\/to\/mysite<br \/>\n#Download the core update eg. 7.26<br \/>\nwget http:\/\/ftp.drupal.org\/files\/projects\/drupal-7.26.tar.gz<br \/>\n#decompress<br \/>\ntar xfvz drupal-7.26.tar.gz<br \/>\n#delete the sites directory from the new core<br \/>\nrm -rf drupal-7.26\/sites<br \/>\n#I do not like being prompted :)<br \/>\nunalias cp<br \/>\ncp  -r  drupal-7.26\/* .<br \/>\ncd ..\/<br \/>\nchown -R apache:apache<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have run into many people looking for a simple way to apply drupal core updates. The simplest way to think of this is to see it as replacing all the files in your website except the &#8220;sites&#8221; directory. The particular way you do this will depend on what access you have to you file &hellip; <a href=\"https:\/\/techliness.com\/?p=10\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to update drupal core&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[5,6,19],"_links":{"self":[{"href":"https:\/\/techliness.com\/index.php?rest_route=\/wp\/v2\/posts\/10"}],"collection":[{"href":"https:\/\/techliness.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techliness.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techliness.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techliness.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":2,"href":"https:\/\/techliness.com\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":34,"href":"https:\/\/techliness.com\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions\/34"}],"wp:attachment":[{"href":"https:\/\/techliness.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techliness.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techliness.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}