在Ubuntu上實現Jellyfin遠程控制,可參考以下步驟:
sudo apt update
,sudo apt install apt-transport-https ca-certificates gnupg curl -y
,mkdir -p /etc/apt/keyrings
,curl -fsSL https://repo.jellyfin.org/jellyfin_team.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/jellyfin.gpg
,echo "deb [arch $(dpkg --print-architecture) signed-by=/etc/apt/keyrings/jellyfin.gpg] https://repo.jellyfin.org/ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list
,sudo apt update
,sudo apt install jellyfin -y
。/etc/nginx/nginx.conf
或/etc/nginx/conf.d/default.conf
,添加server
配置塊,將請求轉發到http://localhost:8096
。http
改為https
。/etc/jellyfin/jellyfin.conf
或/etc/jellyfin/web.conf
,設置監聽地址為0.0.0.0
,端口為所需端口(默認8096)。