Manual WordPress installation problems
On my ubuntu droplet, I tried to install WordPress (without using one click because I am thinking of hosting multiple sites and one click seems like can only install one wordpress per droplet).
I follow exactly the same instructions describe on https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-14-04. Except that instead of putting wordpress directory in /var/www/html I go for /var/www/mysite.com/public_html together with /etc/apache2/sites-available/mysite.com.config. So that in the future if i want to install more wordpress on the same server, it will be more manageable.
My problem is, i successfully managed to install wordpress but when i try to install plugin, it asks me for my ftp username and password to download and install to wordpress. I am encountering the following problems.
if i upload a plugin directly from my laptop, it says i cannot upload and it says Unable to create directory /var/www/mysite.com/public_html/wp-content/uploads/2016/02. Is its parent directory writable by the server?
I cannot seem to change the permalinks structure to post_name. I just can't. I have tried everything like giving 666 permission and let the wordpress create itself and changing AllowOverride None to All (most of the solutions I could find online).
Can someone help me with this ? Thanks.