Did you know that you can navigate the posts by swiping left and right?

Setting up the BrainTrust Server

20 Jun 2017 . Category . Comments #research #fsharp #braintrust

I’ve been following various guides for setting up this server, but it got to the point where I thought I’d better make some notes in case I have to redo everything from scratch.

Digital Ocean has some fantastic guides than I’ve leaned on heavily.

Let’s install some stuff on the 16.04 base image. Some of this might be cruft (and I’ve excluded presumed cruft):

sudo apt-get install openssh-server libappindicator1  openjdk-8-jdk xfce4 xfce4-goodies tightvncserver bash-completion dotnet-dev-1.0.4 gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal git maven

Proceed to set up ssh and ufw

Install mono and fsharp from specific repo

 278  sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
  279  echo "deb https://download.mono-project.com/repo/ubuntu xenial main" | sudo tee /etc/apt/sources.list.d/mono-official.list
  280  sudo apt-get update
  281  sudo apt-get install mono-complete fsharp

Install node from specific repo

   57  curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
   58  sudo apt-get install -y nodejs

Set up various node utilities

sudo npm install --global yarn

Install mongodb from a specific repo

   92  sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
   93  cat /etc/apt/sources.list
   94  echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
   95  sudo apt-get update
   96  sudo apt-get install -y mongodb-org
   97  sudo service mongod start
   98  cat /var/log/mongodb/mongod.log 

Set up mongodb

Set up mongo authentication and bt access

Install Craig’s MATE; requires setting java_home

git clone https://github.com/CraigKelly/mateplus-poc.git
cd mateplus-poc/
cd sample && mvn test

Set up VNC

Fix autocomplete in xfce

Install Caddy

Set up node app with forever

Install VSCode and Chrome