From d2c9a31e2837bd4c1e16b97a6f8167fb3a90c575 Mon Sep 17 00:00:00 2001 From: jj-uk <10943625+jj-uk@users.noreply.github.com> Date: Fri, 22 Dec 2017 19:08:54 +0000 Subject: [PATCH] Updated Installation (markdown) --- Installation.md | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/Installation.md b/Installation.md index 5767109..3eabca7 100644 --- a/Installation.md +++ b/Installation.md @@ -61,7 +61,37 @@ PlexPy will be installed to `/usr/local/share/plexpy`. * PlexPy will be loaded in your browser or listening @ http://localhost:8181 * To start PlexPy on startup, refer to [[Install as a daemon]] -## FreeNAS +## FreeNAS (FreshPorts pkg install) +* pkg install plexpy +* pkg update && pkg upgrade +* pkg install -y plexpy + +Auto-start when the jail starts: +* sysrc plexpy_enable="YES" + +Set the user for which plexpy will run as: +* sysrc plexpy_user="root" + +If you're using FreeNAS 11.1, and you're installing into a 'warden' jail (e.g. created with the 'old' FreeNAS GUI), you'll need to install older versions of sqlite3 and py-sqlite3: + +* portsnap fetch +* portsnap extract + +* cd /usr/ports/databases/sqlite3 +* make deinstall +* make install clean ALLOW_UNSUPPORTED_SYSTEM=true + +* cd /usr/ports/databases/py-sqlite3 +* make deinstall +* make install clean ALLOW_UNSUPPORTED_SYSTEM=true + +Finally, either restart the jail via the FreeNAS GUI, or start the service manually: +* service plexpy start + +Plexpy is available at: +* http://:8181 + +## FreeNAS (git clone) Instructions by [Supa on the FreeNAS forums](https://forums.freenas.org/index.php?threads/how-to-install-plexpy-in-a-freenas-9-3-jail.38589/#post-234202). PlexPy will be installed to `/usr/local/share/plexpy`.