yum -y install pcre pcre-devel bzip2-devel zlib zlib-devel lighttpd
systemctl status lighttpd
nano /etc/lighttpd/lighttpd.conf
nano /etc/lighttpd/conf.d/cgi.conf
lighttpd -t -f /etc/lighttpd/conf.d/cgi.conf // 测试配置正确性
lighttpd -D -f /etc/lighttpd/conf.d/cgi.conf //启动工作
systemctl restart lighttpd
https://blog.csdn.net/weixin_30618985/article/details/95537180
网友评论