*NOTE* This is my newb guide. I'm a new too! If you don't trust anything here, look it up in the WIKI!!!! After multiple installs and multiple headaches I decided to write this for myself and others ;) Be aware this isn't the most secure. It's using a user with full permissions and no passwords.



Buy the right hardware. Test it to make sure it works. (HDD's, ECC RAM, ETC)

Installing and upgrading FreeNAS (Make sure your USB drive is greater than 8 GB). On FreeNas 9.3 you'll need either 2 USB drives/cd drive... or a motherboard with IPMI to mount the boot image.

To fiddle with BIOS or the Console Setup you'll need a motherboard with IPMI (the best case scenario), a cpu with integrated graphics, or a cheap GPU. IPMI allows you to just control it via your desktop/laptop computer. You set up the BMC for IPMI in the BIOS. If you don't have a display, you can type "arp -a" in the windows command prompt to see if the IPMI IP Address is listed. Then just put that into your address bar and log in. Your motherboard should have information in the manual for it too.

Plugin -- UID -- Data-Directory list. If you ever have to re-install you can backup the /var/db/PLUGIN folder and restore it after an install.

folder and restore it after an install. If deleting plugin and re-installing make sure to : rm -r /var/run/PLUGIN

For CP I had to remove windows ACLS. (When you look at the directory, ls -l if the permissions have '+" signs on them it means they're enabled. To remove them recursively you can run this command: find . -type d -exec setfacl -b {} \;

For CP I had to run these group commands listed in the link above as well... pw groupadd -n media -g 816

pw groupmod media-m media

Transmission Setup:

Plex Setup:

CouchPotato Setup:

Sickrage Setup (Torrent Version):

Sickrage --> Sickchill





service sickrage stop then rm -r /usr/pbi/sickrage-amd64/share/sickrage/SickRage

fetch --no-verify-peer "https://github.com/SickChill/SickChill/archive/master.zip"

unzip master.zip

mv SickChill-master /usr/pbi/sickrage-amd64/share/sickrage/SickRage

chown -R media:media /usr/pbi/sickrage-amd64/share/sickrage/SickRage

rm master.zip

service sickrage start Probably a change of git_remote_url to https://github.com/SickChill/SickChill.git in /var/db/sickrage/config.ini (always inside the jail) is needed for future updates.



chown -R user:user */file of folder/





- Cron job log -->

find . -type d -exec setfacl -b {} \;

chmod -R 777 */file or folder/

jls

jexec # tcsh

$ setenv VISUAL /usr/local/bin/nano

$ setenv EDITOR /usr/local/bin/nano

$ echo "setenv VISUAL /usr/local/bin/nano" >> ~/.cshrc

$ echo "setenv EDITOR /usr/local/bin/nano" >> ~/.cshrc

ls -l

nano /var/log/messages

- To change user/group of a folder/file:/var/log/cron- Stripping Windows ACL's from folders (recursively)- To change permissions of a folder/file:- To enter a jail(lists the jails and the jail #)(enters the jail)How to set the default text editor (pkg install nano):How to set the default editor permanently:zpool statuszpool iostatus(lists the files and the groups/users/permissions)(view the log from freenas)In Shell you can type "tail -f /var/log/any_log_name"rm -r (to delete a folder or file) ~ rm = remove, -rf = recursive forced mkdir = make directory