如何在 Debian 11 上安装 Jellyfin 媒体服务器

在本教程中,我们将向您展示如何在 Debian 11 上安装 Jellyfin Media Server。对于那些不知道的人,Jellyfin 是一个开源媒体流系统,可让您管理和流式传输您的媒体。 使用 Jellyfin,您可以从基于 Web 的界面组织和共享您的媒体文件、电视节目、音乐和照片。 Jellyfin 可以安装在 Linux、macOS 和 Windows 上。

本文假设您至少具有 Linux 的基本知识,知道如何使用 shell,最重要的是,您将站点托管在自己的 VPS 上。 安装非常简单,假设您在 root 帐户中运行,否则您可能需要添加 ‘sudo‘ 获取 root 权限的命令。 我将向您展示如何在 Debian 11 (Bullseye) 上逐步安装 Jellyfin。

在 Debian 11 Bullseye 上安装 Jellyfin 媒体服务器

步骤 1. 在运行下面的教程之前,通过运行以下命令确保您的系统是最新的很重要 apt 终端中的命令:

sudo apt update sudo apt upgrade sudo apt install apt-transport-https ca-certificates gnupg2 curl git

步骤 2. 在 Debian 10 上安装 Jellyfin 媒体服务器。

现在我们将 Jellyfin 存储库添加到您的系统中:

echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/debian buster main" | tee /etc/apt/sources.list.d/jellyfin.list

接下来,使用以下命令添加 GPG 密钥:

wget -O - https://repo.jellyfin.org/jellyfin_team.gpg.key | apt-key add -

最后,运行以下命令在您的 Debian 系统上自动安装 Jellyfin:

sudo apt update sudo apt install jellyfin

现在 Jellyfin 媒体服务器已安装,我们可以使用以下命令检查其状态:

sudo systemctl status jellyfin

步骤 3. 访问 Jellyfin Web 界面。

成功安装 Jellyfin 媒体服务器后,通过以下 URL 访问 Jellyfin Web 界面 https://localhost:8096/web/. 您应该会看到以下页面:

恭喜! 您已成功安装 Jellyfin。 感谢您使用本教程在 Debian 系统上安装最新版本的 Jellyfin 媒体服务器。 如需更多帮助或有用信息,我们建议您查看 Jellyfin 官方网站.