For an install of NS8 on Debian 11, this PATH statement is needed -
PATH=$PATH:/usr/sbin:/sbin:/usr/local/sbin
Environment of test. Install on Debian 11. Hyper-V host running Windows Server 2016. (Several Linux VMs running well.) Fresh minimum install of Debian 11. Install script run as root.
Before running install script, the PATH variable needs to be expanded -
PATH=$PATH:/usr/sbin:/sbin:/usr/local/sbin
Otherwise, fails with
Grant initial permissions:
Install Traefik:
bash: line 191: add-module: command not found
Hopefully, this post will save someone some time. (I apologize if this is the improper place to post this.)
Found the following sh lines in other projects that might help others.
if [[ “$PATH” =~ “:/usr/local/sbin” ]] ; then echo “PATH includes :/usr/local/sbin”; else PATH=$PATH:/usr/local/sbin ; fi
if [[ “$PATH” =~ “:/usr/sbin” ]] ; then echo “PATH includes :/usr/sbin”; else PATH=$PATH:/usr/sbin ; fi
if [[ “$PATH” =~ “:/sbin” ]] ; then echo “PATH includes :/sbin”; else PATH=$PATH:/sbin ; fi