This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Make a handy json file to automatically install the needed packages for TheLounge to build and execute when the jail is made. | |
echo '{"pkgs":["python2","ca_root_nss","yarn","gmake"]}' > /tmp/pkg.json | |
## Create the jail using that json file we created earlier. | |
## I use 12.2-RELEASE as it's the most recent at the time of writing. | |
## Replace <IP>, <MASK> and <GATEWAY> with your own. | |
iocage create -n "thelounge" -p /tmp/pkg.json -r 12.2-RELEASE ip4_addr="vnet0|<IP>/<MASK>" defaultrouter="<GATEWAY>" vnet="on" allow_raw_sockets="1" boot="on" | |
## Delete the now useless file we created at the beginning. | |
rm /tmp/pkg.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Make a handy json file to automatically install the needed packages for Radarr to run | |
echo '{"pkgs":["libunwind","icu","libinotify","openssl","mediainfo","sqlite3","ca_root_nss","libiconv","nano","curl","wget"]}' > /tmp/pkg.json | |
## Create the jail using that json file we created earlier. | |
## I use 12.2-RELEASE as it's the most recent at the time of writing. | |
## Replace <IP>, <MASK> and <GATEWAY> with your own. | |
iocage create -n "radarr" -p /tmp/pkg.json -r 12.2-RELEASE ip4_addr="vnet0|<IP>/<MASK>" defaultrouter="<GATEWAY>" vnet="on" allow_mlock="1" allow_raw_sockets="1" boot="on" | |
## Delete the now useless file we created at the beginning. | |
rm /tmp/pkg.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a pkg.json file containing everything your jail needs to install and run Komga. | |
echo '{"pkgs":["openjdk11-jre","nano","ca_root_nss","yarn"]}' > /tmp/pkg.json | |
# Using that file we just made, create the jail with IOCAGE. Replace <KOMGA> with the IP you want the Komga server to have on your network and <ROUTER> with the address of your network's router. | |
iocage create -n "komga" -p /tmp/pkg.json -r 12.2-RELEASE ip4_addr="vnet0|<KOMGA>/24" defaultrouter="<ROUTER>" vnet="on" allow_raw_sockets="1" boot="on" | |
# We can now safely delete that file we created earlier. | |
rm /tmp/pkg.json | |
# Make a config directory to store Komga, its config files, the database and logs. |