blob: 70241adbdbf5da32053ac3535cfd374b27407a88 (
plain)
1 REQUIREMENTS
2
3 PRE-INSTALL
4
5 POST-INSTALL
6
7 lighttpd runs as a different user ('lighttpd') by default for security reasons.
8 Do the following after installing the port:
9
10 useradd -s /bin/false lighttpd
11 groupadd lighttpd
12 touch /var/www/logs/access_log
13 touch /var/www/logs/error_log
14 chown lighttpd:lighttpd /var/www/logs/*
15
16 If you wish to enable SSL support, uncomment the relevant lines in
17 /etc/lighttpd.conf and generate a self-signed certificate:
18
19 openssl req -new -x509 \
20 -keyout /etc/ssl/certs/lighttpd.pem -out /etc/ssl/certs/lighttpd.pem \
21 -days 365 -nodes
22
23 PRECAUTION
|