<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title>GNUcode.me</title><id>https://gnucode.me/feeds/tags/WordPress.xml</id><subtitle>Tag: WordPress</subtitle><updated>2024-05-01T13:21:27Z</updated><link href="https://gnucode.me/feeds/tags/WordPress.xml" rel="self" /><link href="https://gnucode.me" /><entry><title>Installing WordPress</title><id>https://gnucode.me/installing-wordpress.html</id><author><name>Joshua Branson</name><email>jbranso@dismail.de</email></author><updated>2018-03-13T18:00:00Z</updated><link href="https://gnucode.me/installing-wordpress.html" rel="alternate" /><content type="html">&lt;p&gt;Hello, world!&lt;/p&gt;&lt;p&gt;Installing Wordpress from a linode account can be a bit of a chore, but I've done it again!&lt;/p&gt;&lt;p&gt;The main issue that I had was that WordPress wouldn't automatically update for
me.  I've remembered running into this issue before, and Wordpress has a section
on it on their
&lt;a href=&quot;https://codex.wordpress.org/Upgrading_WordPress#One-click_Update&quot;&gt;codex&lt;/a&gt;.
Essentially: WordPress determines what method it will use to connect
to the filesystem of your server based on the file ownership of your WordPress
files. If the files are owned by the owner of the current process (i.e., the
user under which the web server is running), and new files created by WordPress
will also be owned by that user, WordPress will directly modify the files all by
itself, without asking you for credentials.&lt;/p&gt;&lt;p&gt;So all I had to do was figure out what worker process nginx was running under. 
After chatting on
#debian or irc.freenode.net for a second, a user said that their worker process
was &lt;code&gt;www-data&lt;/code&gt;.  And indeed cat &lt;code&gt;/etc/passwd&lt;/code&gt; shows that there is a user &lt;code&gt;www-data&lt;/code&gt;
on my system.  And &lt;code&gt;/etc/nginx.conf&lt;/code&gt; said user &lt;code&gt;www-data&lt;/code&gt;; All I had to do to get it
to work was a &lt;code&gt;cd /var/html/www/;  sudo chown -R www-data&lt;/code&gt; . And now WordPress
will handle updates automatically!   Coolio!&lt;/p&gt;</content></entry></feed>