root@hett-PowerEdge-T30:~# sudo apt-get install redis-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libjemalloc1 redis-tools
The following NEW packages will be installed:
  libjemalloc1 redis-server redis-tools
0 upgraded, 3 newly installed, 0 to remove and 76 not upgraded.
Need to get 410 kB of archives.
After this operation, 1,272 kB of additional disk space will be used.
Do you 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) ...
root@hett-PowerEdge-T30:~# 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
root@hett-PowerEdge-T30:~# 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
root@hett-PowerEdge-T30:~# 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>" for help on <command>
      "help <tab>" to get a list of possible help topics
      "quit" to exit
127.0.0.1:6379> exit

最新文章

  1. 用js效果做的简单焦点图
  2. pandas 时间序列resample
  3. try---catch异常处理
  4. Github for Windows使用图文教程
  5. Educational Codeforces Round 5 E. Sum of Remainders (思维题)
  6. 你所不知到的C++ 系列
  7. C#主键类型选择
  8. c语言,gdb
  9. 定义 ICache 接口,以及实现默认的 ASP.NET 缓存机制
  10. AngularJS入门教程:日期格式化
  11. deepin系统下部署Python3.5的开发及运行环境
  12. union: git command
  13. 【数学建模】day02-整数规划
  14. Light OJ 1214
  15. Module not found: Error: Can't resolve 'XXX' in 'XXXX'
  16. cxf Webservice 使用httpClient 调用
  17. maven多环境配置
  18. collection.toArray(new String[0])中new String[0]的作用
  19. /usr/local/nginx/sbin/nginx -s reload 失败原因pid 进程记录和当前不符
  20. TCP粘包拆包场景

热门文章

  1. linux进程状态D和Z的处理
  2. TypeScript完全解读(26课时)_14.ES6和Nodejs中的模块
  3. 14.oauth2与open id connect 对比
  4. 2012 Noip提高组 Day2
  5. XHTML学习笔记 Part2:核心元素
  6. bzoj4472:[Jsoi2015]salesman
  7. 关于 js中的arguments 对象
  8. cmd 查看端口占用情况
  9. C# 中的构造函数与析构函数
  10. python 基础(十) 面向对象