태터데스크 관리자

도움말
닫기
적용하기   첫페이지 만들기

태터데스크 메시지

저장하였습니다.

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번사이에 다음을 실행해주면 된다.
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 나 별다른 클라이언트없이 인터렉티브한 웹어플리케이션을 구현할수있다.

실행화면 스샷이다.

사용자 삽입 이미지



Posted by Breeze.Kang

댓글을 달아 주세요

  1. 우올.. 좋은 팁 감사합니다. 궁금했었는데... 좋은 reference 가 생겼네요. ^^
    잘 지내시죠? 새로 오픈하신 서비스 대박 나시길 기원할께요.. 늦었지만 새해 복 많이 받으시고요.. (__)

    2008/01/18 00:08 [ ADDR : EDIT/ DEL : REPLY ]
    • 네 반갑습니다. 잘지내시죠? 역삼역근처 오시면 연락 함 주세요~ 식사나 같이 하시죠

      2008/01/18 09:52 [ ADDR : EDIT/ DEL ]