自作NAS/サーバー、指導求む

This week I set up an MC server using a small Raspberry Pi, but the performance is far from sufficient. However, I don’t want to use a cloud server, so I’m planning to try upgrading it.

Current requirements are as follows:

  1. NAS
  2. MC server
  3. Chatbot

Now there are mainly two rough plans:

  1. Buy a second‑hand diskless NAS and use my own SSD
  2. Get a more serious higher‑performance server, at least to handle multiplayer without lag or crashes

Friends, any suggestions?

There are many ready‑made “garbage‑collecting” solutions on Bilibili. Since you want to run a Minecraft server, I recommend choosing a CPU with a higher clock speed. DDR4 memory is cheap now, and if you don’t have many players you can consider buying two 8 GB sticks for dual‑channel operation, and add more later.

The most important issue when running a NAS in a dorm is noise, whether it comes from the hard drives or the cooling system. Here are a few foolproof suggestions:

  • Use drives that are meant for NAS.
  • Buy a decent cooling fan; avoid industrial‑type fans.
  • Properly dampen the hard drives—install all anti‑vibration screws and use spring‑type vibration‑absorbing pads (the kind used for KTV speakers; they’re sold on Taobao, a bit pricey, and I haven’t tried them).
  • If the NAS firmware supports it, enable disk sleep.
  • Put frequently used applications on an SSD to reduce hard‑drive wear.

Now a quick guide on how to use a NAS to log into the campus network; I’ve summarized a few tips:

  • Capture the login API on the authentication page, then write a small program in C/C++ or any other compiled language, compile it to a binary, or, if you dislike setting up a build environment, use Python. Schedule periodic API calls to perform the login automatically.
  • Set the whole router to NAT4. If the campus network supports seamless login, simply connect a computer to the router and log in once.

For beginners I suggest trying a “black” Synology (unofficial firmware) or a Feiniu box. I haven’t used Feiniu, but I’ve seen people inside the lab using it, so you could exchange ideas.

Snail‑Star? That’s old and under‑powered.

In fact, you might be better off using your own laptop and upgrading it with two 16 GB RAM sticks, which is more than enough.

My current setup is PVE + OMV + LXC. I pass the physical disks through to OMV for SMB and other sharing services, then mount those shares inside an LXC container. I run a Debian container in LXC mainly to experiment with Docker.

Play around with some interesting Docker images—Docker is very convenient; you can just copy‑paste or use a ready‑made docker‑compose file and run it immediately. It gives beginners a strong sense of achievement.

「いいね!」 1