설치

Linux 2008. 6. 4. 13:58

yum install mysql-server

yum install gcc*

yum install bzin2*

yum install pcre*

curl -O http://www.lighttpd.net/download/lighttpd-1.4.19.tar.gz

tar zxvf lighttpd-1.4.19.tar.gz

./configure

make

su

make install

cd /usr/local/lighttpd-1.4.19/openwrt

cp lighttpd.conf /etc/

vi /etc/lighttpd.conf

mod_proxy 추가

$HTTP["host"]== "www.isfou.com" {

server.document-root = "/www/docs/isfou.com/"

proxy.server = (

  "/memozee" => ( ( "host" => "127.0.0.1","port" => 8080 ) ),

  "/explorer" => ( ( "host" => "127.0.0.1","port" => 8080 ) )

)

}

$HTTP["host"] = "file.isfou.com" {

server.document-root = "/www/docs/isfou.com/file/"

}

'Linux' 카테고리의 다른 글

linux java install  (0) 2008.06.04
lighthttpd install  (0) 2008.06.04
BIND,NAMED? DNS설정  (0) 2008.06.04
Command2  (0) 2008.06.04
Vi 편집기  (0) 2008.06.04
Posted by 으랏차
,