amtoaer

晓风残月

叹息似的渺茫,你仍要保存着那真!
github
x
telegram
steam
nintendo switch
email

[First in the NAS series] Assemble the machine and install the system

Why build your own NAS#

I previously had a pre-built NAS (JiKong Z4), although I had no issues using it, I gradually realized...

  1. I never used the built-in features (such as JiYingShi, JiXiangCe...)
  2. The machine has built-in LAN penetration but cannot freely configure the address, it can only penetrate the machine's built-in features
  3. I already have a public IP for v4/v6, so I don't need LAN penetration at all
  4. I don't have root access to the machine, so I can't fully control the system
  5. The built-in Docker only supports GUI operations, and updating the container's image version requires a complex deletion and recreation process

Overall, in my understanding, this machine has become: a machine that I only use as a Docker launcher, but the experience of using Docker is extremely poor, which made me have the idea of changing machines. Coincidentally, a colleague mentioned it recently, and I couldn't resist the urge to buy it.

Use cases#

My NAS has the following use cases:

  1. Media server (emby, jellyfin, etc.)
  2. Game server (Minecraft, Don't Starve, etc.)
  3. Remote development server (providing x86 environment for ARM-based Mac)
  4. Unexpected other use cases (such as software router, backup server, etc.)

Configuration selection#

I don't have much knowledge about hardware, but because I have the need for a game server and remote development, I'll choose a better CPU and 32GB of RAM should be enough, and other components can be chosen randomly. The final configuration is as follows:

ComponentPrice
JINBADA 3200 Memory 16G * 2356
Qiaosibo N2 Chassis551
FANXIANG 1TB SSD297
TT 450W Fully Modular SFX Power Supply422
LIMIN AXP90-X53 Fan199
MINGXIN H610 ITX Motherboard + i5 124001489
Total3314

Assembly#

The first thing I received was the chassis and power supply, and the chassis looks pretty good:

IMG_20230731_170217

Connect the power supply for the motherboard, CPU, and hard drive backplane of the chassis, and then put it into the chassis:

IMG_20230731_181343

IMG_20230731_182902

Then the other components arrived, and I continued with the assembly:

IMG_20230801_212617

First, install the CPU:

IMG_20230801_213309

Then insert the memory modules:

IMG_20230801_213742

Install the M.2 drive:

IMG_20230801_214744

Attach a fan to the CPU:

IMG_20230801_224900

Secure the motherboard to the chassis:

IMG_20230801_230801

Connect the power cables:

IMG_20230801_232659

Without closing the chassis, power it on to check for any issues:

IMG_20230801_233423

IMG_20230801_233524

Successfully booted into the system drive, assembly is complete!

System installation#

As a loyal user of Arch Linux, there is no doubt that I chose Arch Linux as the NAS system, and I chose the btrfs file system.

With the availability of archinstall, manual configuration is no longer needed. Just select the options and click install. Here are my selections:

I chose Network Manager for Network configuration, but I forgot to take a photo after making the change. The other options are the same.

IMG_20230801_234134

Wait for the installation process to complete, then manually reboot:

IMG_20230801_234201

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.