Plex Media Server on ARMhf Routers

Works only on armhf routers with v4 kernel like RT-AC86U, RT-AX88U...
For other armel routers, use this PMS version
Tested with PMS v1.15.6.1079 on RT-AC86U running RMerlin firmware v384.11_2, hdd usb3, Optware & Entware

1 - Flash RMerlin firmware from here

2a - Install Optware-NG from here and choose 2GB swap file
or
2b - Install 64bit version of Entware-NG from here and choose 2GB swap file

3 - Setup Debian Stretch Buster (after update) from here

4 - Enter chrooted debian with:

debian enter

5 - Update Debian

apt update && apt upgrade -y

6 - Install necessary packages

apt install wget libexpat1 apt-transport-https binutils gnupg zip

- Get pms gpg key

wget -O - https://downloads.plex.tv/plex-keys/PlexSign.key | apt-key add -

- Add Plex to sources.list

echo deb https://downloads.plex.tv/repo/deb public main | tee /etc/apt/sources.list.d/plex.list

- Update debian

apt update

10 - Install latest version of Plex Media Server

apt install plexmediaserver

11 - Create startup script Not necessary anymore because is created by installer!!!

cat >> /etc/init.d/plexmediaserver << 'EOF'
#!/bin/sh
.
.
.
exit 0
EOF

Press ENTER

12 - Give right permission

chmod +x /etc/init.d/plexmediaserver

13 - Exit Debian

exit

14 - Add Plex to chrooted services list

echo "" >>/opt/etc/chroot-services.list
echo "plexmediaserver" >>/opt/etc/chroot-services.list
chmod 755 /opt/etc/chroot-services.list

15 - Start Plex from outside debian together with mounted external folder

debian restart

16 - Wait about 30 seconds then go to default router ip address and port :32400/web, like 192.168.1.1:32400/web or www.asusrouter.com:32400/web

17 - Create a free or paid plex account


18
 - Give server a name


19
 - Create a new library and point to /mnt as path, if you want to mount a samba share use this guide


Enjoy...


How to Install the Plex Unsupported App Store through WebTools

Enter chrooted debian

debian enter

Download and unzip webtools v3.0.0

cd /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-ins/
wget https://github.com/ukdtom/WebTools.bundle/releases/download/3.0.0/WebTools.bundle.zip
unzip WebTools.bundle.zip
rm WebTools.bundle.zip

Go to default router ip address and port :33400, like 192.168.1.1:33400 or www.asusrouter.com:33400


Go to UAS and install some channels


Now go to Plex webpage, click on Channels and use UAS installed apps...


Source: htpcguides.com

REVIEW (CLICK ON THE STARS TO RATE!)
5
Sending
User Review
5 (13 votes)