* Requires root
* Do at your own risk (as usual)
1- Check current NFS configs
Code: Select all
unicli -l --module=unicorn.sharing.nfs
Code: Select all
unicli -e --module=unicorn.sharing.nfs public_shares_only:True
Code: Select all
unicli -e --module=unicorn.sharing.nfs enabled:True
Code: Select all
unicli -l --module=unicorn.sharing.nfs
Code: Select all
ngc --start nfs
6- Add NFS service to start at boot time
Code: Select all
echo -e "nfs" >> /etc/initng/runlevel/default.runlevel
In mount command replace "networkspace2.local" with your own NS2 IP or name which is resolvable from the other box.mkdir NS2_OpenShare
mount -t nfs networkspace2.local:/shares/OpenShare NS2_OpenShare
NB.
- If you do not perform step 2, all users files will be available publicly with no authentication.
- If you want to customize any other settings, you have to disable and enable again NFS, to force unicorn to rebuild /etc/exports (step 3)
- If you rebuild unicorn DB, you will have to run steps (2, 3 & 5) again.