Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 2.56 KB

README.md

File metadata and controls

56 lines (35 loc) · 2.56 KB

iocage-tasmoadmin

Artifact file(s) for TasmoAdmin


iocage-plugin-tasmoadmin

  • This script will by default create a plugin-jail for TasmoAdmin using nginx and php72 on FreeNAS 11.2

Download plugin and install

wget -O /tmp/tasmoadmin.json https://raw.githubusercontent.com/tprelog/iocage-tasmoadmin/master/tasmoadmin.json
sudo iocage fetch -P dhcp=on vnet=on bpf=yes -n /tmp/tasmoadmin.json --branch 'master'


iocage-jail-tasmoadmin

  • This scrpit can also be used to create a standard-jail for the same TasmoAdmin using nginx and php72
Create a jail using a pkg-list to install requirements
wget -O /tmp/pkglist.json https://raw.githubusercontent.com/tprelog/iocage-tasmoadmin/master/pkg-list.json
sudo iocage create -r 11.2-RELEASE boot=on dhcp=on bpf=yes vnet=on -p /tmp/pkglist.json -n tasmoadmin
Git TasmoAdmin and install
sudo iocage exec tasmoadmin git clone https://github.com/tprelog/iocage-tasmoadmin.git /root/.iocage-tasmoadmin
sudo iocage exec tasmoadmin bash /root/.iocage-tasmoadmin/post_install.sh standard

  • You should now be able to use TasmoAdmin by entering http://YOUR.TASMOADMIN.IP.ADDRESS in your browser
Reset the TasmoAdmin login
sudo iocage exec tasmoadmin tasmo-pwreset
To see a list of jails as well as their ip address
sudo iocage list -l
+-----+--------------+------+-------+----------+-----------------+---------------------+-----+----------+
| JID |     NAME     | BOOT | STATE |   TYPE   |     RELEASE     |         IP4         | IP6 | TEMPLATE |
+=====+==============+======+=======+==========+=================+=====================+=====+==========+
| 1   | tasmoadmin   | on   | up    | jail     | 11.2-RELEASE-p4 | epair0b|192.0.1.73  | -   | -        |
+-----+--------------+------+-------+----------+-----------------+---------------------+-----+----------+
| 2   | tasmoadmin_2 | on   | up    | pluginv2 | 11.2-RELEASE-p4 | epair0b|192.0.1.76  | -   | -        |
+-----+--------------+------+-------+----------+-----------------+---------------------+-----+----------+

Tested on FreeNAS-11.2-BETA3
More information about iocage plugins and iocage jails can be found in the FreeNAS guide
This script should also still work with FreeNAS 11.1

Also available in the TasmoAdmin repo as well!