Monday, November 27, 2017

Rights in Wordpress files | How To Install WordPress on a LEMP Configuration - Vultr.com

Step Eight: Installing the WordPress files

We're almost done. Let's proceed to installing WordPress.





First navigate to the site root directory:



mkdir /var/www/
cd /var/www/


Now, download the latest version of WordPress:



wget http://wordpress.org/latest.tar.gz


Extract it from the archive:



tar -xzvf latest.tar.gz


Give the permissions of /var/www/wordpress to www-data user. It will allow future automatic updating of WordPress plugins and file editing with SFTP.



 
sudo chown -R www-data:www-data wordpress/
sudo usermod -a -G www-data www-data


You’re done! Your new WordPress site is now ready. Just navigate to your website and finish the installation.





How To Install WordPress on a LEMP Configuration - Vultr.com

No comments: