0am Blog by Qu Xin

website·Indexed 30 days ago

https://blog.0am.cn

A technical blog by Qu Xin providing tutorials on digital technology, NAS configuration, and home server deployment. Topics include Unraid, Armbian, Docker deployments (such as ezbookkeeping, bililive-go, and Steam Headless), ZeroTier, and Windows system troubleshooting.

Tokens
13.5K
Snippets
60
Records
108
Agent score
46%

What's inside 0am Blog

  1. Choose between qBittorrent and Transmission for NAS

    When choosing a torrent client for NAS deployment: use qBittorrent (QB) if the primary goal is maximum download speed. Use Transmission (TR) if the primary goal is seeding (maintaining seeds) while minimizing hardware resource consumption.
  2. Intel CPUs with HD 630 integrated graphics for NAS

    The following Intel CPUs feature HD 630 graphics (Kaby Lake architecture):
    i3 Series: i3-7100, i3-7100T, i3-7300, i3-7300T, i3-7320, i3-7350K
    i5 Series: i5-7400, i5-7400T, i5-7500, i5-7500T, i5-7600, i5-7600K, i5-7600T
    i7 Series: i7-7700, i7-7700K, i7-7700T
    Pentium Series: G4600, G4600T, G4620
  3. Deploy XiaoMusic on ZKSpace NAS using Docker

    XiaoMusic can be deployed on ZKSpace NAS (tested on x86 architecture, Q4 model, Docker V2.2). The deployment involves importing a Docker image, configuring network ports, and setting up the application via a web interface. For the latest versions, environment variables can be configured directly through the web UI rather than during the Docker container creation process.
    # To export a docker image for transfer to NAS
    docker save [image_name] > [local_path].tar
  4. Install Unraid Pro Key on a boot USB drive

    To activate Unraid Pro using a provided pro.key file, follow these steps:

    1. Insert the Unraid boot USB drive into your computer.
    2. Create the bootable USB drive using the official Unraid USB Creator tool from the official website (https://unraid.net/getting-started).
    3. Download the pro.key file and place it into the /config directory on the USB drive.
    4. If there are any existing trial key files in the /config directory, delete them to ensure the Pro key is used.
    # Place the key in the following directory on the USB drive: 
    /config/pro.key
  5. Install Baota (BT) Panel 5.x on OneCloud Armbian

    Due to limited hardware resources on the OneCloud, Baota version 5.x is recommended. The installation involves downloading the Ubuntu installation script, granting execution permissions, and running it. After installation, the console will provide the IP, port (usually 8888), username, and password.

    Post-Installation Tips:

    • Change the default credentials immediately for security.
    • Use the LNMP environment. Select 'Compile Installation' (编译安装) for better stability, though it may take several hours.
    • If the device freezes during compilation due to high CPU usage, manually restart and resume installation.
    • If a software package shows as installed in the message box but lacks a management button in the UI, click the 'Install' button again to re-compile.
    # Download the installation script
    wget -O install.sh <http://download.bt.cn/install/install-ubuntu.sh> && sudo bash install.sh
    
    # Grant execution permissions
    chmod +x install.sh
    
    # Execute the script
    ./install.sh
  6. Expose Steam Headless to the public internet

    For public access to Steam Headless (via Moonlight/Sunshine), use direct port mapping on your router/gateway rather than reverse proxies (e.g., Lucky), as reverse proxies may not be compatible. Use Dynamic DNS (DDNS) to resolve your IPv4 address.
  7. Configure UID and GID permissions for ezbookkeeping storage

    To prevent permission issues with the ezbookkeeping container, the data and storage directories must be owned by UID 1000 and GID 1000. Navigate to the application data directory and apply the ownership changes using chown.
    cd /appdata/easybookkeeping
    chown 1000:1000 data
    chown 1000:1000 storage
  8. Install Chinese fonts in Steam Headless Docker

    To resolve Chinese character display issues in the Steam Headless container, you can use environment variables or manual installation via the console.

    Method 1: Environment Variables

    Add these variables to the Docker configuration:

    -e LANG=zh_CN.UTF-8
    -e LANGUAGE=zh_CN:zh

    Method 2: Manual Installation via Console

    If environment variables do not work, run the following commands in the container console:

    sudo -i
    apt-get update && apt-get install -y fonts-wqy-zenhei

    Alternatively, try installing Noto CJK fonts:

    sudo -i
    apt-get install fonts-noto-cjk -y
  9. Prepare hardware for installing Armbian on OneCloud (玩客云)

    To flash Armbian on a OneCloud (玩客云) device for purposes such as installing BT Panel (宝塔) or deploying Typecho blogs, the following hardware tools are required:

    • A computer
    • A USB Male-to-Male cable (or a standard Type-C data cable if the computer supports Type-C data transfer)
    • Tweezers or metal wire (for short-circuiting/jumping pins)
    • Flat-head and Phillips-head screwdrivers
    • A USB flash drive (16GB or larger recommended)
    • A OneCloud (玩客云) device
  10. Activate Microsoft Project 2024 Professional via KMS

    To activate Project 2024 Professional, you must install the Generic Volume License Key (GVLK), point the client to your KMS server, and trigger the activation. Note: The software must be the Volume License version; if you encounter error 0xC004F069, use Office Tool Plus to install the volume license version.
    :: 1. Install GVLK for Project 2024 Pro
    slmgr /ipk FQQ23-N4YCY-73HQ3-FM9WC-76HF4
    
    :: 2. Set KMS server address (replace with your own server)
    slmgr /skms kms.0am.cn:1688
    
    :: 3. Activate
    slmgr /ato
  11. Prepare hardware for flashing Armbian on OneCloud (玩客云)

    To flash Armbian on a OneCloud (玩客云) device for tasks such as installing BT-Panel (宝塔) and deploying Typecho blogs, the following hardware tools are required:

    • A computer
    • A USB male-to-male data cable (with Type-C; a standard Type-C cable works if the computer supports it)
    • Tweezers or metal wire (for short-circuiting/jumping pins)
    • Flat-head and Phillips-head screwdrivers
    • A USB flash drive (16GB or larger recommended)
    • A OneCloud (玩客云) device
  12. Export easyImage Docker image to a tar file

    To deploy easyImage on a system that requires manual image uploads (like ZK Space), first pull the image using Docker Desktop and then export it to a .tar archive using the command line with administrator privileges.
    docker save ddsderek/easyimage > C:\Users\YourUser\Desktop\easyimage\easyimage.tar