Question

Need some guidance

  • Posted on December 2, 2013
  • sgrengerAsked by sgrenger

Hello guys!!

First of all, i want thank you all for the support you have given me!!

I’m totally new with all this vps stuff, so i’m trying my best to learn as fast as i can! I’m glad there are so many tutorials in here!!

The problem is that i’ve been following many of those tutorials, but i’m getting lost a lot, because i often need to merge 2 or more tutorials to do what i want, and then one of them says one thing and the other says another (which is good, cause they serve different purposes).

So, i wish i could have some guidance, like: 1- follow this link, then 2- this link, then 3- and so on, based on what i need.

I know that i’m asking too much, but i’m willing to restart my droplet because i’m afraid i’ve done something wrong, mainly in the safety area… and i know that there are some things i can´t do after i’ve done other things…

Here is what i’ve done already: installed ubuntu 10.04 64x (don´t know about ubuntu or CentOS, but i followed a guide that said to install ubuntu, and i even made some changes in ssh and the droplet port, changing from 22 to 25000, based on the guide) - then i installed Zpanel, and only got to see its interface by thyping in the web browser the droplet’s IP (i did’nt change the droplets hosts file nor my computer’s hosts file), and then i got confused about firewalls, ports and stuff like that, temporary DNS, etc…

So, i what i need now is the following:

I need to migrate my wordpress blog from a shared hosting to DigitalOcean, but i want it to be very secure (i still don’t know enough about security), because my site is big and i gain money from it, so there were cases of people trying to hack it. The site needs to be able to handle a lot of simultaneous traffic as well, and fast, if possible…

Also i need to use a control panel, like Zpanel (because cPanel is paid service). I’ve been told that Zpanel installs LAMP and phpMyAdmin by itself…

I’ve heard Varnish is very good for caching and allowing a lot of traffic too, but i dont know when is the correct time to install it… Should i install it? After Zpanel? Before Zpanel? After Wordpress? Also i’ve read something about php APC, fast cgi, but don´t know about them…

Then i need to restore my database and content of the wordpress site (can i do it with zpanel interface?), and after that i need to test it before propagating the DNS…

And then i want to know there is anything else to do before i propagate my DNS and get my site to work as before, but now on DigitalOcean =))

I know its too much to ask, but thank you guys anyway!!


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

<blockquote>1. Should i add a Swap on ubuntu?? I mean, for me that will use Wordpress blog with high traffic.</blockquote> <br>Yes, but make sure you set the swappiness level to 0: <br><pre>echo vm.swappiness=0 | sudo tee -a /etc/sysctl.conf <br>sysctl -p</pre> <br> <br><blockquote>2. Memcache, should i use it too?? People here say that it can speed up my site, but i will already use varnish, nginx, W3Total cache plugin, and maybe CloudFlare. Should i add Memcache as well? </blockquote> <br>It’s recommended that you use it since it’s an in-memory cache which will speed things up. But you can’t just “use” it, your app (Wordpress in this case) needs to support and use memcached, I believe there are plenty of plugins that do this. <br> <br><blockquote>3. What abou FastCGI on php?? Would you guys recommend it? </blockquote> <br>If you are going to use nginx, you will have to use fastcgi. FastCGI is faster even if you use Apache so I recommend going with it. <br> <br><blockquote>4. APC on PHP, should i install it even with all those cache stuff?? </blockquote> <br>Yes, I recommend installing an op-cache extension such as APC. <br> <br><blockquote>5. Is it recommended for me to make a CDN after all? Or stick with CloudFlare?</blockquote> <br>Depends. Cloudflare is usually enough.

Hello guys!! Im back again! <br> <br>Thank you very much for your isntructions, i’m creating anew droplet now following step by step all of the instructions of this thread!! <br> <br>But now i’ve got more questions, hehe: <br> <br>1. Should i add a Swap on ubuntu?? I mean, for me that will use Wordpress blog with high traffic. <br> <br>2. Memcache, should i use it too?? People here say that it can speed up my site, but i will already use varnish, nginx, W3Total cache plugin, and maybe CloudFlare. Should i add Memcache as well? <br> <br>3. What abou FastCGI on php?? Would you guys recommend it? <br> <br>4. APC on PHP, should i install it even with all those cache stuff?? <br> <br>5. Is it recommended for me to make a CDN after all? Or stick with CloudFlare? <br> <br>6. What is the best tool for monitoring the server status, like ram, cpu usage, etc? Atop? Munin? Cacti? <br> <br>Thanks so much guys!! I know its a lot of qestions, but i’m intending to make this thread al my own walkthrough for my perfect droplet haha! <br> <br>Thanks guys!!

<blockquote>To install phpMyAdmin, Is it better to install it before Wordpress, or after Wordpress (with the wordpress tables already in the server)??</blockquote> <br>Doesn’t really matter. Works the same either way.