ActivePerl 문서 원본 보기
←
ActivePerl
둘러보기로 가기
검색하러 가기
문서 편집 권한이 없습니다. 다음 이유를 확인해주세요:
요청한 명령은 다음 권한을 가진 사용자에게 제한됩니다:
사용자
.
이 문서는 편집하거나 다른 명령을 할 수 없도록 보호되어 있습니다.
문서의 원본을 보거나 복사할 수 있습니다.
Perl 언어인 ActivePerl을 정리한다. * 홈페이지 : http://www.activestate.com/Products/activeperl/index.mhtml, [http://www.perl.org/ http://www.perl.org/] * 다운로드 : http://www.activestate.com/activeperl/ * 라이센스 : [http://www.activestate.com/Products/activeperl/features.mhtml free ActivePerl distribution] * 플랫폼 : Windows, Linux, Mac OS X, Solaris, AIX and HP-UX <br> ==설치 가이드== ===ActivePerl 설치=== *ActivePerl 설치 :*다운로드 사이트에서 ActivePerl-5.10.0.1003-MSWin32-x86-285500.msi 을 다운로드 한다. :*ActivePerl-5.10.0.1003-MSWin32-x86-285500.msi를 실행하여 ActivePerl을 설치한다. :*명령행에서 "perl -version"을 실행하여 정상적으로 설치 되었는지 확인 한다. <br> ===Apache HTTP Server 연동=== *[[Apache HTTP Server]]가 설치되어 있지 않으면 설치 한다. *[[Apache_HTTP_Server|Apache HTTP Server 2.2.11]]과 CGI 연계 설정 :*Apache Perl Module 설치 ::*Windows 명령행에서 "ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/mod_perl.ppd" 실행 한다. ::*$APACHE_HOME/modules/ 에 mod_perl.so 모듈이 설치 되어야 한다. :*$APACH_HOME/conf/httpd.conf ::*LoadModule cgi_module modules/mod_cgi.so 에서 주석(#) 생략 ::*<Directory "c:/www"> 와 같은 DocumentRoot 디렉토리 내 Options 에 ExecCGI 을 추가 ::*확장자 pl 을 DirectoryIndex 에 등록 DirectoryIndex index.php index.html index.jsp index.pl ::*ScriptInterpreterSource registry 의 앞에 주석(#)을 생략함으로써 #!c:/perl/bin/perl.exe 와 같이 파일내에 perl 경로를 지정하지 않아도 실행가능하도록 설정 ::*AddHandler cgi-script .cgi .pl 로 설정 ###--- 아래 Sample은 httpd.conf에서 해당 부분만 발췌한 것 입니다. LoadModule cgi_module modules/mod_cgi.so LoadFile "$PERL_HOME/bin/perl510.dll" LoadModule perl_module modules/mod_perl.so <Directory "C:/www"> Options Indexes FollowSymLinks +ExecCGI ### ScriptInterpreterSource Registry-Strict </Directory> <IfModule dir_module> DirectoryIndex index.html index.php index.jsp index.pl index.cgi </IfModule> <IfModule mime_module> AddHandler cgi-script .cgi .pl </IfModule> <br> *c:/www/testperl.cgi 프로그램을 작성하고 http://localhost/testperl.cgi 를 호출하여 정상적으로 동작하는지 테스트 한다. #!c:/app/Perl/bin/perl print "Content-type: text/html\n\n"; print "<html>\n"; print "<head>\n"; print "<TITLE> Perl test</TITLE>\n"; print "</head>\n"; print "<body bgcolor=#ffffff>\n"; print "<br>웹브라우즈로 실행되는 Perl프로그램입니다.\n"; print "\n"; print "</body></html>\n"; *참고 문헌 :*[http://tobby48.egloos.com/2170010 Window 에서 Perl CGI 실행을 위한 설치 및 환경설정] ==사용자 가이드== *ActivePerl 버전 확인 perl -version ==참고 문헌== *[http://cpan.perl.org/ CAPN], [http://search.cpan.org/ CPAN 검색] : Comprehensive Perl Archive Network *[http://jedison.tistory.com/384 윈도우에서 Perl 사용하기] *[http://perl.apache.org/ mod_perl] *[http://strawberryperl.com/ Strawberry Perl] :*[http://nosyu.pe.kr/1794 Windows(윈도우)에서 Perl module(CPAN) 설치법] [[Category:기술_자료실]] [[Category:프로그램 언어]]
ActivePerl
문서로 돌아갑니다.
둘러보기 메뉴
개인 도구
로그인
이름공간
문서
토론
변수
보기
읽기
원본 보기
역사 보기
더 보기
검색
주요 메뉴
오픈소스 컨설팅
오픈소스
오픈소스 라이선스
오픈소스 커뮤니티
오픈소스 종류
오픈소스 현황
오픈소스 한글화
문자셋과 인코딩
Storage
Network
보안
고가용성
모니터링
오픈 API
오픈 서비스
Cloud
BigData
Android
산사랑 노트
둘러보기
인기 문서
최근 수정 문서
모든 문서
모든 분류
임의 문서
위키 사용법
자매 사이트
CMS
오비컨 홈페이지
오비컨 CMS
블로그
데모 - SuiteCRM
산사랑의 Twitter
산사랑의 Facebook
친구 사이트
공개SW 포털
OLIS
한국공개소프트웨어협회
AppCenter 지원본부
OLC
PSEG
개발자 블로그
블로터
개인 메뉴
메뉴 수정
양식함
도구
여기를 가리키는 문서
가리키는 글의 최근 바뀜
특수 문서 목록
문서 정보