dureal99d
Contributor
- Joined
- Aug 3, 2017
- Messages
- 156
Ok so here it is: many people have been confused as how to get this guide to work and of course im sure u've noticed thier has been some changes to the O/S since the making of the guide.
Here is the fix.
You must create a iocage Jail in order for this guide to work
how do you create an iocage Jail?
that is another question many have have.
I shall explain it for you and post an plug and play example
where the XXX's are after the -n is your jail name for the ip is emo or whatever you nic is called (you can see this in the freenas gui under network settings) the xxx in the ip is your ip address.
this is to be executed from the freenas user space not a jail
once you do execute it will install the iocage jail
after this you simply access the iocage jail the same you would any other jail in freenas by using the jls command and the the jexec jail# command
then to create the storage
after doing this install this guide the same as you would in a regular jail. hope this helps
Here is the fix.
You must create a iocage Jail in order for this guide to work
how do you create an iocage Jail?
that is another question many have have.
I shall explain it for you and post an plug and play example
Code:
iocage create -n xxxx ip4_addr="msk0|192.168.x.xxx/24" -r 11.1-RELEASE
where the XXX's are after the -n is your jail name for the ip is emo or whatever you nic is called (you can see this in the freenas gui under network settings) the xxx in the ip is your ip address.
this is to be executed from the freenas user space not a jail
once you do execute it will install the iocage jail
after this you simply access the iocage jail the same you would any other jail in freenas by using the jls command and the the jexec jail# command
then to create the storage
iocage fstab -a myjail "/mnt/Share0/files /mnt/files nullfs rw 0 0"
iocage fstab -a myjail "/mnt/Share0/db /var/db/mysql nullfs rw 0 0"
after doing this install this guide the same as you would in a regular jail. hope this helps
Last edited: