GithubHelp home page GithubHelp logo

fusionjz / skull-canyon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rm-hull/skull-canyon

0.0 1.0 0.0 47 MB

Notes on setting up Ubuntu 16.10 (Yakkety Yak) on Intel NUC6i7KYK

License: MIT License

skull-canyon's Introduction

Skull Canyon

Maintenance

Notes on setting up Ubuntu 16.10 (Yakkety Yak) on Intel NUC6i7KYK tech-spec [PDF]

skull-canyon

Components

Download Ubuntu 16.10

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 Settings

BIOS & firmware updates available from: https://downloadcenter.intel.com/product/89187/Intel-NUC-Kit-NUC6i7KYK

Fast Boot

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).

Blink Codes and Beep Codes

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.

References

Keyboard Mappings

showkey displays the key mappings and keytouch-editor allows custom key mappings to be created.

References

Ubuntu Install

On Installation type screen, don't pick 'Encrypt the new Ubuntu installation for security': Use home folders encryption instead.

/etc/fstab

Alter /etc/fstab to set the root partition options to include noatime. Remount with sudo mount -o remount / (does not need a reboot).

Resizing Partitions

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.

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 Settings

  • Terminal size: 80 x 43
  • Custom font: Monospace Regular 9
  • Colors: Grey on black
  • Use transparent background: 10%
  • Limit scrollback: Unlimited

JDK Font Settings

Add the following line to /etc/environment to enable better font rendering in applications such as IntelliJ:

JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd'

System Settings

  • Appearance > Behaviour Show the menus for a window: In the window's title bar

SSH Key generation

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

Pull down Essentials pour le vim exigeants basés programmeur informatique agiotage

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

APT Packages

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

NFS Mount Point

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

Benchmarking

CPU

  • Skull Canyon: 41472.00 BogoMIPS
  • i7-4700MQ: 38312.84 BogoMIPS

I/O

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

Troubleshooting

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.

References

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.