전체 글 329

nginx_1.2.6 + php_5.4.10

1. nginx conf 수정 (conf/nginx.conf)...# location 바깥쪽 (server) 로 빼주면 전역 변수처럼 $document_root 로 치환된다.# location 안쪽에 root를 쓰면 그 block 안에서만 처리됨root d:/server/htdocs;...location / { index index.html index.htm index.php; }location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; # web root 경로 include fastcgi_params; } 2. p..

WAS/Nginx 2012.12.30

apache + php + oracle + moodle 기본 설치후 에러

처음 설치하면 아래와 같이 경고가 뜬다.느낌표 부분을 누르면 친절한 설명이 나오므로 그대로 하면 된다.php.ini 의 extension 주석 해제만 해주면 끝! Skip to main contentInstallation - Moodle 2.3.3+ (Build: 20121116)Moodle 2.3.3+ (Build: 20121116)For information about this version of Moodle, please see the online Release NotesServer checksNameInformationReportStatusphp_extensioncurlmust be installed and enabledCheckphp_extensionmbstringshould be install..

CMS/Moodle 2012.12.29

Windows / apache_2.4.3 + php_5.4.10 + mod_fcgid_2.3.7

프로그램 폴더 httpd-2.4.3-win32 (Apache) d:/server/apache php-5.4.10-Win32-VC9-x86 (PHP) d:/server/php mod_fcgid-2.3.7-win32 (Fast CGI) d:/server/apache/modules* Apache 2.4.3과 mod_fcgid-2.3.7 Win32 binary 위치http://www.apachelounge.com/download/(thread-safe module 사용에 주의) 1. Module 로드LoadModule fcgid_module modules/mod_fcgid.so 2. d:/server/apache/conf/httpd.conf 수정DocumentRoot "d:/server/htdocs"...Add..

WAS/Apache 2012.12.29

ISAPI / CGI(fastcgi, fcgid) / mpm(worker, prefork, event)

처리 방식 특성 서버 방식 Apache 사용 mod Process non-threaded (thread-safe) non-thread-safe 모듈 사용 가능 안정성, 다소 느림 mpm=prefork (Apache) FastCGI (IIS) Thread threaded (non-thread-safe) thread-safe 모듈 사용해야함 확장성, 다소 빠름 mpm=worker (Apache) ISAPI(IIS) mod_fcgid (mod_fastcgi) Event event-driven (async.) 저비용, 빠름, 확장성 검증 필요 mpm=event (Apache 2.4) Nginx [apache vs nginx]Apache: 많은 reference, 많고 안정화된 mod (특히 mod_rewrite..

WAS/Apache 2012.12.29

iptime 공유기 vmware ubuntu ip 고정

1. VMWare - Edit - Virtual Network EditorVMnet0 의 Bridged to: 의 Automatic Settings... 를 눌러 체크를 해제함Add Network... 를 눌러 VMnet2 를 추가 Bridged to: 를 자신의 랜카드를 설정 (Realtek ...) 2. ubuntu 들어가서 관리자 모드su 3. vi /etc/network/interfaces# The primary network interfaceauto eth0iface eth0 inet staticaddress 192.168.0.100netmask 255.255.255.0gateway 192.168.0.1dns-nameservers 168.126.63.1 168.126.63.2 4. /etc/in..

OS/Ubuntu 2012.11.27

Node.js Eclipse Debug

1. Node.js + Eclipseplug-in 설치에서 아래 사이트 추가하여 installhttp://www.nodeclipse.org/updates/-> 설치가 완료되면, Perspective 및 New에 Node 항목이 생기고, New의 Ndoe 항목 하위로 Node Project, Node Soucre File 메뉴가 생김-> Run, Debug Configuration에 Node Application이 생김 2. Node.js + Eclipse debugging마찬가지로 아래 사이트 추가하여 installhttp://chromedevtools.googlecode.com/svn/update/dev//-> 설치가 완료되면 debug configuration 에 Standalong V8 VM 이라는..

Programming/Node.js 2012.11.26