本帖最后由 ytsam 于 2025-1-16 09:37 编辑
个人喜欢1台PC同时搞定 HQPlayer 和 Roon, 不太讲究啥 分开好听、专用linux系统好声、实时内核进程隔离一耳朵提升等高烧玩法,
家庭使用环境下,就朴素一点,一台性能稍高点的PC,Ubuntu Sever 24.04 LTS下同时运行HQPlayer Embedded和 Roon Server就可以了.
分享一下简单的安装过程。
一、安装HQPlayer Embedded 0.安装Ubuntu Sever 24.04.1 LTS ☑ Install OpenSSH server 0.1 查看本机IP ip a 0.2 远程登录OpenSSH server继续后续安装. 0.3 更新 sudo apt update sudo apt upgrade -y 0.4 设置时区 sudo timedatectl set-timezone Asia/Shanghai 1. Linux内核,二选一。 1.0 安装Low latency Kernel sudoapt update sudoapt install linux-lowlatency-hwe-24.04
sudoreboot 1.1安装Jussi’s Custom Linux kernel packages for native DSD sudo apt update wget https://www.sonarnerd.net/src/noble/linux-headers-6.6.60-jl+_6.6.60-00010-g846aeb4bd462-7_amd64.deb wget https://www.sonarnerd.net/src/noble/linux-image-6.6.60-jl+_6.6.60-00010-g846aeb4bd462-7_amd64.deb sudo dpkg -i linux-headers-6.6.60-jl+_6.6.60-00010-g846aeb4bd462-7_amd64.deb sudo dpkg -i linux-image-6.6.60-jl+_6.6.60-00010-g846aeb4bd462-7_amd64.deb sudo reboot 如不需要N卡,可以安装Xanmod Real-time内核(根据CPU型号选择linux-xanmod-rt-x64v2 or linux-xanmod-rt-x64v3);亦可利用ubuntu pro,免费激活Real-time Ubuntu(realtime-kernel)。 2、安装Nvidia driver (无Nvidia显卡跳过) wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb sudo dpkg -i cuda-keyring_1.1-1_all.deb sudo apt update sudo apt install nvidia-headless-565-server sudo apt install nvidia-utils-565-server sudo reboot
3、安装HQPlayer Embedded wget https://www.sonarnerd.net/src/noble/libgmpris_2.2.1-12_amd64.deb sudo dpkg -i libgmpris_2.2.1-12_amd64.deb
#如果需要使用JPlay推送到HQPlayer Embedded,执行以下两条,否则可以跳过。 wget https://www.sonarnerd.net/src/noble/libgupnp-1.6-0_1.6.6-2_amd64.deb sudo dpkg -i libgupnp-1.6-0_1.6.6-2_amd64.deb
wget https://signalyst.com/bins/hqplayerd/noble/hqplayerd_5.10.1-31_amd64.deb sudo dpkg -i hqplayerd_5.10.1-31_amd64.deb sudo apt install -f -y
sudo hqplayerd -s hqplayer hqplayer sudo systemctl enable hqplayerd sudo reboot 4、配置HQPlayer Embedded http://IP:8088 ,配置HQPlayer Embedded,用户:hqplayer,密码:hqplayer。
二、安装 Roon Server 1 Easy Installer sudo apt install curl bzip2 sudo apt install cifs-utils sudo apt install alsa-base alsa-utils -y sudo apt install ffmpeg sudo apt install -f -y curl-O https://download.roonlabs.com/builds/roonserver-installer-linuxx64.sh chmod+x roonserver-installer-linuxx64.sh sudo./roonserver-installer-linuxx64.sh 2 Manual Install [学习版可参照] 2.2 停止roonserver服务,清除旧版本文件 sudo systemctl stop roonserver sudo rm -r /opt/RoonServer sudo rm -r /var/roon/RoonServer 2.3 下载适用于linux下安装的roon文件. 2.x 文件名一般为 RoonServer_linuxx64.tar.bz2
Roon Legacy 1.8 一般为RoonServerLegacy_linuxx64.tar.bz2
2.4 解压文件到 /opt 在RoonServer_linuxx64.tar.bz2所在路径下执行 sudo tar -xvf ./RoonServer_linuxx64.tar.bz2 -C /opt Roon Legacy 1.8 在RoonServerLegacy_linuxx64.tar.bz2所在路径下执行 sudo tar -xvf ./RoonServerLegacy_linuxx64.tar.bz2 -C /opt 2.5 确认 Dependencies 及相关条件满足运行要求 sudo /opt/RoonServer/check.sh 2.6 创建roonserver开机启动服务。 sudo nano /etc/systemd/system/roonserver.service
[Unit] Description=RoonServer After=network-online.target [Service] Type=simple User=root Environment=ROON_DATAROOT=/var/roon Environment=ROON_ID_DIR=/var/roon ExecStart=/opt/RoonServer/start.sh Restart=on-abort [Install] WantedBy=multi-user.target
sudo systemctl enable roonserver sudo reboot
|