설치된 Redis의 redis-server 데몬을 실행합니다. 실행하면 다음 메시지를 표시합니다.

    [16944] 01 Oct 21:07:50 # Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf'

    [16944] 01 Oct 21:07:50 * Server started, Redis version 2.4.5

    [16944] 01 Oct 21:07:50 * DB loaded from disk: 0 seconds

    [16944] 01 Oct 21:07:50 * The server is now ready to accept connections on port 6379

    [16944] 01 Oct 21:07:51 - DB 10: 5 keys (0 volatile) in 12 slots HT.

    [16944] 01 Oct 21:07:51 - 0 clients connected (0 slaves), 1181176 bytes in use

    redis 클라이언트 모듈 설치

    Node.js에서 Redis와 연동하려면 클라이언트 모듈이 필요합니다. npm을 이용해 redis 클라이언트 모듈을 설치합니다.

    > npm install redis

    신간 소식 구독하기
    뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.