Skip to content

Create a plugin or jail running TasmoAdmin using nginx and php72 on FreeNAS 11.2

Notifications You must be signed in to change notification settings

JeremiahGillis/iocage-tasmoadmin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 https://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!

About

Create a plugin or jail running TasmoAdmin using nginx and php72 on FreeNAS 11.2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%