How to setup JellyFin media system on NanoPi-R2S/zh

From FriendlyELEC WiKi
Revision as of 02:45, 20 April 2020 by Big (Talk | contribs)

Jump to: navigation, search

1 1.在FriendlyWrt下安装JellyFin

(1) 准备一个已烧好FriendlyWrt的NanoPi R2S(或任意H3/RK3399 平台的友善开发板),接上电源和网线,网线接入NanoPi R2S的WAN口;

(2) 在电脑端的浏览器输入 http://friendlywrt/ 或者开发板的IP地址即可进入FriendlyWrt管理页面,默认情况下,LAN口的IP地址为192.168.2.1,WAN会从你的主路由器动态获取IP地址; R2s-001.jpg

(3) 点击上方菜单栏的“服务>ttyd”进入命令行界面;
R2s-wrt-jellyfin-002.jpg
R2s-wrt-jellyfin-003.jpg

(4) 输入以下命令安装JellyFin:

创建一个目录用于存放 jellyfin 的配置:

mkdir -p /jellyfin/config

创建一个专门供jellyfin访问的目录,存放影片和视频:

mkdir -p /jellyfin/videos

然后安装JellyFin,请耐心等待安装过程:

docker run --restart=always -d -p 8096:8096 -v /jellyfin/config:/config -v /jellyfin/videos:/videos jellyfin/jellyfin:10.1.0-arm64 -name myjellyfin

主要参数说明:
8096:8096: 指定端口号为 8096,安装完后,可能通过 http://路由器IP:8096 访问jellybin /jellyfin/videos: 指定用于存放影片的目录,本地目录为 /jellyfin/videos,在jellybin界面上可以通过路径 /videos访问到这些影片



2 2.如何使用JellyFin

test