Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Jails on FreeNAS ====== Part of my [[engineering:computer_science:homelab:homelab|HomeLab]] and [[engineering:computer_science:homelab:freenas:freenas|FreeNAS]]. Jails runs FreeBSD, so if you are familiar with the OS you shouldn't have much issues using it. ===== Create a Jail on FreeNAS ===== [TODO] Add Screenshots ===== Connect to the Jail with ===== <code bash> jexec <jail_id> csh </code> ===== Installing Software on Jails ===== Note: I will be using [[https://transmissionbt.com/download/|Transmissionbt]] for this example. * Install Transmission <code bash> pkg install transmission </code> * Add the following lines to **/etc/rc.conf **with: <code bash> vi /etc/rc.conf </code> <code bash> transmission_enable="YES" transmission_watch_dir="/srv/torrents/autoload" transmission_download_dir="/srv/torrents/data" </code> * Add authentication to the Transmission Settings with <code bash> vi /usr/local/etc/transmission/home/settings.json </code> <code bash> "rpc-authentication-required": true, "rpc-username": "admin", "rpc-password": "password", "rpc-whitelist": "127.0.0.1,192.168.1.*", </code> * Start the Daemon with <code bash> service transmission start </code> * Access the WebUI via <code bash> <JAIL_IP>:9091 </code> * You can stop the service with: <code bash> /usr/local/etc/rc.d/transmission stop </code> ===== Export / Import Jails ===== Export with: <code bash> iocage export </code> Import with: <code bash> iocage import </code> CKG Edit engineering/computer_science/homelab/freenas/jails.txt Last modified: 2024/08/16 13:56by carlossousa