Choosing the best tools for my Droplets

February 7, 2014 1.5k views
I am finally moving from a Shared hosting to a VPS hosting on Digital Ocean. Since now I have control of what I can install, I would like to know which of these are preferred to install. Web Server Apache or NGinx? I learn that nginx is faster than Apache but Apache has most support. I am not really familiar with both of them. I just want to know which one is better to use, which one is more stable? Database MySQL or MariaDB? I am familiar with MySQL, I just learn that MariaDB is faster, but I am not sure if it's ready for production Optimization APC + (memcached || redis)? APC is the only one i know, any better alternative? as of Memcache and redis, I am not familiar with any of them and they are the only one I know. Now, Should I get a different mail droplets? or should I use 1 droplets to rule them all? (postfix or iredmail + apache or nginx + php + maria or mysql + ubuntu + memcached or redis? Thank you
2 Answers
welcome to DO,

I'm here the same as you new to these stuff... :)

I just moved from the horrifying shared hosting companies that were stealing our money for bad services.

as I understand you want to know what to go for, and this is exactly what I want to ask few months ago...

I can say that Nginx is good compared to Apache for sure. There is a good combination you can go for: Nginx + Php-fpm (php5.5.8 latest ver) + mod_pagespeed. I guess it is better to get at least 1 GB RAM since is good to hold things up. I believe the majority is used Ubuntu for OS, but me I use Debian 7 64x And that is for the performance.

For security sake, I guess it is a long road and I'm still trying things out. You can go with SSH first and how to protect it. Then use Fail2Ban to protect whole system, and you got to be careful to create an image for your droplet whenever things are setup correctly before starting to testing things out. Mod_secuirty is also an excellent tool to protect your system " I heard coders say", but still didn't manage to make it work totally.

don't use memcached or xcache since they are nothing compared to mod_pagespeed. I'm not sure about Mysql compared to MariaDB... still not yet for me... testing soon.

for mail, I go with external service such as Zoho mail since they have free plan. I will go soon on paid one which is about $25 with extra features.

I can't say more because that really depends on you and what you are going to use applications and tools for.

Good luck,

Thanks for your reply, I will take a look at mod_pagespeed, never heard about this one.
Have another answer? Share your knowledge.