Install Apache HTTP Server on NetBSD 10
Step 1 – Install
pkgin update
pkgin install apache24
echo 'apache=YES' >> /etc/rc.conf
service apache start
Step 2 – Open firewall ports
# configure NPF for ports 80 and 443
Step 3 – Verify
curl -I http://localhost
apachectl -v
Main config: /usr/pkg/etc/httpd/httpd.conf, vhosts in /usr/pkg/etc/httpd/extra/.