One click Wordpress installation Vs Manual mode

September 17, 2014 1.8k views


When i install Wordpress (on ubuntu 14) "in one click apps" i have no problem when installing plugins or themes.

But when i install ubuntu+lemp+wp manually I have problems with permissions when i try to manage and install themes or plugin in the web. (required keys, ssh etc)

How can i install ubuntu+lemp+wordpress but with the permissions freedom of installation on a click?

Thanks again!!

1 Answer

Without know which tutorials you've followed, it's hard to know exactly what has gone wrong for you. Though, generally if you can not install themes or plugins through the web interface you have a permissions issue.

The WordPress One-Click app installs WordPress in the /var/www/ folder. It applies the following permissions:

chown -R www-data:www-data /var/www

If you want to install WordPress with Nginx, take a look at this article. It follows a slightly different path, but should get you up and running:

by Justin Ellingwood
WordPress is the most popular CMS (content management system) in the world. It can be used to get your site or blog off the ground quickly and it provides a nice interface for adding content and modifying the site's design. In this guide, we'll walk through how to install WordPress on Ubuntu 14.04 with an Nginx web server.
  • One more time thank you very much ASB!!

    Yes, i followed your article "how to install wordpress with nginx on ubuntu 14.04" but i think the problem of tutorial with full permissions is this part:

    " The group that nginx operates under is www-data. For the user portion, enter your user account name. We will demonstrate with an account called demo here:

    sudo chown -R demo:www-data /var/www/html/* "

    "demo" in my case is root, because i install LEMP in "one click" (on ubuntu 14) and the user account is "root". So, when i open this installation of wordpress in web browser i can't manage it without privileges of root.

    The solution it is add your answer (chown -R www-data:www-data /var/www/html) in this part of tutorial instead of "sudo chown -R root:www-data /var/www/html/* " ?

    Thanks for support!

  • Yes. That tutorial assumes that you have followed the other ones linked in the "Prerequisites" section. Those tutorials will walk you through creating a new user with sudo privileges. In your case, if you only have the root account, you'll use chown -R www-data:www-data /var/www/html/

  • All clear, thank you very much for the perfect support :)

Have another answer? Share your knowledge.