/gateway-setup

Setup scripts for the Intel Commercial IoT Workshop

Primary LanguageShell

Ubuntu on NUC

This is a slimmer version just for workshops without node-red and other Intel platform tools.

Install Ubuntu Server

English all (default settings, just hit enter)

  • Hostname: ubuntu-nuc
  • Username: nuc-user
  • Password: root
  • Use weak password - YES
  • Encryption - No
  • Force UEFI Install -YES

If 64GB or more:

  • use guided partition: use entire disk
  • No proxy
  • Install security updates automatically
  • Install openSSH server and standard system utilities (use space to select)

If 4GB model:

  • Manual partition:
  • Delete all partitions
  • Create 150MB logical at beginning, use as EFI system partition area – bootable flag on
  • Create 3.7 primary, use as Ext4, mount point /, bootable flag off
  • Create ~100 MB (rest of disk) logical at beginning, use as swap area – bootable flag off,
  • Finish partition and write changes to disk

Once booted:

  • After you log in with your credentials enter following commands:
    nuc-user@ubuntu-nuc:~$ sudo passwd root
  • Enter your password and then new UNIX password as 'root' for 'root' login
  • Next switch to root user
    nuc-user@ubuntu-nuc:~$ su root
  • Give the password 'root' which you just set
  • Next fetch the ubuntu installation script and run it
    root@ubuntu-nuc:/home/nuc-user# cd ~
    root@ubuntu-nuc:~# git clone https://github.com/typemismatch/gateway-setup.git
    root@ubuntu-nuc:~# cd gateway-setup
    root@ubuntu-nuc:~/gateway-setup# ./ubuntu-gateway-setup.sh
  • After script completes your system will reboot