I'm trying to follow the Redis installation process as discuss in this article of digital ocean, in WSL. The Ubuntu version installed is Ubuntu 18.04.
Everything in redis installation is fine but when I tried to run this sudo systemctl start redis
I got this message.
System has not been booted with systemd as init system (PID 1). Can't operate.
Any Idea on what should I do with that?
Instead, use: sudo service redis-server start
I had the same problem, stopping/starting other services from within Ubuntu on WSL. This worked, where systemctl did not.
And one could reasonably wonder, "how would you know that the service name was 'redis-server'?" You can see them using service --status-all