By dominiclane
Hiya, faily familiar with a comman line and ubuntu, file permissions etc
I’ve been trying the Digital Ocean One Click Apps to see if it’s easier than setting up and maintaining my own open source web control panel like Open Panel or Vesta
I’ve setup a website on a Digital Ocean 512mb droplet and is workign great for smaller sites but when in wordpress and I try to update plugins or themes it can’t write to the server?
Is there a clean way of allowing it to update or do I need to mess with folder permissions by hand?
Any help kindly apprceiated
Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You can ensure that Apache has permission to write to your files by running the following command on your droplet as root:
chown -Rf www-data:www-data /var/www/
If you are going to be running a full LAMP stack (Linux, Apache, MySQL, PHP) on a 512MB droplet I would strongly recommend setting up a swap file, otherwise these services are likely to consume the available memory resulting in services crashing.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.