Is my process right?

  • Posted January 18, 2014

Hello guys!

I want to bring my Wordpress blog to DO, but i want it to be the safest and fastest possible, so i will not have problems for a long time (i have high daily traffic, almost 50k per day)

Here’s what i intend to do:

  1. Install Ubuntu 12.04 following this link

  2. Deploy a Firewall

  3. Install Fail2Ban

  4. SSH keys then?

  5. Install a Swap

  6. Install NGINX, MySQL and PHP

  7. Then Memcache (they said Wordpress need to “support” memcache and that there is a plugin for that, is that right?

  8. FastCGI

  9. APC (Alternative PHP Cache)

  10. Migrate Wordpress (this link shows it using Apache, but i think it will do for me too as i will use Nginx)

  11. Then install Varnish

  12. Last, SFTP

So guys, is this proccess cool?? Will you change anything? Is that steps order alright?

Thank you so much!


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

I wouldn’t install PHPMyAdmin. You should use a local mysql client (e.g. HeidiSQL) instead and forward port 3306 on your droplet locally: <a href=“”></a>.

I see!!! nice, will do that! <br> <br>I’m think about PHPMyAdmin, it doesn’t matter if i install it right after nginx and fastcgi or only after wordpress, does it??

You will still need to install a FastCGI process manager for php, aka the php5-fpm package.

Thank you Kamal!! <br> <br>I’ve a silly doubt however xDDD <br> <br>I isntalled Nginx following this tutorial: <br> <br>While installing, i saw deveral files refering to fastcgi. Do Nginx comes with FastCGI by default? Or do i still need to follow the FastCGI tutorial: <br> <br>thanks!!

<blockquote>(this link shows it using Apache, but i think it will do for me too as i will use Nginx)</blockquote> <br>Make sure you do not install any packages such as Apache. You only need to migrate the files and the database. <br><blockquote>11. Then install Varnish</blockquote> <br>I would go with <a href=“”></a> instead as it contains Varnish config that works with Wordpress. <br> <br>Other than that, everything else looks good. Good luck! :]