安装redis-server
1 |
apt install redis-server |
output
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: redis-tools Suggested packages: ruby-redis The following NEW packages will be installed: redis-server redis-tools 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 875 kB of archives. After this operation, 2,380 kB of additional disk space will be used. Do you want to continue? [Y/n] |
安装php-redis
1 |
apt install php7.0-redis |
output
1 2 3 4 5 6 7 8 9 10 11 12 |
Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'php-redis' instead of 'php7.0-redis' The following additional packages will be installed: php-igbinary The following NEW packages will be installed: php-igbinary php-redis 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 137 kB of archives. After this operation, 584 kB of additional disk space will be used. Do you want to continue? [Y/n] |
参考
There are no comments yet