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!
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!
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.
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.