Questions about Wordpress (4.6.1 on Ubuntu 16.04) one-click install

December 4, 2016 359 views
One-Click Install Apps WordPress Ubuntu 16.04

I noticed that DO recently added a Wordpress one-click on ubuntu 16.04, and that they brought back the option to install on the smallest droplet. I have installed and configured one somewhat, and it seems much improved from the previous one. But the setup is different in several ways from the previous one on Ubuntu 14 and I have some questions:

  1. Is there some optimal droplet size this is tuned to? If I started with (or upgraded to) a much larger (or smaller) droplet, would the settings still be appropriate?

  2. This droplet has fail2ban (and WPf2b) installed and configured, as well as ufw firewall. From time to time I use IPtables to ban an IP, but I am not at all sure with this setup how to save and reload these rules without messing up fail2ban. Any suggestions? Or is there some GUI for managing this?

1 Answer

Adding new rules to block IP should not mess anything with fail2ban.
You need to be careful about that iptables rules will be lost once you restart server.
To save them permanently, you can use iptables-persistent. If you use it, be careful that you don't save Fail2Ban block rules as there is some chance they'll stay forever in that case (instead of given time, or given time after reboot, I didn't test it).

About first, image should work flawless even it $5 Droplet. You need to be very careful if you have higher traffic, as in that case, server can go down easy. Adding swap or upgrading Droplet could be needed optimization for lower Droplets.
On higher, I don't think there are some settings. You can look around MySQL settings, but they'll work flawless with defaults.

Have another answer? Share your knowledge.