Installation instructions
Freenas-tempreport will be installed in a so called Jail, which can be
described as a virtual machine also running FreeNAS.
To install freenas-tempreport perform these steps:
- Download the latest version of freenas-tempreport and put it on one of the shares of your FreeNAS unit.
- Log in to the web-UI and go to Jails.
- If there isn't any defined, set a Jail root path (e.g. a dataset /mnt/vol1/jails).
- Go to Jails again and create a new jail by clicking on the Add Jail button.
Fill in a Jail Name, e.g. "freenas-tempreport".
Click on Advanced mode and either enable "IPv4 DHCP" or fill in an ip address in the field "IPv4 address" (this will be the ip address of the jail, should be an ip address that is not used by anything else).
Click OK to create the jail.
- Open the Shell (of your FreeNAS unit, not for your jail) in the lower left of the menu tree.
- Copy the installation tarball to the temp folder in the jail (the path of the jail root can be found in the Jails Configuration section):
cp /mnt/vol1/ds_yourshare/freenas-tempreport-x.x.x.tar.gz /mnt/vol1/jails/freenas-tempreport/tmp/
- Go to Jails > View Jails.
- Select the freenas-tempreport jail and click on the jail Shell button in the toolbar that appears below.
This opens a shell for your jail.
- Unpack the installation tarball:
cd /tmp
tar -xvzpf freenas-tempreport-x.x.x.tar.gz
- Go to the folder with the installation files
cd freenas-tempreport-x.x.x
- Run the installation command
make install
- In Jails > View Jails, select your jail again and click on the Restart button on the toolbar that appears below.
Now you can open your web browser and go to http://jail_ip to check your temperatures, where jail_ip is the ip address you entered when creating the jail or the ip adress that has been assigned by the DHCP server.