Work in progress.........
This post is based on [HOWTO] Install serviio 1.2 and up and I do a new post to save valuable knowledge on old post
since serviio ver 1.3.x old install do not work due java frontend is not update (Koiroh java frontend used on [howto] install serviio 1.2) I write this new [HOWTO], for reference I use info from:
http://wiki.serviio.org/doku.php?id=how ... ll:freebsd
http://www.freshports.org/net/serviio
http://forum.serviio.org/viewtopic.php?f=5&t=1310
http://forum.serviio.org/viewtopic.php?f=17&t=5330
http://wiki.serviio.org/doku.php?id=howto:linux:install
WARNIG:This install is recomended for all N4F install , embeded or full, and install into a jail is the default /prefered method of installing packages in nas4Free to avoid problems.
1 - You need to create a new jail called "serviio" using "TheBrig"
Once created, you are ready to install serviio.
First you need to log in your jail, in my case:
Code: Select all
alicia: Data # jls
JID IP Address Hostname Path
2 192.168.1.191 serviio.local /mnt/Data/Jail/serviio
alicia: Data #so log inside your serviio jail:
Code: Select all
alicia: Data # jexec 2 csh
root@serviio:/ #
Code: Select all
portsnap fetch extractto install serviio from ports:
Code: Select all
cd /usr/ports/net/serviio/ && make install cleanBuild with these options that are recommended from here:http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux
- AMR_NB
AMR_WB
ASS
FAAC
FFSERVER
FREI0R
ICONV
LAME
RTMP
THEORA
VORBIS
VPX
X264
XVID
Code: Select all
echo 'serviio_enable="YES"' >> /etc/rc.conf
echo serviio_args=\'-Dserviio.advertisementDuration=\"15\" -Dserviio.remoteHost=\"192.168.1.191\"\' >> /etc/rc.confCode: Select all
chown -R dlna:dlna /usr/local/etc/serviio
Code: Select all
ee /etc/hostsCode: Select all
192.168.1.191 serviio.localCode: Select all
chown -R dlna:dlna /var/db/serviio
chown -R dlna:dlna /var/log/serviio
chown -R dlna:dlna /usr/local/share/java/classes/serviio/Code: Select all
/usr/local/etc/rc.d/serviio startCode: Select all
/usr/local/etc/rc.d/serviio statusCode: Select all
root@serviio:/usr/local/share/java/classes/serviio # /usr/local/etc/rc.d/serviio status
serviio is running as pid 8329
root@serviio:/usr/local/share/java/classes/serviio #Code: Select all
root@serviio:/usr/local/share/java/classes/serviio # /usr/local/etc/rc.d/serviio start
Starting serviio.
root@serviio:/usr/local/share/java/classes/serviio # java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:900)
at net.padlocksoftware.padlock.validator.history.FileHistory.setEarliestRun(FileHistory.java:79)
at net.padlocksoftware.padlock.validator.plugins.ExpiredPlugin.getFirstRun(ExpiredPlugin.java:170)
at net.padlocksoftware.padlock.validator.plugins.ExpiredPlugin.validate(ExpiredPlugin.java:76)
at net.padlocksoftware.padlock.validator.Validator.validate(Validator.java:343)
at net.padlocksoftware.padlock.validator.Validator.validate(Validator.java:298)
at org.serviio.licensing.LicenseValidator.validateLicense(LicenseValidator.java:105)
at org.serviio.licensing.LicenseValidator.validateBundledLicense(LicenseValidator.java:124)
at org.serviio.licensing.LicenseValidator.getCurrentLicense(LicenseValidator.java:74)
at org.serviio.licensing.LicensingManager.updateLicense(LicensingManager.java:128)
at org.serviio.licensing.LicensingManager.<init>(LicensingManager.java:103)
at org.serviio.licensing.LicensingManager.getInstance(LicensingManager.java:113)
at org.serviio.MediaServer.printLicenseInformation(MediaServer.java:266)
at org.serviio.MediaServer.main(MediaServer.java:117)
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:900)
at net.padlocksoftware.padlock.validator.history.FileHistory.setEarliestRun(FileHistory.java:79)
at net.padlocksoftware.padlock.validator.plugins.ExpiredPlugin.getTimeRemaining(ExpiredPlugin.java:133)
at net.padlocksoftware.padlock.validator.Validator.getTimeRemaining(Validator.java:367)
at org.serviio.licensing.LicenseValidator.validateLicense(LicenseValidator.java:106)
at org.serviio.licensing.LicenseValidator.validateBundledLicense(LicenseValidator.java:124)
at org.serviio.licensing.LicenseValidator.getCurrentLicense(LicenseValidator.java:74)
at org.serviio.licensing.LicensingManager.updateLicense(LicensingManager.java:128)
at org.serviio.licensing.LicensingManager.<init>(LicensingManager.java:103)
at org.serviio.licensing.LicensingManager.getInstance(LicensingManager.java:113)
at org.serviio.MediaServer.printLicenseInformation(MediaServer.java:266)
at org.serviio.MediaServer.main(MediaServer.java:117)Code: Select all
/usr/local/etc/rc.d/serviio statusNow is time to install HTML console, and time to ask others users how to do, I want to install like is described here, http://wiki.serviio.org/doku.php?id=how ... ll:freebsd
or here: http://forum.serviio.org/viewtopic.php?f=17&t=5330
some help is needed.






