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!

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.

×
1 answer

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.

by Justin Ellingwood
WordPress is the most popular content management system on the web. In this guide, we'll demonstrate how to install and configure it on an Ubuntu 14.04 server.
Submit an Answer