在CentOS上安装和配置Jellyfin媒体服务器的教程有多个,以下是一些详细的步骤和指南:
yum install libicu fontconfig -y
yum install epel-release
wget https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
yum install ffmpeg
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
systemctl start jellyfin
systemctl enable jellyfin
http://localhost:8096
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
docker pull nyanmisaka/jellyfin:latest
docker run -d --name jellyfin \
-v /path/to/config:/config \
-v /path/to/cache:/cache \
-v /path/to/media:/media \
-p 8096:8096 \
--device /dev/dri/renderD128 \
jellyfin
http://localhost:8096
yum install gcc make openssl-devel libcurl-devel libxml2-devel -y
git clone https://github.com/s3fs-fuse/s3fs-fuse.git
cd s3fs-fuse
./autogen.sh
./configure
make && make install
echo "YOUR_S3_ACCESS_KEY:YOUR_S3_SECRET_KEY" > /etc/passwd-s3fs
chmod 600 /etc/passwd-s3fs
s3fs YOUR_BUCKET /mnt/oss -o passwd_file=/etc/passwd-s3fs -o url=https://YOUR_S3_ENDPOINT -o use_path_request_style
以上教程涵盖了在CentOS上通过RPM包、Docker以及支持S3的方式部署Jellyfin的基本步骤,具体配置可能会因版本和环境有所不同,请参考官方文档进行详细设置。