root@debian-template:~# apt-get install redis-server php5-redis
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libjemalloc1 php5-common redis-tools
Suggested packages:
php5-user-cache
The following NEW packages will be installed:
libjemalloc1 php5-common php5-redis redis-server redis-tools
0 upgraded, 5 newly installed, 0 to remove and 104 not upgraded.
Need to get 1,313 kB of archives.
After this operation, 2,791 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://security.debian.org/ jessie/updates/main php5-common amd64 5.6.20+dfsg-0+deb8u1 [721 kB]
Get:2 http://ftp.pl.debian.org/debian/ jessie/main libjemalloc1 amd64 3.6.0-3 [89.1 kB]
Get:3 http://ftp.pl.debian.org/debian/ jessie/main php5-redis amd64 2.2.5-1 [116 kB]
Get:4 http://ftp.pl.debian.org/debian/ jessie/main redis-tools amd64 2:2.8.17-1+deb8u3 [79.3 kB]
Get:5 http://ftp.pl.debian.org/debian/ jessie/main redis-server amd64 2:2.8.17-1+deb8u3 [308 kB]
Fetched 1,313 kB in 0s (1,777 kB/s)
Selecting previously unselected package libjemalloc1.
(Reading database ... 40163 files and directories currently installed.)
Preparing to unpack .../libjemalloc1_3.6.0-3_amd64.deb ...
Unpacking libjemalloc1 (3.6.0-3) ...
Selecting previously unselected package php5-common.
Preparing to unpack .../php5-common_5.6.20+dfsg-0+deb8u1_amd64.deb ...
Unpacking php5-common (5.6.20+dfsg-0+deb8u1) ...
Selecting previously unselected package php5-redis.
Preparing to unpack .../php5-redis_2.2.5-1_amd64.deb ...
Unpacking php5-redis (2.2.5-1) ...
Selecting previously unselected package redis-tools.
Preparing to unpack .../redis-tools_2%3a2.8.17-1+deb8u3_amd64.deb ...
Unpacking redis-tools (2:2.8.17-1+deb8u3) ...
Selecting previously unselected package redis-server.
Preparing to unpack .../redis-server_2%3a2.8.17-1+deb8u3_amd64.deb ...
Unpacking redis-server (2:2.8.17-1+deb8u3) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u1) ...
Setting up libjemalloc1 (3.6.0-3) ...
Setting up php5-common (5.6.20+dfsg-0+deb8u1) ...
Creating config file /etc/php5/mods-available/pdo.ini with new version
Creating config file /etc/php5/mods-available/opcache.ini with new version
Setting up php5-redis (2.2.5-1) ...
Setting up redis-tools (2:2.8.17-1+deb8u3) ...
Setting up redis-server (2:2.8.17-1+deb8u3) ...
adduser: Warning: The home directory `/var/lib/redis' does not belong to the user you are currently creating.
Processing triggers for libc-bin (2.19-18) ...
Processing triggers for systemd (215-17+deb8u1) ...
root@debian-template:~#