Joshua Parker Ruehlig
Hall of Famer
- Joined
- Dec 5, 2011
- Messages
- 5,949
Notes
Source - https://github.com/josh4trunks/freenas-plugins
- This plugin requires FreeNAS version 9.2.1.8 or higher
- You should add an "Pre-Init Command" similar to this so the plugin works after a (re)boot without manual stopping and starting
Code:/sbin/mount -t linprocfs linprocfs /mnt/tank/jails/mineos_1/usr/compat/linux/proc
- To update the MineOS you need to first run the following one time...
Code:pkg install -y npm openjdk8 sed -i '' -e 's|^\(command="\).*\("\)$|\1/usr/local/bin/node\2|' /usr/local/etc/rc.d/mineos sed -i '' -e 's|^\(start_precmd="\).*\("\)$|\1export PATH=$PATH:/usr/local/bin:/usr/pbi/mineos-amd64/bin\2|' /usr/local/etc/rc.d/mineos sed -i '' -e 's|^\([[:space:]]*\)/.*/npm\([[:space:]].*\)$|\1CXX=c++ /usr/local/bin/npm\2|' /usr/local/etc/rc.d/mineos
You can then update MineOS with the following...
Code:service mineos onestop service mineos oneupdate service mineos start
- User/Group/Password management is done by editing UNIX users/groups/passwords in the plugin jail's userland
- The default user is "mcserver" with the password "mcserver"
- [Base Directory] is /var/games/minecraft by default
Source - https://github.com/josh4trunks/freenas-plugins
Last edited: