While the error may be due
redis-server.service: Can't open PID file /var/run/redis/re Aug 26 15:43:25 iZ2ze6ddwhet6073nq8i0eZ systemd[1]: Started Advanced key-value store.
The simplest solution is to modify the address configuration redis.conf, the IPV6 configuration to remove
- bind 127.0.0.1 ::1 + bind 127.0.0.1
This is the simplest method to change, this change in the law, those changes as systemd \ sysctl.conf can not do.
Reference: https://stackoverflow.com/questions/50668845/cannot-install-redis-server-on-ubuntu-18-04