Starting and Stopping the HTTP Daemon
The Apache installation process in the ports collection will start the server automatically. You can verify this by looking for httpd processes using ps and grep:
# ps -waux | grep httpd root 220 0.0 2.0 4436 2456 ?? Ss Sat02PM 0:02.79 /usr/local/sbin/httpd nobody 303 0.0 2.0 4496 2548 ?? I Sat02PM 0:00.01 /usr/local/sbin/httpd nobody 304 0.0 2.0 4460 2452 ?? I Sat02PM 0:00.00 /usr/local/sbin/httpd nobody 305 0.0 2.0 4460 2452 ?? I Sat02PM 0:00.00 /usr/local/sbin/httpd nobody 306 0.0 2.0 4460 2452 ?? I Sat02PM 0:00.00 /usr/local/sbin/httpd nobody 307 0.0 2.0 4460 2452 ?? I Sat02PM 0:00.00 /usr/local/sbin/httpd nobody 13963 0.0 2.0 4468 2468 ?? I Sat10PM 0:00.00 /usr/local/sbin/httpd
Note that Apache uses ...
Get FreeBSD® Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.