家庭娱乐服务器setup
Media Server
Hardware
Raspberry Pi 3B + USB hard disk
Software
- HTTP file server: nginx
- Photo gallery: pigallery2 + nginx (tried piwigo, too slow and heavy for Pi)
- File remote access: smb->sftp (tried Merlin router built in SMB, not doesn’t support ExFAT disk format)
- Media server: Plex (tried smb, pro is mobile friendly, con is UI not friendly)
- Download server: qBittorrent (tried
- Transmission, no global trackers)
- NAS: omv 5 (SMART, monitoring, not so many useful plugins)
- DNS Ad blocker: AdGuard home (tried Pihole, UI not as intuitive; tried Diversion, broken for Merlin 386.3; overall DNS ad blocking is not so effective)
USB hard disk auto idling
hd-idle (tried hdparam, not working for USB disks)
Overall experience
Pros:
- Always on
- low power consumption
- 不占桌面空间
Cons:
- Weak compute power
- No UPS auto shutdown (For now, if power down, sd card in Pi is possible to crupt, but since external USB is mostly idle, usually not write activities, should be fine if shutdown.)
ARM-based Mini Linux PC is the ideal home server. Merlin router is mostly good at 科学上网,其他网络应用要求更好的性能和存储空间以及更好的软件支持,最好用其他服务器(RPi or HTPC)。
Game streaming server
Hardware
Steamlink + Gaming laptop + Xbox one OG controller with wireless adapter
Software
Steam
Wake on lan
- Replace dead battery
- Upgrade BIOS to support s5 (shutdown) wake on lan
Xbox one OG controller with wireless adapter
As xow is already bundled with steamlink, it should work. Caveats:
- xow doesn’t support pairing, need to pair on pc before using on steamlink
- VirtualHere conflicts with xow, need to stop sharing adapter in virtualHere
Steps to connect XBox one OG controller with wireless adapter:
- Stream games on PC
- Connect wireless adapter on pc
- Pair with Xbox one OG controller
- Unplug the wireless adapter
- Plug in to steamlink
- Unplug power to shutdown steamlink
- Reconnect power to boot steamlink
- Once booted, press button on wireless adapter and Xbox one controller sync button (the one on the side), should both light up and connected
- Next time just press button on wireless adapter and the wake button(with logo) on Xbox one controller, should reconnect pretty fast.
Previous home media server
Hardware
old MacBook Pro + Ethernet adapter
Software
- Photo management: PhotoPrism (tried PhotoStructure, also good, though not as easy and powerful as PhotoPrism)
- Download server: 迅雷
Wake on Lan (MacBook pro only support Ethernet wake on lan when lid closed)
- Ethernet adapter
- forward Port 9
- Turn on Caffeine (to Keep Mac awake)
Overall experience
Pros:
- Powerful hardware
- Support PhotoPrism (4g ram)
- 迅雷下载速度快
Cons:
- 占桌面位置
- Not always on (need to Wake on Lan first to save power)
Future upgrade considerations
Server
Mini PC with UPS and more powerful hardware, probably with large internal storage (SSD & 2.5 hard disk)
Storage
Hard disk or external hard disk? Both SATA interface, should work the same, right? Except external is easier to break.