fdajax 0.9버전을 기준으로 설치법을 설명하겠다.
lighttpd 모듈로써 설치가 되는데 파일에 첨부된 파일을 보면 다음과 같은 설치 문서가 들어있다.
FdAjax module version 0.9, Thu, Jul 22, 2007
FdAjax short compilation and installation doc (http://www.refwell.com/blog).
1. Download and unpack Lighttpd 1.4.15 sources (http://www.lighttpd.net/download/).
2. Copy FdAjax source files to Lighttpd src directory.
3. Run ./configure --prefix=/usr/local/lighttpd
3a. You can enable other configure options, e.g. --with-openssl
4. Run make
5. Run ./configure --enable-maintainer-mode --prefix=/usr/local/lighttpd
6. Add the following lines to src/Makefile.am file (http://trac.lighttpd.net/trac/wiki/HowToWriteALighttpdPlugin).
lib_LTLIBRARIES += mod_fdajax.la
mod_fdajax_la_SOURCES = mod_fdajax.c mod_fdajax_parser.c mod_fdajax_peercall.c mod_fdajax_info.c mod_fdajax_users.c mod_fdajax_alerts.c mod_fdajax_chat.c mod_fdajax_messages.c mod_fdajax_windows.c mod_fdajax_groups.c mod_fdajax_events.c
mod_fdajax_la_LDFLAGS = -module -export-dynamic -avoid-version -no-undefined
mod_fdajax_la_LIBADD = $(common_libadd)
7. Run make
7a. Make sure that new Makefile files were generated. In case of problems with compilation download and install latest automake and autoconf packages.
이 방식으로 설치가 안되서 애를 먹었는데 autoconf 버전문제였다.
6번과 7번사이에 다음을 실행해주면 된다.
lighttpd 모듈로써 설치가 되는데 파일에 첨부된 파일을 보면 다음과 같은 설치 문서가 들어있다.
FdAjax module version 0.9, Thu, Jul 22, 2007
FdAjax short compilation and installation doc (http://www.refwell.com/blog).
1. Download and unpack Lighttpd 1.4.15 sources (http://www.lighttpd.net/download/).
2. Copy FdAjax source files to Lighttpd src directory.
3. Run ./configure --prefix=/usr/local/lighttpd
3a. You can enable other configure options, e.g. --with-openssl
4. Run make
5. Run ./configure --enable-maintainer-mode --prefix=/usr/local/lighttpd
6. Add the following lines to src/Makefile.am file (http://trac.lighttpd.net/trac/wiki/HowToWriteALighttpdPlugin).
lib_LTLIBRARIES += mod_fdajax.la
mod_fdajax_la_SOURCES = mod_fdajax.c mod_fdajax_parser.c mod_fdajax_peercall.c mod_fdajax_info.c mod_fdajax_users.c mod_fdajax_alerts.c mod_fdajax_chat.c mod_fdajax_messages.c mod_fdajax_windows.c mod_fdajax_groups.c mod_fdajax_events.c
mod_fdajax_la_LDFLAGS = -module -export-dynamic -avoid-version -no-undefined
mod_fdajax_la_LIBADD = $(common_libadd)
7. Run make
7a. Make sure that new Makefile files were generated. In case of problems with compilation download and install latest automake and autoconf packages.
이 방식으로 설치가 안되서 애를 먹었는데 autoconf 버전문제였다.
6번과 7번사이에 다음을 실행해주면 된다.
autoreconf -fi
설치가 완료되면 lighttpd 의 /lib 디렉토리에
mod_fdajax.la
mod_fdajax.so
두개의 파일이 생성이 된다.
이렇게 되면 테스트를 할 준비가 완료가 된것이다.
PHP를 인스톨하면 example로 들어있는 웹채팅이 실행 가능하다.
lighttpd는 FastCGI방식으로 php를 실행할수 있는데 자세한 설명은 다음 주소에 나와있다.
http://trac.lighttpd.net/trac/wiki/TutorialLighttpdAndPHP
내가 설치해본 데모는 다음 주소에서 볼수 있다.
http://211.218.209.242/
active-x 나 별다른 클라이언트없이 인터렉티브한 웹어플리케이션을 구현할수있다.
실행화면 스샷이다.
'프로그래머로 살아가기' 카테고리의 다른 글
Performance Tunning시에 참고할 명언들 (0) | 2009.04.23 |
---|---|
소프트웨어 개발의 모든것(All of Software Project) - 소프트웨어 프로젝트 팀의 역량 평가표 (2) | 2009.03.01 |
Comet 기술이란...? (0) | 2008.01.15 |
Frontend 웹페이지 성능 측정 (0) | 2007.11.29 |
64bit OS에서 php mysql 설치하기 (0) | 2007.11.28 |