惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 司徒正美
M
MIT News - Artificial intelligence
博客园_首页
IT之家
IT之家
L
LangChain Blog
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
人人都是产品经理
人人都是产品经理
博客园 - Franky
云风的 BLOG
云风的 BLOG
罗磊的独立博客
量子位
G
Google Developers Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 【当耐特】
博客园 - 叶小钗
S
SegmentFault 最新的问题
Stack Overflow Blog
Stack Overflow Blog
B
Blog
T
Tailwind CSS Blog
A
About on SuperTechFans
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com

博客园 - witer666

PHP API 框架开发的学习 [android开发必备] Android开发者社区汇总 android定时器 微博feed系统的push和pull模式和时间分区拉模式架构探讨 一个mysql小技巧 redhat安装memcacheQ php empty问题 Linux PHP连接MSSQL Curl参数一览 Redhat Memcache UDF安装配置 Redhat Mongodb学习笔记 PHP使用技巧 位运算符C语言 HTTP 状态代码表示什么意思? PHP正则表达式学习参考的文章 Redhat Cacti安装配置 Percona-Server5.5安装配置 50点提高PHP编程效率 引入缓存提升性能 wget使用
Redhat Lighttpd安装配置
witer666 · 2011-04-19 · via 博客园 - witer666

一、软件包

a) pcre-devel-6.6-2.el5_1.7.i386.rpm

b) lighttpd-1.4.28.tar.gz

二、安装步骤

a) Rpm –ivh pcre-devel-6.6-2.el5_1.7.i386.rpm

b) Tar zxvf lighttpd-1.4.28.tar.gz

c) Cd lighttpd-1.4.28

d) ./configure –prefix=/usr/local/lighttpd

e) Make

f) Make install

g) Mkdir /etc/lighttpd

h) cp doc/config/lighttpd.conf /etc/lighttpd/

i) cp -r doc/config/conf.d/ /etc/lighttpd/conf.d/

j) cp doc/config/modules.conf /etc/lighttpd/

k) cp doc/initscripts/rc.lighttpd.redhat /etc/init.d/lighttpd

l) vi /etc/init.d/lighttpd

找到prog="lighttpd"节,注释掉默认的,添加:
lighttpd="/usr/local/lighttpd/sbin/lighttpd"

m) mkdir –p /srv/www/htdocs

n) useradd lighttpd

o) chown –r lighttpd:root /srv/www/htdocs

p) cd /srv/www/htdocs

q) vi index.html

r) chkconfig –add lighttpd

s) chkconfig lighttpd on

t) server lighttpd start

u) ps aux|grep lighttpd

v) http://localhost/index.html