Monday, 19 October 2015

Digital Ocean Server admin basics

It is always essentials to get all the basics of the server admin if you are going to host a website by your own. Great !! Lets start with the very basics.

What i am going to use as a host service is digital ocean which will provide you VPS in a cloud style that is pay whatever you use. But after i create my cloud instance how can i access the remote server ? Yeah SSH (Secure shell) !!

This video is a very quick introduction to what is SSH ?


This one shows how to setup a ssh server


Now lets go in the digital ocean way itself, I have found many articles in the digital ocean to how to manage the server.
  • After creating a droplet in the digital ocean we need to connect to that droplet via SSH, this article tell you how to do that.
  • Now we want to see how the server has to configure for the SSH, You can check out this wonderful tutorial for getting an overview of what is happening.
Here is the command that i have used.

From server to local 

rsync -azP User@X.X.X.X:/var/www/html/drupal/sites /var/www/html

From local to server

rsync -azP /var/www/html/sites  User@X.X.X.X:/var/www/html/drupal



But this video is simple and elegant, it shows that how to create a public-private keys and how to connect to your remote server.Awesome !!



And finally we need to make the site online, here is the details for initial setup to be followed in digital ocean.


GUI to manage the server

After few searches in the internet came to know about webadmin one of the GUI based application for managing the server. So that it will give easy access to each and everything and we need not do all the file edit from the server.Here is the tutorial tells you how you will do it.



Oh You have not done yet !! want to add a domain name to the droplet that we have created ? So simple in digital ocean - Refer this tutorial to do that


FIle permissions

You might come across the permission problems in the system. Here is the stack answer deals with that in detail



1 comment:

  1. I really like the way you write and explain the things and i really love that my question is It can work with my Windows 7 Ultimate I am not comfortable to use link red hat and Unix Ubuntu.

    Cdn reviews

    ReplyDelete