Skip to content

Ubuntu Install

Cooper Filby edited this page Oct 9, 2017 · 2 revisions

UBUNTU AND APPLICATION USER ACCOUNT

Install Ubuntu 16.04 LTS Server:

  1. Download Ubuntu 16.04 LTS Server ISO from ubuntu.com.
  2. Burn the ISO to disk or flash drive
  3. Boot the computer from the disk or flash drive
  4. Follow the on-screen instructions through to install.

Create Application User account:

More Info

This is the user account we'll use to run the SparkEd NodeJS Service. Most software will need to be installed on a root account.

  1. Login into server as root: ssh root@<server_ip_address>
  2. Add user: adduser <username>
  3. Set and confirm password:
    a.	Set password prompts:
    b.	Enter new UNIX password:
    c.	Retype new UNIX password:
    d.	passwd: password updated successfully
  1. Setup new user’s info:
    User information prompts:
    a.	Changing the user information for username
    b.	Enter the new value, or press ENTER for the default
        i.	    Full Name []:
        ii.	    Room Number []:
        iii.	Work Phone []:
        iv.	    Home Phone []:
        v.	    Other []:
    c.	Is the information correct? [Y/n]

Setup Basic Firewall:

Recommended and secure setting for all applications that will be used only internally.

  1. To see the application registered with UFW: sudo ufw app list

    a. OpenSSH in our case

  2. Allow OpenSSH: sudo ufw allow OpenSSH

  3. Enable Firewall: sudo ufw enable

  4. Check ufw (Firewall) Status: sudo ufw status

Update libraries and packages:

  1. Type: sudo apt-get update; sudo apt-get upgrade

Next Steps

With your OS installed and application user accounts created, next setup your MongoDB instance.