惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
Help Net Security
Help Net Security
P
Privacy International News Feed
T
Threat Research - Cisco Blogs
C
Cisco Blogs
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
L
LINUX DO - 热门话题
Security Latest
Security Latest
A
Arctic Wolf
G
GRAHAM CLULEY
月光博客
月光博客
S
Securelist
D
Docker
J
Java Code Geeks
T
Troy Hunt's Blog
T
Tenable Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
SecWiki News
SecWiki News
S
Security @ Cisco Blogs
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
LINUX DO - 最新话题
Recent Commits to openclaw:main
Recent Commits to openclaw:main
aimingoo的专栏
aimingoo的专栏
博客园 - 【当耐特】
H
Heimdal Security Blog
The Hacker News
The Hacker News
博客园 - 三生石上(FineUI控件)
Application and Cybersecurity Blog
Application and Cybersecurity Blog
N
Netflix TechBlog - Medium
Vercel News
Vercel News
Forbes - Security
Forbes - Security
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
IT之家
IT之家
B
Blog
MongoDB | Blog
MongoDB | Blog
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
S
Secure Thoughts
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Check Point Blog
云风的 BLOG
云风的 BLOG
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Blog of Author Tim Ferriss
L
Lohrmann on Cybersecurity
F
Full Disclosure
D
Darknet – Hacking Tools, Hacker News & Cyber Security
P
Proofpoint News Feed

Rat's Blog - Plex

Cloudbox:一个强大的多功能云媒体服务,可自动获取视频资源并在线播放 - Rat's Blog Rclone+Google Drive搭建无限容量的媒体库,适用于Plex/Emby/Jellyfin等 - Rat's Blog 一款开源免费且类似Emby的个人媒体服务器:Jellyfin安装教程 - Rat's Blog
建立你的私人在线影库:Plex云盘搭建及使用教程 - Rat's Blog
博主: Rat's · 2018-01-01 · via Rat's Blog - Plex

简介

Plex的全称为Plex Media Server,主要功能是存储+索引+转码+在线播放,它不仅仅是简单的存储,它还能分析影片的信息从而从IMDB等数据库补全影片介绍等信息,并且进行索引以方便搜索,要知道影片的格式有很多种,很多情况下播放设备无法兼容,所以它还能实时转码,播放渠道从网页到全平台的客户端应有尽有。当然,Plex除了能存片,还能存图存歌等等。

截图

请输入图片描述

安装

安装方法参考:https://www.plex.tv/downloads/

运行一下命令:

#CentOS系统
yum -y update && yum -y install wget
wget https://downloads.plex.tv/plex-media-server/1.12.1.4885-1046ba85f/plexmediaserver-1.12.1.4885-1046ba85f.x86_64.rpm
yum install plexmediaserver*.rpm

#Debian/Ubuntu系统
apt-get -y update && apt-get -y upgrade
wget https://downloads.plex.tv/plex-media-server/1.5.5.3634-995f1dead/plexmediaserver_1.5.5.3634-995f1dead_amd64.deb
dpkg -i plexmediaserver*.deb

Docker安装方法请参考官方GitHub的说明:https://github.com/plexinc/pms-docker

设置Plex开机启动

systemctl enable plexmediaserver.service
systemctl start plexmediaserver.service

安装完成后进入http://IP:32400/就行了。如果无法访问,先检查运行状态。

systemctl status plexmediaserver

如果显示active,则一般是防火墙问题,关掉或打开端口即可。

#CentOS 7
systemctl stop firewalld.service
systemctl disable firewalld.service

#其它系统
iptables -I INPUT -p tcp --dport 32400 -j ACCEPT
service iptables save                              
service iptables restart

使用

如果第一次进入应用界面,会显示“找不到服务器。 下载并安装Plex Media Server,它会显示在这里”。因为初次使用是不允许远程访问Plex的,这里我们可以使用以下2种办法来解决这个问题。

SSH转发端口

先在电脑左下角程序搜索框输入PowerShell,然后双击Windows PowerShell工具,运行命令:

ssh root@服务器IP -L 8888:localhost:32400

输入正确的密码后,再去浏览器里打开localhost:8888/web进入即可。

隧道转发

这里只列举常用的putty和xshell,其它自行模式,大致流程如下:

xshell:点击plex服务器属性-隧道-添加,监听端口8888,目标端口32400
putty:具体操作大概是connection–ssh–Tunnels,设置source port为8888,destination为127.0.0.1:32400

先使用ssh连接服务器,然后再去浏览器里打开localhost:8888/web进入即可。
请输入图片描述
请输入图片描述
第一次链接成功后,下次就不需要用SSH转发进入了,直接通过http://IP:32400/访问就可以了。

然后点击左侧添加资料库,选择存放电影或者音乐的文件夹,就可以显示出来观看了,还可以添加频道等,更多操作自己慢慢研究
请输入图片描述

相关教程:使用QuickBox搭建多用户BT离线下载/媒体库系统


版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/464/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。