在CentOS下配置Jellyfin媒體服務器并不難,只需按照以下步驟操作即可:
yum install -y libicu fontconfig
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
yum makecache
yum install epel-release
wget https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
rpm -ivh rpmfusion-free-release-7.noarch.rpm
yum install ffmpeg ffmpeg-devel
yum localinstall jellyfin-web-x.x.x-x.el7.noarch.rpm jellyfin-server-x.x.x-x.el7.x86_64.rpm jellyfin-x.x.x-x.el7.x86_64.rpm
將x.x.x
替換為實際下載的版本號。
systemctl start jellyfin
systemctl enable jellyfin
sudo firewall-cmd --zone=public --add-port=8096/tcp --permanent
sudo firewall-cmd --zone=public --add-port=1900/tcp --permanent
sudo firewall-cmd --reload
如果在配置過程中遇到問題,可以參考Jellyfin的官方文檔或相關社區論壇尋求幫助。