Install Transmission on FreeNAS 8.0.4 Embedded/Full: Now that you've got your FreeNAS up and running and all that Internet bandwidth idling away. What would you do with it? Of course you want to maximize your machine. Instead of having your FreeNAS and Internet connection bandwidth idle during the n. Oct 17, 2019 Ultimate FreeNAS 11.3 iocage Setup. GitHub Gist: instantly share code, notes, and snippets. My freenas install is quite old and has been upgraded many times. That could have something to do with having a different default shell than others. Also, thank you for putting together this wonderful guide. This comment has been minimized.
Note: All these commands must be run as
root
.Requirements:
- Hardware
- CPU: amd64-compatible 64-bit Intel or AMD CPU.
- 16GB memory, or the equivalent in memory plus swap space
- at least 80GB of free disk space
- Operating System
- The build environment must be FreeBSD 11.x (or 11-STABLE)(building on FreeBSD 10 or 12 is not supported at this time).
Make Targets
checkout
creates a local working copy of the git repositories withgit clone
update
does agit pull
to update the local working copy withany changes made to the git repositories since the last updaterelease
actually builds the FreeNAS releaseclean
removes previously built files
Procedure
- Install git
- Clone the build repository (
/usr/build
is used for this example): - Install Dependencies
- First-time checkout of source:
A FreeNAS release is built by first updating the source, then building:
To build the SDK version:
Clean builds take a while, not just due to operating system builds, butbecause poudriere has to build all of the ports. Later builds are faster,only rebuilding files that need it.
Use
make clean
to remove all built files.Results
Built files are in the
freenas/_BE
subdirectory,/usr/build/freenas/_BE
in this example.ISO files:
freenas/_BE/release/FreeNAS-11-MASTER-{date}/x64/
.Update files:
freenas/_BE/release/
.Log files:
freenas/_BE/objs/logs/
.All credit to @axemann for these instructions.
OK everyone, I believe I have worked out how to get Homebridge installed in a jail in FreeNAS/FreeBSD 9.3. It took a bit of Googling and poking around in things, but you should be able to create a standard jail, log in, and paste the following into a terminal window to get Homebridge installed (I recommend enabling sshd and using putty or another SSH client):
FreeNAS 9.3
FreeNAS 9.10
You'll have to edit the ~/.homebridge/config.json to work with your particular configuration, but that should be documented fairly well elsewhere in the Wiki.
Once you have your config.json file built and working, run:
to start Homebridge and have it run as a daemon. PM2 will automatically start the process at boot-time, so no need for any further hackery in that department. :)
Output and Debug logs will be located at ~/.pm2/logs/ for monitoring and troubleshooting purposes.
Just an FYI: This was tested while running as root, which is probably a Very Bad Thing, but I believe it should work properly under another user (but it will have to be installed by a user with root privileges). Also, VIMAGE was enabled on the jail, since I was unable to get the Bonjour/avahi service advertisement to work properly without it during my testing.
Best of luck, and let me know how it goes!