Notes on setting up Ubuntu 16.10 (Yakkety Yak) on Intel NUC6i7KYK tech-spec [PDF]
- Intel NUC6i7KYK - 6th generation Intel® Core™ i7-6770HQ processor with Intel® Iris™ Pro graphics (2.6 to 3.5 GHz Turbo, Quad Core, 6 MB Cache, 45W TDP).
- 950 PRO NVMe M.2 SSD - 256Gb, NVMe SSD powered by Samsung V-NAND technology. Up to 2,200MB/s sequential read and 900MB/s write.
- Komputerbay 32GB ( 2x 16GB) SODIMM - Laptop Memory Upgrade DDR4 2400MHz PC4-19200 SODIMM 2Rx8 CL16 1.2v Notebook RAM.
- Microsoft All-in-One Media Keyboard.
Dowfnload 64-bit desktop ISO image (1.5Gb) from http://releases.ubuntu.com/16.10/ and use Startup Disk Creator to burn to a USB drive.
BIOS & firmware updates available from: https://downloadcenter.intel.com/product/89187/Intel-NUC-Kit-NUC6i7KYK
Enabling fast boot means that there is no straightforward way to get to the BIOS settings, as the splash screen with F2 / F7 / etc options is skipped entirely. With the machine powered off, press and hold the power button for 3-4 seconds then release. You should see a menu appear listing various options, one of which is BIOS Setup (press F2).
The power LED on the Intel® NUC blinks in a pattern if an error occurs during POST. Intel NUC products that include a front panel audio jack produce an audible beep pattern that you can hear through headphones or speakers plugged into that jack.
Code | Diagnosis | Pattern |
---|---|---|
3 blinks (3 beeps) | Memory error | On-off (1.0 second each) three times, then 2.5-second pause (off). The pattern repeats until the computer is powered off. Some memory sticks, while supported by hardware spec, can still cause issues. Some errors can be fixed by removing one stick if two are installed. A non complete list of supported RAM can be found here. |
Continual blinks | BIOS Update in progress | Off when the update starts, then on for 0.5 seconds, then off for 0.5 seconds. The pattern repeats until the BIOS update is complete. |
2 blinks (2 beeps) | Video error (when no VGA option ROM is found) | On-off (1.0 second each) two times, then 2.5-second pause (off). The pattern repeats until the computer is powered off. |
16 on/off blinks (8 beeps) | CPU thermal trip warning | 0.25 seconds on, 0.25 seconds off, 0.25 seconds on, 0.25 seconds off, for a total of 16 blinks. Then the computer shuts down. |
BIOS KYSKLi70.86A.0046.2017.0407.1426 installed.
showkey
displays the key mappings and keytouch-editor
allows custom key mappings to be created.
- http://unix.stackexchange.com/questions/198715/media-key-problems-with-microsoft-keyboard
- http://unix.stackexchange.com/questions/227264/is-it-possible-to-tweak-input-from-touchpad
- http://askubuntu.com/questions/363346/how-to-permanently-switch-caps-lock-and-esc
On Installation type screen, don't pick 'Encrypt the new Ubuntu installation for security': Use home folders encryption instead.
Alter /etc/fstab to set the root partition options to include noatime.
Remount with sudo mount -o remount /
(does not need a reboot).
Swap was original set at 32Gb - not really a good use of expensive SSD, so this was reduced down to 4Gb, and then the space reclaimed into the root partition.
- http://askubuntu.com/questions/226520/how-to-modify-size-of-swap-with-a-lvm-partition
- http://www.geoffstratton.com/expand-hard-disk-ubuntu-lvm
Confirm with:
$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 9.9M 3.2G 1% /run
/dev/mapper/ubuntu--vg-root 229G 4.7G 213G 3% /
tmpfs 16G 152K 16G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/nvme0n1p2 473M 124M 325M 28% /boot
/dev/nvme0n1p1 511M 3.6M 508M 1% /boot/efi
tmpfs 3.2G 100K 3.2G 1% /run/user/1000
/home/rhu/.Private 229G 4.7G 213G 3% /home/rhu
- Terminal size: 80 x 43
- Custom font: Monospace Regular 9
- Colors: Grey on black
- Use transparent background: 10%
- Limit scrollback: Unlimited
Add the following line to /etc/environment
to enable better font rendering in applications
such as IntelliJ:
JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd'
- Appearance > Behaviour Show the menus for a window: In the window's title bar
Generate an RSA public/private keypair with ssh-keygen
. Upload the public key
to github, and add to https://github.com/rm-hull/dotfiles/blob/master/.ssh/authorized_keys
From a command prompt:
$ sudo apt-get install git
$ git clone [email protected]:rm-hull/dotfiles.git
$ cd dotfiles
$ ./bootstrap.sh
Answer 'y' when prompted.
Copy ~/.apt-lists/* into /etc/apt/sources.list.d as root, and trust the keys:
$ sudo cp -av ~/.apt-lists/*.list /etc/apt/sources.list.d
$ sudo apt-key add ~/.apt-lists/TRUSTED-KEYS.txt
Install some common packages from the Ubuntu mines:
$ sudo apt-get install git htop tree nfs-client sshfs gimp openssh-server \
exhuberant-ctags silversearcher-ag postgresql postgresql-client \
openvpn network-manager-openvpn network-manager-openvpn-gnome \
optipng p7zip unrar mplayer ffmpeg gitg conky-all acpi vim-gtk \
ttf-mscorefonts-installer
Next install some packages from other sources:
$ sudo apt-get install virtualbox-5.1 oracle-java8-installer \
google-chrome-stable intellij-idea-community mongodb-org nodejs \
sbt
Create a mount point with sudo mkdir -p /mnt/atrax
and add the following
entry to /etc/fstab:
192.168.1.65:/ /mnt/atrax nfs4 _netdev,auto,intr,timeo=14,x-systemd.device-timeout=3s,nofail,noatime 0 0
Mount it, and re-assign links:
$ sudo mount /mnt/atrax
$ cd ~
$ rm -rf Documents Music Videos Pictures
$ ln -s /mnt/atrax/users/rhu/Documents
$ ln -s /mnt/atrax/media/Music
$ ln -s /mnt/atrax/media/Photos Pictures
$ ln -s /mnt/atrax/media/Videos
- Skull Canyon: 41472.00 BogoMIPS
- i7-4700MQ: 38312.84 BogoMIPS
Running hdparm -tT /dev/...
:
Device | Drive | Buffered Reads | Cached Reads |
---|---|---|---|
Skull Canyon | Samsung M2 | 2055.28 MB/sec | 13037.37 MB/sec |
i7-4700MQ | Kingson v300 SATA | 308.45 MB/sec | 8916.75 MB/sec |
HP Proliant Server | WD 7200RPM HDD | 11.10 MB/sec | 1403.80 MB/sec |
Digital Ocean droplet | Virtualized SSD | 270.41 MB/sec | 6461.35 MB/sec |
To stop repeated [ 9351.591170] iwlwifi 0000:03:00.0: Queue 11 stuck for 2000 ms.
messages and catatonic WiFi performance, edit edit
/etc/modprobe.d/iwlwifi.conf and add:
options iwlwifi 11n_disable=1
This disables Wireless-N networking. The fault appear to be firmware related and limited to certain networks.