Question

What is your Learning Advices?

Hello everyone,

I am a developer, server management is not my main goal but just for a hobby I want to learn. Last a few days I try to setup fast WordPress server :) I don’t know maybe it’s hard to achieve or not… But every time my server has a lack of something. Sometimes WordPress can’t use permalinks, sometimes WordPress needs FTP credentials, sometimes WordPress can’t upload files or can’t add plugins etc. I can’t setup correctly, stable, fast WordPress server yet. So i am trying to learn more but do you have advice for me?

Any books or links or courses for short learning curve?

Thanks!


Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I am not sure what tutorials you may have already looked at but I would recommend this one to assist you in setting up WordPress.

For a little more insight on the issues you encountered (this assumes Ubuntu 14.04 with Apache)…

1.) Sometimes WordPress can’t use permalinks

Permalinks in WordPress require a couple things.

  • Your apache configuration must have AllowOverride All set to allow the permalink settings in an .htacess file to be read.

  • You must enable the rewrite module in Apache

a2enmod rewrite
service apache2 restart

2.) sometimes WordPress needs FTP credentials, sometimes WordPress can’t upload files or can’t add plugins etc

These are both usually permissions issues (Wordpress prompts for FTP if it doesn’t have permission to write to the files it needs to). This can be fixed with (assuming that your web root is /var/www/html)

chown -Rf www-data.www-data /var/www/html

This ensures that all your WordPress files are owned by the same user account that the Apache process is using.