Install NBcoin on FreeBSD

The NBcoin digital currency is probably a dead coin at this point, but so long as someone wants it I guess it could still be revived. I've made installing NBcoin on FreeBSD is very easy.

Requirements

  • FreeBSD 9.1 or later
  • About 500 MB free space
  • 2 GB RAM to build, 128 MB RAM to run

NBcoin isn't part of the official FreeBSD ports system. So you will need to manually download the port information and extract it into your ports tree:

fetch -o /tmp/nbcoin.shar http://www.unibia.com/unibianet/sites/default/files/nbcoin.shar_.txt 
cd /usr/ports/net-p2p/
sh /tmp/nbcoin.shar
cd nbcoin

If by some miracle this coin gains interest again I will submit the port.

This HelpFile will only build the headless version of the NBcoin server. If you want to build the Qt GUI version, you will need to enable that from the configuration screen. Run "make config" and deselect all the options:

make config

Next build and install the port:

make install

Accept all default options for any dependent ports when asked. In about 30 minutes (depending on your computer's speed) the port will be installed.

Configure the Service

Before you can run the NBcoin daemon you'll need to create an admin user, un-comment and set the password in the configuration file /usr/local/etc/nbcoin.conf.

rpcuser=myname
rpcpassword=12345678909876754abcs

Finally enable the service in your /etc/rc.conf file:

echo "nbcoin_enable="YES"" >> /etc/rc.conf

You can start the NBcoin service using:

service nbcoin start

Stop with:

service nbcoin stop

Additional Options

You can specify additional options such as the data directory path (default is /var/db/nbcoin) by setting some variables in your /etc/rc.conf file:

nbcoin_config="/etc/nbcoin_configuration.conf"
nbcoin_datadir="/usr/local/nbcoin/data"

The data directory will be created automatically if it does not exist.

If you found this useful and would like to show thanks, I like Zetacoins: ZK6kdE5H5q7H6QRNRAuqLF6RrVD4cFbiNX

AttachmentSize
Plain text icon nbcoin.shar_.txt10.15 KB