Then let the firewall know about glass, you may have to adjust the zone. We have an internal and external zone. Otherwise public would also be an option:
In a final step you may register glass as system service. Therefore create:
vim /etc/systemd/system/dhcpd_glass.service
with the content:
[Unit]
Description=Glass ISC DHCP Server Gui Service
[Service]
ExecStart=/usr/bin/node /opt/glass-isc-dhcp/bin/www
# Required on some systems
WorkingDirectory=/opt/glass-isc-dhcp
Restart=always
# Restart service after 10 seconds if node service crashes
RestartSec=10
# Output to syslog
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=glass-dhcp
[Install]
WantedBy=multi-user.target
Enable the service:
systemctl enable dhcpd_glass.service
and start it:
systemctl start dhcpd_glass.service
Hi, nice project. I set it up on a clean Centos 8 system and wanted to share how I got it running. In case someone is interested:
As root install nodejs
$ yum -y install nodejs
do as in the original recipe:
You can ignore the npm warning about fsevent since you are not using MacOs:
Beforer testing you have to change a path in /opt/glass-isc-dhcp/config/glass_config.json:
Then let the firewall know about glass, you may have to adjust the zone. We have an internal and external zone. Otherwise public would also be an option:
In a final step you may register glass as system service. Therefore create:
vim /etc/systemd/system/dhcpd_glass.service
with the content:Enable the service:
systemctl enable dhcpd_glass.service
and start it:systemctl start dhcpd_glass.service
Have fun!