在CentOS上安装Jellyfin媒体服务器的步骤如下:
sudo yum update -y
sudo yum install -y libicu fontconfig
wget https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz
tar -xvf ffmpeg-git-amd64-static.tar.xz
sudo cp ffmpeg-git-20200211-amd64-static/ffmpeg /usr/bin/
sudo cp ffmpeg-git-20200211-amd64-static/ffprobe /usr/bin/
echo 'export PATH="/usr/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
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
sudo yum localinstall jellyfin-web-10.8.9-1.el7.noarch.rpm jellyfin-server-10.8.9-1.el7.x86_64.rpm jellyfin-10.8.9-1.el7.x86_64.rpm
sudo systemctl start jellyfin
sudo systemctl enable jellyfin
sudo systemctl status jellyfin
sudo firewall-cmd --zone public --add-port 8096/tcp --permanent
sudo firewall-cmd --zone public --add-port 8920/tcp --permanent
sudo firewall-cmd --zone public --add-port 1900/udp --permanent
sudo firewall-cmd --zone public --add-port 5353/udp --permanent
sudo firewall-cmd --reload
http://YOUR_SERVER_IP:8096
),按照提示完成初始化设置,包括选择语言、设置用户、添加媒体库等。如果在安装过程中遇到问题,可以参考Jellyfin的官方文档或相关社区论坛寻求帮助。