ubuntu安装ffmpeg_安装 Jellyfin 开始肥宅生活
先放两张效果图
完美的宅家生活 不就是这样嘛
在 Windows 系统上安装
直接去 官网( https://jellyfin.org/ ) 下载安装包就好,我才懒得讲怎么装(
Ubuntu/Debian 安装
从官方源中安装
Debian
#添加 Jellyfin Team 的签名 wget -O - https://repo.jellyfin.org/debian/jellyfin_team.gpg.key | sudo apt-key add -#添加源echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/debian $( lsb_release -c -s ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list#更新缓存sudo apt update#安装 Jellyfinsudo apt install jellyfin#开机自启sudo systemctl enable jellyfin
Ubuntu
#启用 Universe repositoryadd-apt-repository universe#添加 Jellyfin Team 的签名 wget -O - https://repo.jellyfin.org/ubuntu/jellyfin_team.gpg.key | sudo apt-key add -#添加源echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/ubuntu $( lsb_release -c -s ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list#更新缓存sudo apt update#安装 Jellyfinsudo apt install jellyfin#开机自启sudo systemctl enable jellyfin
获取 deb 包方式安装 (如果前面那种方法很慢可以试试这种)
- 中国大陆地区建议找个代理来进行下面操作
- 下载最新版本的 Jellyfin 主程序 和 jellyfin-ffmpeg,Repo在下面?
- https://repo.jellyfin.org/releases/server/debian/versions/
- https://repo.jellyfin.org/releases/server/debian/versions/jellyfin-ffmpeg/
- Ubuntu用户请把上面俩链接中的 debian 换成 ubuntu
- 将两个deb文件发送到服务器上
- 安装依赖(Debian)
sudo apt install at libass9 libbluray2 libfl2 libmp3lame0 libnuma1 libogg0 libopus0 libtheora0 libva-drm2 libva2 libvdpau1 libvorbis0a libvorbisenc2 libwebpmux3 libx264-155 libx265-165 libzvbi-common libzvbi0
- 安装依赖(Ubuntu)
sudo apt install sudo apt install at libsqlite3-0 libfontconfig1 libfreetype6 libssl1.0.0
- 安装 Jellyfin
sudo dpkg -i jellyfin_*.deb jellyfin-ffmpeg_*.deb
- 解决剩下的依赖问题
sudo apt -f install
开始使用
打开浏览器,进入 http://ip:8096/
,选择中文
选择显示语言
设置用户名密码
添加媒体库
设置首选元数据语言,注意中国在这里显示的是People’s Republic of China
允许远程访问,如果要使用反向代理之类的建议不选择第二项
完成!
反向代理
根据官方贴出来的配置修改
server { listen 端口号 ssl http2; server_name 你的域名; ssl_certificate 证书路径; ssl_certificate_key 密钥路径; ssl_stapling on; ssl_stapling_verify on; # Security / XSS Mitigation Headers add_header X-Frame-Options "SAMEORIGIN"; add_header X-XSS-Protection "1; mode=block"; add_header X-Content-Type-Options "nosniff"; # Content Security Policy # See: https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP # Enforces https content and restricts JS/CSS to origin # External Javascript (such as cast_sender.js for Chromecast) must be whitelisted. add_header Content-Security-Policy "default-src https: data: blob:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' https://www.gstatic.com/cv/js/sender/v1/cast_sender.js; worker-src 'self' blob:; connect-src 'self'; object-src 'none'; frame-ancestors 'self'"; location / { # Proxy main Jellyfin traffic proxy_pass http://127.0.0.1:8096/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Protocol $scheme; proxy_set_header X-Forwarded-Host $http_host; # Disable buffering when the nginx proxy gets very resource heavy upon streaming proxy_buffering off; } location /socket { # Proxy Jellyfin Websockets traffic proxy_pass http://127.0.0.1:8096/socket; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Protocol $scheme; proxy_set_header X-Forwarded-Host $http_host; }}
最下面的 location /socket 是必须的,不然会导致无法登录
服务控制
#查看状态
systemctl status jellyfin
#启动服务
systemctl start jellyfin
#停止服务
systemctl stop jellyfin
张哲
主页
home.asec01.net
博客
blog.asec01.net博客 - 中国大陆镜像
blog-mirror.zhangzhe-tech.cn
Github
@zzzz0317
ubuntu安装ffmpeg_安装 Jellyfin 开始肥宅生活相关推荐
- 黑客真实生活复现 | 十部超赞黑客电影,周末肥宅生活必备!
撰文 | 李琳 编辑 | 李琳 专栏 | 九章算法 如果你是程序员或黑客,那么你一定会喜欢与黑客或是编程相关的电影.这类电影非常有趣,它可能不会教你如何成为黑客,但是可以让你获得灵感和并满足你的好奇心 ...
- 虚拟机安装+Ubuntu安装+ROS安装
目录 一.虚拟机和双系统选择 二.虚拟机的安装 1.安装VMware 2.创建虚拟机 三.安装Ubuntu 1.打开虚拟机 2.正式安装 3.安装工具 4.安装功能包(用于实现和Windows之间复制 ...
- Ubuntu 16.04 安装后修改屏幕分辨率(xrandr: Failed to get size of gamma for output default)
ubuntu 16.04 安装后分辨率只有一个选项 1024x768,使用 xrandr 命令出现错误: xrandr: Failed to get size of gamma for output ...
- Ubuntu 12.04安装Sun JDK 6
Ubuntu 12.04安装Sun JDK 6 下载 sun jdk 6 bin. 设置权限 chmod +x jdk-6u25-linux-i586.bin 解压文件 ./jdk-6u25-linu ...
- ubuntu系统怎么安装ssh服务器配置,如何在Ubuntu 20.04 LTS上安装SSH服务器
Terminal Linux Logo 在 步骤1.首先,通过apt在终端中运行以下以下命令,确保所有系统软件包都是最新的. sudo apt update sudo apt upgrade 步骤2. ...
- ubunntu安装php7.0_在 Ubuntu/Debian 下安装 PHP7.3 教程
介绍 最近的 PHP 7.3.0 已经在 2018 年12月6日 发布 GA,大家已经可以开始第一时间体验新版本了,这里先放出 PHP7.3 安装的教程以便大家升级. 适用系统: Ubuntu 18. ...
- Ubuntu中Atom安装与使用
1. Atom是类IDE的文件编译器 Atom是Github开源的文本编辑器,这个编辑器完全是使用Web技术构建的.启动速度快,提供很多常用功能的插件和主题,可以说Atom已经足以胜任"半个 ...
- WIn7下Ubuntu 14.04 安装
1. 在Windows下下载Ubuntu14.04的ISO镜像,解压 2. 打开wubi.exe,填写用户名,密码等相关信息,在这里需要注意的是,磁盘空间最好选到最大(30G),执行安装 3. 按照提 ...
- win下ubuntu安装mysql_MySQL在Win10与Ubuntu下的安装与配置
近段时间把自己电脑(win).虚拟机(Ubuntu)以及阿里云(ubuntu)都重置了一遍,其中本机以及阿里云都有用到MySQL,不想之后找教程找的那么麻烦.所以就自己总结一遍,一次性把轮子造好. 环 ...
最新文章
- 【Android游戏开发二十七】讲解游戏开发与项目下的hdpi 、mdpi与ldpi资源文件夹以及游戏高清版本的设置...
- 胡润2019中国人工智能企业百强榜:北京55家居首
- C# 学习笔记(12)hex文件转bin文件小工具
- maven 和eclipse插件
- 小程序 | 基于WAMP的新闻网小程序开发(体验全栈式开发微信小程序)
- python解题教学_PYTHON教学设计:计算机解决问题的过程教案-精.doc
- 关于火狐3,怎么会这样??
- Linux网络端口命名规则,一致性网络设备命名
- python杂志订阅系统详细设计_图书管理系统详细设计说明书(完整).doc
- 读《编程的数学原理》
- win10U盘插进电脑读不出来/不显示驱动怎么办?
- 笔记本无法启用免费wifi
- Java将英文句子分解为单词
- 最大流的Ford-Fulkerson 标号法
- 无法安装驱动程序 此计算机上不存在英特尔适配器,win10系统提示无法安装驱动程序,此计算机中没有Intel适配器怎么办...
- 高通骁龙820A凭什么能赢得众多车厂的芳心
- 宝塔 Plugin ‘InnoDB‘ registration as a STORAGE ENGINE failed 解决办法
- 《RocketMQ技术内幕:RocketMQ架构设计与实现原理》一导读...
- C#编程-126:WPF初步_彭世瑜_新浪博客
- 【EmTech China 2018】不容错过的科技盛典!(附萌新临时充电手册)