省去安装docker步奏
一、拉取jellyfin镜像
docker pull jellyfin/jellyfin:latest
二、创建jellyfin目录
mkdir -p /opt/jellyfin/{config,cache}
三、运行jellyfin镜像,默认端口8096
docker run -d \
-v /opt/jellyfin/config:/config \
-v /opt/jellyfin/cache:/cache \
-v /media:/media \
--net=host \
--name=jellyfin \
--restart=always \
jellyfin/jellyfin:latest
四、挂载nfs到jellyfin的机器上
安装nfs客户端
yum install nfs-utils
挂载nfs
mount -t nfs 192.168.10.59:/e/movie1080p /media
mount -t nfs 192.168.10.59:/d/Cloud /media/movie1080p
卸载nfs
unmount -l /media