nodejs구성1 Centos apache 20.04에 Node.js 설치 실행 1. epl 저장소 설치 yum install epel-release -y 2. Apache 설치 yum install libjpeg* libpng* freetype* gd-* gcc gcc-c++ gdbm-devel libtermcap-devel -y yum install httpd -y 3. Node.js 설치 yum install -y gcc-c++ make yum install nodejs -y 4. 테스트 작성 var http = require ('http'); http.createServer (function (request, response) { response.writeHead (200, {'Content-Type': 'text/html'}); response.end ('Welcome to.. 2023. 8. 30. 이전 1 다음