I made a high-spec Linux desktop with Intel NUC + SSD 2TB + DRAM 32GB

I bought Intel NUC before the tax increase at the end of September last year in order to make effective use of the PayPay points that were given as 20% of the purchase price when I purchased MacBook Air 2018 with PayPay in the bonus season of the year before last. I also bought SSD and DRAM in the bonus season at the end of last year and built a Linux desktop machine, so I decided to put together various things to commemorate.

This and that of my own work

Purchase of parts

For reference, the detailed information of the parts purchased this time is described. I bought the barebone before the consumption tax hike, so it is the price at that time.

Types of parts Model number Maker price Remarks
Body NUC8I7BEH Intel ¥66,000. Barebone attached to CPU,¥ 44 for payment,461.Use PayPay points for minutes
CPU Core i7 8559U Intel - Included with barebone, 4C8T, 2.7GHz(TB time:4.5GHz)
SSD1 NM610(1TB) Lexar ¥11,528.(Replacement guarantee:¥500.) NVMe SSD OS,Used for boot loader installation
SSD2 NS100(1TB) Lexar ¥10,428.(Replacement guarantee:¥500.) /Used as a drive for home
DRAM CT2K16G48FD8266 DDR4 2666(32GB) crucial ¥16,918. Because the maximum mountable memory capacity of the motherboard is 32GB
display
21.5inch Wide
PH15997426 PHILIPS ¥8,980. HDMIx2+D-Equipped with SUB
NTT-Purchased at X Store New Year Sale
keyboard K380 Logicool ¥3,500. You can register up to 3 PCs, so purchase. Use the existing mouse
heatsink SS-M2S-HS02 Nagao Seisakusho ¥1,359. We purchase for NVMe SSD cooling
power cable - - ¥0. Since the power cord is not attached to the AC adapter that comes with the barebone, it is borrowed from the AC adapter of an unnecessary tablet PC.

Total cost: ¥ 107,185. (When PayPay is considered: ¥ 62,724.)

(Addition) Expandability of Intel NUC8I7BEH

The barebone used this time is palm-sized, but I think it has some expandability. (The photo below is the actual size)

image.png

specification
USB3.0 x 4(Front x2,Back x2)
Thunderbolt 3 port(back)
HDMI port(back)
Intel® Ethernet Connection I219-V(back)
Audio port (headphone / microphone compatible, front)
Intel® Wireless-AC 9560 + Bluetooth 5.0(Built-in)
Micro SD card slot(The left side)

Reference: Intel® NUC Kit NUC8i7BEH

PC assembly

Attaching the purchased parts to the barebone is much easier than making your own from scratch. All you have to do is open the barebone and install the parts on the motherboard.

OS setup

Set up the OS so that the assembled PC can operate. This time I installed Ubuntu 18.04.4 LTS Desktop version. At first I tried to install the Server version, but I decided to install the Desktop version because the SSD was not recognized and I wanted to use the GUI as well. The partition structure is as follows.

partition capacity Remarks
efi 1GB Partition for UEFI. Traditional/Partition to replace boot
/ 300GB /Partition for root etc.
/usr 344GB Partition where the application to be installed is stored
/var 344GB Initially, we plan to make it about 20GB, but we increased it because it turned out to be a partition that plays an important role in KVM.
swap 10GB /~swap is assigned to NVMe SSD
/home 1TB One whole SATA SSD/Allocate for home

Ubuntu package manager

Ubuntu's package manager is generally apt-get, but the latest version of Ubuntu seems to recommend apt. There is also a package manager called aptitude, but it seems to be deprecated in Ubuntu 18.04. I used to use aptitude, but I will take this opportunity to switch to apt. Reference: http://ultra-genma.hateblo.jp/entry/2019/04/08/233718

ufw settings

I have set up a firewall. I set it because ufw was already installed. Until 16.04, I had to install it myself, but it seems to be installed automatically. Reference: Basic operation of ufw

ssh settings

We will create a key file and hand it over so that you can log in without a password.

ssh-keygen -t rsa -f ~/.ssh/id_rsa_ubuntu18
ssh-copy-id -i ~/.ssh/id_rsa_ubuntu18 <USER_NAME>@<HOST_IP>

Reference: Pass the public key with ssh-copy-id

mDNS settings

For SSH access from within the same network, you can access it with HOST_NAME.local, and you do not need to enter the IP address.

Reference: Set up mDNS and stop typing in the IP address one by one.

Summary

I made my own Linux machine using Intel NUC. With this spec, if it is a little over 100,000 yen, I think that it was a self-made product with good cost performance. Since I made a machine with abundant resources, I would like to take advantage of KVM-based multi-node Kubernetes construction and support for Thudebolt 3 to install an eGPU and challenge to make it a GPU machine.

Future improvement schedule (consultation with budget required)

Reference https://eng-entrance.com/linux-partition Core i7-8559U

Recommended Posts

I made a high-spec Linux desktop with Intel NUC + SSD 2TB + DRAM 32GB
I made a fortune with Python.
I made a daemon with Python
I made a character counter with Python
I made a Hex map with Python
I made a life game with Numpy
I made a stamp generator with GAN
I made a roguelike game with Python
I made a simple blackjack with Python
I made a configuration file with Python
I made a WEB application with Django
I made a neuron simulator with Python
I made a stamp substitute bot with line
I made a competitive programming glossary with Python
I made a weather forecast bot-like with Python.
I made a GUI application with Python + PyQt5
I made a Twitter fujoshi blocker with Python ①
[Python] I made a Youtube Downloader with Tkinter.
I made a simple Bitcoin wallet with pycoin
I made a LINE Bot with Serverless Framework!
I made a random number graph with Numpy
I made a bin picking game with Python
I made a Mattermost bot with Python (+ Flask)
I made a QR code image with CuteR
[AWS] I made a reminder BOT with LINE WORKS
I made a Twitter BOT with GAE (python) (with a reference)
I made a ready-to-use syslog server with Play with Docker
I made a Christmas tree lighting game with Python
I made a vim learning game "PacVim" with Go
I made a window for Log output with Tkinter
I made a net news notification app with Python
I made a Python3 environment on Ubuntu with direnv.
I made a LINE BOT with Python and Heroku
I made a falling block game with Sense HAT
A story that stumbled when I made a chatbot with Transformer
I made a simple typing game with tkinter in Python
I made a LINE BOT that returns parrots with Go
I made a package to filter time series with python
I made a simple book application with python + Flask ~ Introduction ~
I tried replacing the Windows 10 HDD with a smaller SSD
I made a resource monitor for Raspberry Pi with a spreadsheet
I made a puzzle game (like) with Tkinter in Python
I made a rigid Pomodoro timer that works with CUI
I made a surveillance camera with my first Raspberry PI.
I made a plug-in that can "Daruma-san fell" with Minecraft
[AWS] I made a reminder BOT with LINE WORKS (implementation)