想把老笔记本安装个媒体中心软件,尝试下Plex media server。
1. 到plex中文网下载相应的deb包
我下载的包是 plexmediaserver_1.18.7.2457-77cb9455c_amd64.deb
2.安装也很简单
sudo dpkg -i plexmediaserver_1.18.7.2457-77cb9455c_amd64.deb
3.验证,看plex服务是否启动
$sudo systemctl status plexmediaserver.service
[sudo] xxxxxx 的密码:
● plexmediaserver.service - Plex Media Server
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-03-14 22:30:45 CST; 38min ago
Process: 10997 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICAT
Main PID: 11006 (Plex Media Serv)
Tasks: 56 (limit: 4915)
Memory: 129.7M
CPU: 28.753s
CGroup: /system.slice/plexmediaserver.service
├─11006 /usr/lib/plexmediaserver/Plex Media Server
├─11045 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-77cb9455c/Framework.bundle/Contents/Resources/Versions
├─11095 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tune
└─11139 Plex Plug-in [com.plexapp.plugins.WebTools] /usr/lib/plexmediaserver/Resources/Plug-ins-77cb9455c/Framework.bundle/Contents/Resource
3月 14 22:30:45 xxxxxxxx systemd[1]: Starting Plex Media Server...
3月 14 22:30:45 xxxxxxxx systemd[1]: Started Plex Media Server.
4.登录web管理界面配置
登录时使用在plex.tv上注册的用户,具体配置就不说了。
5.下载、安装webtools插件
压缩文件为WebTools.bundle.zip,将其解压并将解压后的整个文件夹WebTools.bundle拷贝到plugins目录
$unzip WebTools.bundle.zip
$sudo cp -r WebTools.bundle /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-ins
$sudo systemctl restart plexmediaserver.service
需要注意的是,plex要有权限访问该目录。重启后可在plex的设置->管理->插件下看到。并且可以从以下地址访问(还是用plex用户登录)
网友评论