Skip to content

Instantly share code, notes, and snippets.

@manuee
manuee / install_mineos-node
Last active April 5, 2016 18:23 — forked from hexparrot/install_mineos-node
Downloads, installs and configures components required for the MineOS Web User Interface on apt-get based systems.
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
# update repositories
curl -sL https://deb.nodesource.com/setup_4.x | bash -
apt-get update