December 2018
Beginner
826 pages
22h 54m
English
Out of the box, systemd will start the redis-server binary by using the /etc/redis.conf configuration file. Let's go ahead and do that now:
$ sudo systemctl enable --now redisCreated symlink from /etc/systemd/system/multi-user.target.wants/redis.service to /usr/lib/systemd/system/redis.service.
The default port being used is 6379, which we can again check using ss:
$ ss -a '( sport = :6379 )'State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 128 127.0.0.1:6379 *:*
Here, we're listening on localhost, port 6379:
Connecting to an instance is achieved ...