These instructions are derived from those in the Mesos Community Documentation.
Do the below as root.
cat <<EOF >> /etc/apt/sources.list.d/mesosphere.list
deb http://repos.mesosphere.com/ubuntu xenial main
| const echarts = require("echarts"); | |
| const Canvas = require('canvas'); | |
| const {JSDOM} = require('jsdom'); | |
| const fs = require('fs'); | |
| echarts.setCanvasCreator(() => { | |
| return new Canvas(100, 100); | |
| }); | |
| const {window} = new JSDOM(); | |
| global.window = window; |
These instructions are derived from those in the Mesos Community Documentation.
Do the below as root.
cat <<EOF >> /etc/apt/sources.list.d/mesosphere.list
deb http://repos.mesosphere.com/ubuntu xenial main