Docker is the recommended method for running hyperglass.
Install Docker
Download hyperglass
mkdir /etc/hyperglass
cd /opt
git clone https://github.com/thatmattlove/hyperglass.git --depth=1
cd /opt/hyperglass
Optional: Quickstart
Do this if you just want to see the hyperglass page working with a fake device.
cp /opt/hyperglass/.samples/sample_devices.yaml /etc/hyperglass/devices.yaml
cd /opt/hyperglass
docker compose up
Navigate to http://localhost:8001
Create a systemd
service
Before you create and start the hyperglass service, you may want to verify whether or not you intend to change any environment variables and change them first.
cp /opt/hyperglass/.samples/hyperglass-docker.service /etc/hyperglass/hyperglass.service
ln -s /etc/hyperglass/hyperglass.service /etc/systemd/system/hyperglass.service
systemctl daemon-reload
systemctl enable hyperglass
systemctl start hyperglass