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 |
Add firewall exceptions
sudo ufw allow ssh |
sudo ufw show added
Enable firewall
Configure Timezones and Network Time Protocol Synchronization
Select area
Set timezone
Configure NTP Synchronization
sudo apt-get update |
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
https://www.digitalocean.com/community/tutorials/how-to-install-git-on-ubuntu-14-04
sudo apt-get update |
user.name=Your Name |
How To Install Node.js on an Ubuntu 14.04 server
How To Set Up Nginx Server Blocks (Virtual Hosts)
https://www.digitalocean.com/community/tutorials/how-to-setup-nginx-server-blocks-on-debian-7
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 |
Restart
sudo service nginx restart |
Ensure user has write permission
sudo chown -R admlocal /var/www |
md5 fingerprint of ssh server
ssh -o FingerprintHash=md5 [email protected] |