找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3870|回复: 1

lighttpd安装笔记--新手必看

[复制链接]
lighttpd总是不能成功启动运行,在其配置文件lighttpd.conf查看日志文件,路

径/opt/var/log/lighttpd/erroe.log:

2012-03-12 08:03:42: (log.c.166) server started                                             

                                                
2012-03-12 08:03:42: (fdevent_linux_sysepoll.c.134) epoll_create failed (Function not

implemented), try to set server.event-handler = "poll" o
2012-03-12 08:03:42: (fdevent.c.41) event-handler linux-sysepoll failed, try to set

server.event-handler = "poll" or "select"                 
2012-03-12 08:03:42: (server.c.1119) fdevent_init failed      
在?



1 去掉# ,"mod_access", "mod_fastcgi",增加 "mod_scgi" )
#vi /opt/etc/lighttpd/lighttpd.conf,修改server.port=8080 ,默认8081,因为有时间会被占用

2 lighttpd.conf  设置 server.event-handler = "poll" 后者 "select",我是poll

3 最后添加

在lighttpd.conf的最后加上
################

scgi.server = (
"/RPC2" =>
( "127.0.0.1" =>
(
"host" => "127.0.0.1",
"port" => 5000,
"check-local" => "disable"
)
)
)

##################

4 绝对路径运行,#/opt/etc/init.d/S80lighttpd start
可以stop,restart
5 #ps 在进程里看到/opt/sbin/lighttpd -f /opt/etc/lighttpd/lighttpd.conf

6  浏览器中192.168.1.10:8080  ,显示 lighttpd server is running.说明lighttpd配置成功!
我的恩山、我的无线 The best wifi forum is right here.
能出个具体的配置文件说明吗
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-28 08:55

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表