User Wei Shan shows us how to get MongoDB set up on FreeBSD 10. See the link below for the full instructions.
We can simply run the following to install MongoDB. However, the version installed will not be the latest. At the time of writing, it will be 2.6.7.
#pkg install mongodbWe can perform the following to install the latest MongoDB version:
# portsnap fetch # portsnap extract # portsnap fetch update# cd /usr/ports/databases/mongodb32/ # make install clean
Add startup settings to /etc/rc.conf: …
Full instructions: https://newbiedba.wordpress.com/2016/03/14/installing-mongodb-on-freebsd-10-x/