[Email protected]:~# sudo apt-get install Redis-server
Reading Package Lists ... Done
Building Dependency Tree
Reading state information ... Done
The following extra packages'll be installed:
Libjemalloc1 Redis-tools
The following NEW packages'll be installed:
Libjemalloc1 Redis-server Redis-tools
0 upgraded, 3 newly installed, 0 to remove and no upgraded.
Need to get 410 KB of archives.
After this operation, 1,272 KB of additional disk space would be used.
Want to continue? [y/n] Y
Get:1 http://cn.archive.ubuntu.com/ubuntu/trusty/universe libjemalloc1 amd64 3.5.1-2 [76.8 KB]
Get:2 http://cn.archive.ubuntu.com/ubuntu/trusty/universe redis-tools amd64 2:2.8.4-2 [65.7 KB]
Get:3 http://cn.archive.ubuntu.com/ubuntu/trusty/universe redis-server amd64 2:2.8.4-2 [267 KB]
Fetched 410 KB in 4s (92.7 kb/s)
Selecting previously unselected package Libjemalloc1.
(Reading database ... 244892 files and directories currently installed.)
Preparing to unpack .../libjemalloc1_3.5.1-2_amd64.deb ...
Unpacking Libjemalloc1 (3.5.1-2) ...
Selecting previously unselected package redis-tools.
Preparing to unpack .../redis-tools_2%3a2.8.4-2_amd64.deb ...
Unpacking Redis-tools (2:2.8.4-2) ...
Selecting previously unselected package redis-server.
Preparing to unpack .../redis-server_2%3a2.8.4-2_amd64.deb ...
Unpacking Redis-server (2:2.8.4-2) ...
Processing triggers for man-db (2.6.7.1-1UBUNTU1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up Libjemalloc1 (3.5.1-2) ...
Setting up Redis-tools (2:2.8.4-2) ...
Setting up Redis-server (2:2.8.4-2) ...
Starting Redis-server:redis-server.
Processing triggers for Libc-bin (2.19-0ubuntu6.14) ...
Processing triggers for ureadahead (0.100.0-16) ...
[Email protected]:~# ps-ef | grep Redis
Redis 26889 1 0 15:40? 00:00:00/usr/bin/redis-server 127.0.0.1:6379
Root 26912 26268 0 15:41 pts/43 00:00:00 grep--color=auto Redis
[Email protected]:~# ps-aux | grep Redis
Redis 26889 0.0 0.0 44060 6632? SSL 15:40 0:00/usr/bin/redis-server 127.0.0.1:6379
Root 26922 0.0 0.0 15956 2480 pts/43 s+ 15:41 0:00 grep--color=auto Redis
[Email protected]:~# redis-cli
127.0.0.1:6379> helo
(Error) ERR unknown command ' helo '
127.0.0.1:6379> Help
REDIS-CLI 2.8.4
Type: ' Help @<group> ' to get a list of commands in <group>
"Help <command>" to help on <command>
"Help <tab>" to get a list of possible Help topics
"Quit" to exit
127.0.0.1:6379> exit
Ubuntu 14.04 Installation Redis