I just picked up an APC ups with a usb connection. Is there any way to configure graceful shutdown from omnios for a free hypervisor ESXI 6.7 AIO?
If you want to install software via pkgin (installs every package to /opt/local), you need to (console as root):
https://pkgsrc.joyent.com/install-on-illumos/
#add path to /opt/local where all software is installed:
export PATH=/opt/local/sbin:/opt/local/bin:$PATH
#install the bootstrap-loader: (LTS release is ..Q4)
curl http://pkgsrc.joyent.com/packages/SmartOS/bootstrap/bootstrap-2018Q4-x86_64.tar.gz | gtar -zxpf - -C /
#or newest
update repository database:
pkgin -y update
#install the needed package, example Apache 2.4.6
pkgin -y install apache-2.4.6
#or
pkgin -y install apache-2.4 (for newest 2.4)
Having used both, I do find NUT a bit more elegant.There is a nice write up at Openindiana wiki that I've used. If you prefer NUT.
Network UPS Tools (NUT) and NUT Monitor - OpenIndiana - OpenIndiana Wiki
wiki.openindiana.org