Guidelines to install VPS DigitalOcean

It is real discouraging that there are web hosting servers that don’t provide hosting services as required. These servers are mostly found to be slow and very expensive to maintain. DigitalOcean has the ability of offering first class VPS services.
DigitalOcean

What’s about DigitalOcean
DigitalOcean is a virtual private serverb VPS) that dedicates its services towards provision of SSD to servers. Just like most virtual private servers, DigitalOcean is new in the market. It provides options as to what OS clients prefer, the various languages needed by clients, building of a firewall plus many other related services.

What makes DigitalOcean different?
A Brief Note on Cost Differences
Where in the world today can you get a SSD storage machine on a Tier-1 Network with 1 TB Data transfer pre-packaged for $5? Its only at DigitalOcean. Can you believe that?? Me neither!! I don’t know how they can afford to do it like that, but they just got a customer for life! Every other provider with comparable solutions, charge you at least 6-8 times as much, AND in most cases you get either a slower machine, or a sandboxed solution, basically not being true VPS. But DigitalOcean does, now I’m using DigitalOcean.

Features that differentiate DigitalOcean From other VPS
It is only on DigitalOcean where a person can easily get an SSD storage machine that has got 1 TB Data for only 5 US Dollars. This cost is almost seven times lesser the price charged on other providers. It is also possible for one to transfer all contents of a website in duration of less than 30 minutes. It is easier for you to get articles from DigitalOcean that provides new users with adequate information on how to manage VPS DigitalOcean.

DigitalOcean helps users to install a page speed module that improves response time on your Google network. The high speed of this server boosts the score of a website that has been hosted on DigitalOcean as compared to getting your website hosted by other servers. Another feature that makes this VIP serve to look outstanding is the easiness at which a site owner can do some backups for his or her site.

It is more efficient to manage your infrastructure especially now that DigitalOcean is offering quick cloud technology. This server has got a flexible API, and it provides the capability to choose the data center location that is closest. It is even enjoyable to get associated with DigitalOcean because this site has established its reputation in this digital era.

Tranfer website interval 30 minutes
That’s why I can create a droplet, install Ubuntu, install LAMP stack with Vanish then complete tranfer all my website from Hostgator to DigitalOcean interval 30 minutes. Don’t worry, you can do like that with a ton of DigitalOcean articles which help new user can manage their VPS.
When it comes to my servers and development projects, I’m a control freak. If I think making a tweak might improve performance, I want to be able to try it. For example, once I had the site setup on DigitalOcean, I quickly installed the awesome mod_pagespeed module by Google into Apache and began testing and tweaking to further improve my response time.

Another thing that makes them a worth try is the ease at which you can do backups. They call it Snapshots and a snapshot is an image of the system at the point a snapshot is generated. Simple shutdown the droplet, click Take snapshot and you are done. But the problem is that you have to take the VPS down to be able to take snapshots.

Support
DigitalOcean’ Support has been terrific. So far, I had absolutely no problems with them. Even when I encounter a problem, I open up a support ticket and a reply comes in about 5 – 10 minutes.

Guidelines to Install a DigitalOcean VPS
As you see, I use WordPress as my website. So I will building a VPS with Ubuntu, Apache, PHP, MySQL (LAMP), I’m not use Nginx because Nginx is not appropriate server for for WordPress.
I created a new droplet with the lowest plan, and kicked it to Ubuntu 12.04 x64. DigitalOcean emails you the root password for the machine after it’s kicked (doesn’t take long at all), and then you’re on your way. I started by installing Apache, MySQL, and PHP one at a time using apt-get.
To make it dead simple you can choose WordPress on Ubuntu 12.10 under Create > Select Image > Applications

Server Control Panel:
Not like another hosting providers, they give you use CPanel as webhost control panel for free. If you want to using it, you must pay $200 annually, that’s why I choosed ZPanel as alternative webhost control panel. It’s free and powerful but had some limitations.

  • At this time, ZPanel only officially supported Ubuntu 12.04 LTS, CentOS 6.4 and Windows. If you want to install it on another Linux distro or OS, you must do it by yourself.
  • ZPanel not support Nginx, Varnish as well.
  • It hasn’t officially automatic scripts installer.

Install ZPanel is very easy. Just follow DigitalOcean’s article How To Install and Configure ZPanel on an Ubuntu 12.04 VPS on their Help & Community section. Because ZPanel setup phpMyAdmin, FPT Account, Autobackup, VHOST, securing PHP with Suhosin … you will get a high quality as fast-food VPS ready to deploy your website.
Some good tutorials provided by DigitalOcean:

  1. How to Set Up a Host Name with DigitalOcean
  2. How To Install and Configure Varnish with Apache on Ubuntu 12.04
  3. How To Set Up Mod_Rewrite
  4. How to Get Started With mod_pagespeed with Apache on an Ubuntu and Debian Cloud Server
  5. How To Configure Logging And Log Rotation In Apache On An Ubuntu VPS
  6. Server Optimization articles
  7. Security articles

DigitalOcean VPS tips
MySQL Problems!
I read about this problem first, so I can setup VPS running without it by simple tricks. The DigitalOcean images have no swap space allocated by default. That’s cause of MySQL problem when your VPS run out memory. Luckily this seemed to be a common question for DigitalOcean. They have a step by step by step guide for setting it up on Ubuntu 12.04.

Setting up DigitalOcean VPS Firewall
Digital Ocean doesn’t provide firewalling as a service in the way that AWS does via its security groups, so your newly instantiated Ubuntu box is naked on the internet. This is generally acknowledged to be a bad thing: you want to lock it down so that only permitted IP addresses can log in via SSH for example.

A good way to manage firewall setup on Ubuntu is to use UFW, the Uncomplicated Firewall management tool that configures iptables for you. The following bash commands set up a firewall for a web server, for example, assuming there were no rules in place to begin with – which is the case for a newly instantiated Ubuntu 12.04 instance at Digital Ocean. The server will allow port 22, 80, and 443 access from anywhere, while limiting connections to 22 in an attempt at least somewhat mitigate the roving machinery that will at some point try to brute-force an SSH login:
apt-get install ufw
ufw enable
ufw logging low
ufw limit 22/tcp
ufw allow 80/tcp
ufw allow 443/tcp

You can then see the current set of firewall rules by running this command:
ufw status verbose

Look with VPS DigitalOcean’s plan
Unfortunately, DigitalOcean not offer trial plan. You need pay before use their service.
Digital-Ocean-Plan

Conclusions
VPS DigitalOcean offers an extremely fast cloud technology allowing its users to manage their infrastructure in a more efficient manner. With its flexible API, high-performance SSD storage and the capability to choose the closest data center location.

Leave a Reply

Be the First to Comment!

Notify of
wpDiscuz