The last step is configuring permissions for the server root. By giving permissions to the www-data
user, you’ll be able to get automatic updates and more.
$ sudo chown -R www-data:www-data /var/www/wordpress $ sudo usermod -a -G www-data www-data
Finally, you can navigate to your server’s IP address to begin the famous 5-minute WordPress installation.
Source: Tutorial: Installing WordPress on LEMP and Ubuntu 16.04 | Serverwise