[Tutorial] Installing MinimServer on FreeNAS or FreeBSD
|
23-01-2016, 17:52
(This post was last modified: 23-03-2021 17:52 by airflow.)
Post: #1
|
|||
|
|||
[Tutorial] Installing MinimServer on FreeNAS or FreeBSD
Introduction
FreeNAS is a free and open-source solution for building a NAS yourself on commodity hardware. It's based on FreeBSD as the OS and ZFS as the filesystem. MinimServer is a new UPnP AV music server with a number of innovative features that make it easier to organize and explore your music collection. MinimServer does not come readily packaged for FreeNAS, but with a few steps it can be achieved that it runs properly within a jail on the system. Details of investigations about this can be read here and here, but I recommend you save your time and just follow the instructions below. I sum up the steps needed for MinimServer on FreeBSD here:
In the future it might become necessary to repeat the replacement of the zip-file (steps 7 & 8) again because of future updates. Just remember that when MinimServer suddenly stops working that this might be the case. In these cases, you will find an error-message in the log similar like this: Code: >java.lang.UnsatisfiedLinkError: /usr/local/minimserver/data/native/libohNet.so: Shared object "libm.so.6" not found, required by "libohNet.so" Note: At the moment, the libraries are provided for 64-bit architecture only. These files will not work if used on a 32-bit OS (you can check with "uname -a"). Good luck and have fun with MinimServer! |
|||
03-02-2016, 18:41
(This post was last modified: 03-02-2016 18:42 by simoncn.)
Post: #2
|
|||
|
|||
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
Thanks very much for creating this tutorial!
MinimServer update 76 (released today) contains a new version of ohNet (1.6.1919) with an important fix. It would be great if you could download the 1.6.1919 version of the ohNet source from GitHub and rebuild it for FreeBSD. Many thanks! |
|||
07-02-2016, 21:02
Post: #3
|
|||
|
|||
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
(03-02-2016 18:41)simoncn Wrote: MinimServer update 76 (released today) contains a new version of ohNet (1.6.1919) with an important fix. It would be great if you could download the 1.6.1919 version of the ohNet source from GitHub and rebuild it for FreeBSD. Many thanks! I don't know how to download a specific release of ohnet via git. I hope it's OK if I just download the most actual one. I did that and provide it here. I tested it in my installation and everything works fine. |
|||
07-02-2016, 22:01
(This post was last modified: 07-02-2016 23:24 by simoncn.)
Post: #4
|
|||
|
|||
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
(07-02-2016 21:02)airflow Wrote: I don't know how to download a specific release of ohnet via git. I hope it's OK if I just download the most actual one. I did that and provide it here. I tested it in my installation and everything works fine. It is very easy to download a specific release. On the Github page for ohNet, you need to click the link that says 1,996 releases (as of today; this number will vary). This takes you to a page where you can download a .tar.gz file for any specific release. Here is a direct link to this page. It is very desirable to use the same ohNet release as the official MinimServer version because this has been tested by me and by a large number of other MinimServer users. If you use a different release, this might work but there are no guarantees and I cannot provide any help or support if there are problems. |
|||
09-02-2016, 23:56
Post: #5
|
|||
|
|||
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
(07-02-2016 22:01)simoncn Wrote: It is very desirable to use the same ohNet release as the official MinimServer version because this has been tested by me and by a large number of other MinimServer users. If you use a different release, this might work but there are no guarantees and I cannot provide any help or support if there are problems. OK, I implemented this in my building procedure. The file available at the link is now exactly version 1.6.1919. |
|||
24-12-2016, 13:00
Post: #6
|
|||
|
|||
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
I made the ohnet-libs available needed for the recent updates of MinimServer (ohnet(linux-x64)-1.10.2315.zip).
|
|||
18-07-2017, 21:17
Post: #7
|
|||
|
|||
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
I haven't been able to get this to work following the steps given. It appears that when I do step 9 it crashes before it updates the ohnet file.
For step 2, can the dependencies be installed using pkg to install the packages or are you supposed to do a full 'make install clean' on all of them in the portsnap folder. I really hope that isn't the case because the ffmpeg clean install takes hours on my machine and the java install ran for hours and hours and never finished because I killed it after it looked like it was in an infinite loop. I love this server and would really like to have it on my NAS so any help would be appreciated. Thanks! |
|||
18-07-2017, 21:58
Post: #8
|
|||
|
|||
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
(18-07-2017 21:17)lostinsound Wrote: I haven't been able to get this to work following the steps given. It appears that when I do step 9 it crashes before it updates the ohnet file. In this case it seems you haven't properly copied the file over the original. Can you confirm you did that? Quote:For step 2, can the dependencies be installed using pkg to install the packages or are you supposed to do a full 'make install clean' on all of them in the portsnap folder. I really hope that isn't the case because the ffmpeg clean install takes hours on my machine and the java install ran for hours and hours and never finished because I killed it after it looked like it was in an infinite loop. I love this server and would really like to have it on my NAS so any help would be appreciated. Thanks! I guess it's also possible to install the dependencies via different means (pkg), but I haven't tested it that way. |
|||
18-07-2017, 23:32
Post: #9
|
|||
|
|||
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
(18-07-2017 21:58)airflow Wrote:(18-07-2017 21:17)lostinsound Wrote: I haven't been able to get this to work following the steps given. It appears that when I do step 9 it crashes before it updates the ohnet file. Yes I replaced the ohnet(linux-x64)-1.6.1919.zip file in the jail with the file of the same name from the link, then I start the server and it crashes. But step 10 says "This is necessary because the update-procedure has yet added another updated but incompatible zip-file with a new, higher version-number. " This doesn't seem to happen for me, because the ohnet file in the jail is still exactly the same as the one I copied to it in step 8. So you installed the dependencies using 'make install clean' in portsnap and not using pkg? And you were able to install java? I couldn't get it to work. |
|||
19-07-2017, 07:49
Post: #10
|
|||
|
|||
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
The current version of the file is ohnet(linux-x64)-1.10.2315.zip (see this post).
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)