Tag Archives: Ubuntu

Change hostname on ubuntu 16.04 xenial

All operations from sudo user sudo su

1. Replace old name with new name in files:

/etc/hostname
/etc/hosts

2. Run commands in  terminal:

3. Recreate ssh keys on the machine:

After reboot machine should be accessed by new name

Docker on Ubuntu quickstart

Short tips how to install and use Docker on Ubuntu Server 16.04

Install Docker engine

Check installation

Continue reading

Install MongoDB on Ubuntu

I extracted some pieces from a good tutorial from official site: http://docs.mongodb.org/manual/tutorial/ adopted for my tasks.

Install on Ubuntu 14.04 Trusty

Import MongoDB public key:

Continue reading