| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
- httpd-info.conf
- vim color scheme
- CentOS 6
- node.js
- MySQL 5.1.41
- Mod_Security 룰 셋
- httpd-mpm.conf
- gcc update
- jQuery
- httpd-dav.conf
- httpd-autoindex.conf
- vimrc 옵션
- epel repository
- httpd.conf
- Node.js apache 연동
- Node.js 소스 설치
- CentOS
- apache 연동
- Repository
- mod_unique_id
- httpd 2.2.32
- PHP 5.2.17 .ini
- unique_id
- httpd-default.conf
- python 3.5.10
- httpd-vhosts.conf
- MySQL
- PHP 5.2 .ini
- python 3.X 소스 설치
- CentOS 6.10
- Today
- Total
목록node.js (2)
곰시기's
그동안 CentOS에 APM을 설치하였고 지금부터는 Apache와 Node.js를 연동하여 간단한 채팅 기능을 만들어 보려고 한다. - CentOS 6.10에서 진행함을 전제로 하고서 스터디를 진행한다. - Proxy를 이용한 연동 Node.js 프로젝트 생성 # cd /usr/apache/htdocs/ # mkdir -m 755 node # cd node/ # npm init npm init은 package.json 파일의 생성을 돕는 명령어로 package.json은 해당 node프로젝트에 대한 기본 정보를 담고 있다. # npm install e socket.io express --save express 프레임워크와 e, socket.io모듈을 설치 Server.js 클라이언트가 전송한 메시지 수신..
Node.js 설치 전 [python3.X 설치] node.js를 설치하기 위해 python의 버전을 2.7 이상으로 준비 # python -V 기존 python 설치 위치 * # which python # cd /usr/local/src/ # wget https://www.python.org/ftp/python/3.5.10/Python-3.5.10.tgz * Python ftp server * rc버전은 베타버전보다 살짝 개선 된 것이므로 rc보다 상위 버전을 사용할 것 * Python 설치 시 LANG=en_us.utf-8 로 변경 후 설치할 것 설치 후 LANG=ko_KR.EUC-KR 로 다시 변경 # tar -zxvf Python-3.5.10.tgz # cd Python-3.5.10 # ./con..