Creating an OctoPrint Atom Server

This is a work in progress – not complete yet…

  1. Optional: Go through the Windows install on the NUC and setup (and updated) the pre-installed Windows 10 Home – once fully updated I created a full disk backup ISO using the Windows tools.  I’ll probably never use this but I think of it as a safety net.
  2. Download the linux distribution.  For this I’m using Ubuntu 16.04 LTS (64 bit) – this was current at the time of writing.  Download the iso to your local disk (ubuntu-16.04.2-server-amd64.iso).
  3. Create a bootable install USB stick.  I’ve tried a number of tools but Rufus 2.15 had the best success.
  4. Boot up the NUC with the USB stick – you may need to head into the bios and select the boot drive.
  5. Install Ubuntu.  There’s many tutorials on how to do this – only ‘additional’ package in installed was SSH.
  6. Reboot and login with your own account.
  7. Enable root and root SSH.  First you need to give the root account a password:
    sudo passwd root

    and then edit the ssh config with ‘vi’:

    sudo vi /etc/ssh/sshd

    find the ‘PermitRootLogin’ line, press ‘Insert’ key to edit, and change it to:

    PermitRootLogin yes

    press ‘Esc’ key to exit edit then ‘:w’ to write and ‘:q’ to exityou can restart the service but I find it just a quick to reboot:

    sudo reboot
  8. Move the NUC to where you want it to go and attach power and ethernet.  At the time of writing I was unable to get WiFi working but this may change in the future.
  9. Download and install WinSCP and Putty.
  10. Optional: I like to set a reservation for the NUC in your DHCP (router) – this way you’ll always have the same IP for the NUC.
  11. Start WinSCP and login as root, also start Putty and login as root.

  12. From time to time you’ll need to update Ubuntu – we’ll do it now:
    apt-get update


    apt-get upgrade

    Note that you don’t need sudo since you’re logged in as root.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s