Mineos-node on BSD

From MineOS Wiki
Jump to navigation Jump to search
mkdir /etc/pkg
touch FreeBSD.conf
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

mkdir -p /usr/share/keys/pkg/trusted
touch /usr/share/keys/pkg/trusted/pkg.freebsd.org.2013102301
vi /usr/share/keys/pkg/trusted/pkg.freebsd.org.2013102301


function: "sha256"
fingerprint:
"b0170035af3acc5f3f3ae1859dc717101b4e6c1d0a794ad554928ca0cbb2f438"
pkg
pkg update
pkg install git
pkg install node
pkg install www/npm
pkg install rdiff-backup
pkg install openjdk8-jre


If you have not done it yet, please do the following:

       mount -t fdescfs fdesc /dev/fd
       mount -t procfs proc /proc

To make it permanent, you need the following lines in /etc/fstab:

       fdesc   /dev/fd         fdescfs         rw      0       0
       proc    /proc           procfs          rw      0       0