MySpeed in an LXC Container
Prep
Create an LXC using debian template. Use DHCP, configure the DHCP server to have a static IP allocated to the MAC of this LXC.
Then:
apt update
apt upgrade
apt install nodejs npm
apt install node-express
Installation
Follow the docs:
mkdir /opt/myspeed && cd /opt/myspeed
wget $(curl -s https://api.github.com/repos/gnmyt/myspeed/releases/latest | grep browser_download_url | cut -d '"' -f 4)
unzip MySpeed-*.zip && rm MySpeed-*.zip
npm install
Create service file as in docs:
nano /etc/systemd/system/myspeed.service
systemctl enable myspeed
systemctl start myspeed
To check status:
systemctl status myspeed
Point your browser to http://_lxc_ip_:5216/
to proceed.