Showing posts with label NUC. Show all posts
Showing posts with label NUC. Show all posts

Tuesday, 11 March 2014

Preparing the NUC

Download ubuntu 13.10

Install ubuntu

  • Plug in the linux installer USB stick
  • Choose 'install ubuntu'
  • When asked what kind of setup, choose 'something else'
  • Delete the current partitions on the second USB stick (-)
  • Create a 27GB Primary partition (ext4)
  • Choose the root file system (mount point) as "/"
  • Create a 4GB swap partition (remaining space)
  • Install ubuntu
Set yourself as superuser each time you open a terminal window:
sudo su
Pass: nuc

Update kernel

(be connected to the internet from here on)
Perform these 4 commands in terminal (ctrl-alt-T)
wget kernel.ubuntu.com/~kernel-ppa/mainline/v3.14-rc1-trusty/linux-headers-3.14.0-031400rc1_3.14.0-031400rc1.201402022035_all.deb
wget kernel.ubuntu.com/~kernel-ppa/mainline/v3.14-rc1-trusty/linux-headers-3.14.0-031400rc1-generic_3.14.0-031400rc1.201402022035_i386.deb
wget kernel.ubuntu.com/~kernel-ppa/mainline/v3.14-rc1-trusty/linux-image-3.14.0-031400rc1-generic_3.14.0-031400rc1.201402022035_i386.deb 
dpkg -i linux-headers-3.14*.deb linux-image-3.14*.deb
Restart and check kernel version:
uname -a (should be 3.14)

Install video drivers

  • sudo add-apt-repository ppa:oibaf/graphics-drivers
  • sudo apt-get update
  • sudo apt-get dist-upgrade

Install java

  • sudo apt-get install openjdk-6-jdk

Install libraries

  •  Copy the contents of "_DEMOS/Libraries/" into /usr/lib/jni/

Run the java application

  • Copy the contents "_DEMOS/" folder from the linux installer USB stick to the desktop
  • In file browser: go to menu > preferences > Behavior and select 'Run executable text files...'
  • Run the executable "mtdemos" file