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