FreeBSD Install Lighttpd Web Server
4:52 am in FreeBSD, Unix by admin
Lighttpd a secure, fast, compliant and very flexible web-server which has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care of cpu-load.
Lighttpd on FreeBSD:
First update your port tree by typing following commands:
# portsnap fetch
# portsnap update
Install lighttpd web server under FreeBSD
Lighttpd port is located under /usr/ports/www/lighttpd:
# cd /usr/ports/www/lighttpd
Install lighttpd:
# make
# make install
# make clean
Start Lighttpd Server Under FreeBSD
To start Lighttpd server, enter:
# /usr/local/etc/rc.d/lighttpd start
Verify that lighttpd is running:
# netstat -nat
Auto start lighttpd service
You need to enable both services. Open /etc/rc.conf:
# vi /etc/rc.conf
Append following two lines:
lighttpd_enable="YES"
Recent Comments