Additional Recommended Steps for New Ubuntu 14.04 Servers on DigitalOcean


Create new user on Ubuntu 14.04

Adding user to sudo group

Configuring a Basic Firewall

Disable root login via SSH

nano /etc/ssh/sshd_config
service ssh restart

Add firewall exceptions

sudo ufw allow ssh
sudo ufw allow 80/tpc
sudo ufw allow 443/tpc

sudo ufw show added

Enable firewall

Configure Timezones and Network Time Protocol Synchronization

Select area

Set timezone

Configure NTP Synchronization

sudo apt-get update
sudo apt-get install ntp

This is all that you have to do to set up NTP synchronization on Ubuntu. The daemon will start automatically each boot and will continuously adjust the system time to be in-line with the global NTP servers throughout the day.

How To Install Git on Ubuntu 14.04


sudo apt-get update
sudo apt-get install git
user.name=Your Name
[email protected]

How To Install Node.js on an Ubuntu 14.04 server


How To Set Up Nginx Server Blocks (Virtual Hosts)


sudo apt-get install nginx

Edit configuration

sudo nano /etc/nginx/sites-available/default

Create web root folder

sudo mkdir -p /var/www/blog.rylander.io/html


sudo service nginx restart
sudo service nginx start | stop | reload

Ensure user has write permission

sudo chown -R admlocal /var/www

md5 fingerprint of ssh server

ssh -o FingerprintHash=md5 [email protected]