centos

如何在centos上定制jellyfin的主题

小樊
53
2025-03-31 17:27:37
栏目: 智能运维

在CentOS上定制Jellyfin的主题可以通过以下步骤进行:

安装Jellyfin

  1. 安装依赖包
yum install -y libicu fontconfig
  1. 下载Jellyfin官方RPM包

访问Jellyfin官方发布页面下载适合CentOS的RPM包。

  1. 安装Jellyfin
wget -c https://repo.jellyfin.org/releases/server/centos/stable/web/jellyfin-web-10.8.9-1.el7.noarch.rpm
wget -c https://repo.jellyfin.org/releases/server/centos/stable/server/jellyfin-server-10.8.9-1.el7.x86_64.rpm
wget -c https://repo.jellyfin.org/releases/server/centos/stable/server/jellyfin-10.8.9-1.el7.x86_64.rpm

rpm -Uvh --nodeps jellyfin-web-10.8.9-1.el7.noarch.rpm
rpm -Uvh --nodeps jellyfin-server-10.8.9-1.el7.x86_64.rpm
rpm -Uvh --nodeps jellyfin-10.8.9-1.el7.x86_64.rpm
  1. 启动Jellyfin
systemctl start jellyfin
systemctl enable jellyfin

自定义Jellyfin主题

  1. 使用JellySkin主题
@import url("https://cdn.jsdelivr.net/npm/jellyskin@latest/dist/main.css");
@import url("https://cdn.jsdelivr.net/npm/jellyskin@latest/dist/logo.css");
  1. 自定义CSS美化页面
  1. 解决Nginx反向代理时主题无法工作的问题
location / {
    proxy_pass http://localhost:8096;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
}

注意事项

通过以上步骤,您可以在CentOS上成功定制Jellyfin的主题,提升您的媒体服务器体验。

0
看了该问题的人还看了