<?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 security - WP2X</title> <atom:link href="https://wp2x.com/tag/wordpress-security/feed/" rel="self" type="application/rss+xml" /><link>https://wp2x.com</link> <description>We can help your Wordpress faster</description> <lastBuildDate>Sun, 31 May 2015 09:35:46 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod> hourly </sy:updatePeriod> <sy:updateFrequency> 1 </sy:updateFrequency> <generator>https://wordpress.org/?v=5.6.17</generator> <item><title>Upgrade wordpress via command line shell</title><link>https://wp2x.com/upgrade-wordpress-via-command-line-shell/</link> <comments>https://wp2x.com/upgrade-wordpress-via-command-line-shell/#comments</comments> <dc:creator><![CDATA[david]]></dc:creator> <pubDate>Sat, 13 Dec 2014 01:20:40 +0000</pubDate> <category><![CDATA[Blog]]></category> <category><![CDATA[Wordpress Tips]]></category> <category><![CDATA[command line]]></category> <category><![CDATA[security]]></category> <category><![CDATA[upgrade wordpress]]></category> <category><![CDATA[wordpress plugin]]></category> <category><![CDATA[wordpress security]]></category> <guid
isPermaLink="false">http://wp2x.com/?p=330</guid><description><![CDATA[<p>There are some reasons why we have to upgrade wordpress via command line in linux shell. Upgrade in admin panel fail because of network connection happen in upgrade process No FTP account to upgrade (if hosting require) File permission problem Security problem It &#8216;s quite easy, let &#8216;s do these steps to upgrade wordpress in ...</p><p>The post <a
rel="nofollow" href="https://wp2x.com/upgrade-wordpress-via-command-line-shell/">Upgrade wordpress via command line shell</a> appeared first on <a
rel="nofollow" href="https://wp2x.com">WP2X</a>.</p> ]]></description> <content:encoded><![CDATA[<p>There are some reasons why we have to upgrade wordpress via command line in linux shell.<span
id="more-330"></span></p><ul><li>Upgrade in admin panel fail because of network connection happen in upgrade process</li><li>No FTP account to upgrade (if hosting require)</li><li>File permission problem</li><li>Security problem</li></ul><p>It &#8216;s quite easy, let &#8216;s do these steps to upgrade wordpress in command line.</p><p>1. Login to server via SSH account</p><p>2. Download the latest version of wordpress and unzip via command line with this way</p><pre class="lang:sh decode:true">$ cd /tmp
$ wget http://wordpress.org/latest.zip
$ unzip latest.zip</pre><p>&nbsp;</p><p><a
href="http://wp2x.com/wp-content/uploads/2014/12/ssh.jpg?4b2a2c&amp;4b2a2c"><img
loading="lazy" class="aligncenter size-full wp-image-379" src="http://wp2x.com/wp-content/uploads/2014/12/ssh.jpg?4b2a2c&amp;4b2a2c" alt="ssh" width="584" height="309" srcset="https://wp2x.com/wp-content/uploads/2014/12/ssh.jpg 584w, https://wp2x.com/wp-content/uploads/2014/12/ssh-300x159.jpg 300w" sizes="(max-width: 584px) 100vw, 584px" /></a></p><p>3. Then Overwrite all new files</p><pre class="lang:sh decode:true ">$ cd /var/www/html/blog
$ cp -avr /tmp/wordpress/* .
$ rm -rf /tmp/wordpress /tmp/latest.zip</pre><p>Now login to admin panel of wordpress it will require you upgrade database, just perform the action and everything will be done.</p><p>The post <a
rel="nofollow" href="https://wp2x.com/upgrade-wordpress-via-command-line-shell/">Upgrade wordpress via command line shell</a> appeared first on <a
rel="nofollow" href="https://wp2x.com">WP2X</a>.</p> ]]></content:encoded> <wfw:commentRss>https://wp2x.com/upgrade-wordpress-via-command-line-shell/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>