우분투14 redis 설치

  다른 뜻에 대해서는 우분투16 redis 설치 문서를 참조하십시오.
우분투14 redis 설치

1 확인[ | ]

root@zetawiki:~# dpkg -l | grep redis-server
root@zetawiki:~#

2 설치[ | ]

root@zetawiki:~# apt-get install redis-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  redis-server
0 upgraded, 1 newly installed, 0 to remove and 83 not upgraded.
Need to get 0 B/204 kB of archives.
After this operation, 523 kB of additional disk space will be used.
Selecting previously unselected package redis-server.
(Reading database ... 95568 files and directories currently installed.)
Unpacking redis-server (from .../redis-server_2%3a2.2.12-1build1_amd64.deb) ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Setting up redis-server (2:2.2.12-1build1) ...
Starting redis-server: redis-server.

3 확인 2[ | ]

  • 설치가 잘 됐는지 설치 목록을 확인
root@zetawiki:~# dpkg -l | grep redis-server
ii  redis-server                     2:2.2.12-1build1                    Persistent key-value database with network interface
  • 네트워크 확인
root@zetawiki:~# netstat -tnlp | grep redis
tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      10896/redis-server
  • 레디스 간단 명령으로 동작 확인
root@zetawiki:~# redis-cli
redis 127.0.0.1:6379> ping
PONG
redis 127.0.0.1:6379> set foo bar
OK
redis 127.0.0.1:6379> get foo
"bar"
redis 127.0.0.1:6379> exit
root@zetawiki:~#

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}