There’s 2 parts to my question so I can break it up if needed.
I was trying to install redis on my Ubuntu server (Ubuntu 22). I followed the directions from https://redis.io/docs/latest/operate/oss_and_stack/install/install-redis/install-redis-from-source/
to build it from source.
After this, I can see redis is running.
$ ps -ef | grep redis
lxd 1846 1825 0 15:40 ? 00:00:13 redis-server *:6379
username 35374 29547 0 19:27 pts/0 00:00:00 grep --color=auto redis
username@vm-username3:~$
I tried to find the redis.conf file that this newly built binary is using, however, I can’t find it. The conf files returned by find is from the tarfile I downloaded
# find / -name 'redis.conf'
./root/redis-stable/redis.conf
#
I tried to see which service is starting redis but again, nothing
No systemctl
# systemctl status redis-server
Unit redis-server.service could not be found.
#
No rc*.d
# ls /etc/rc*.d | grep redis
#
No /etc/init.d
# ls /etc/init.d/ | grep redis
#
So my 2 questions are:
-
How do I specify which redis.conf file to use when it looks like one doesn’t exist?
-
Which service is auto-starting redis when I reboot the server? It looks like it shouldn’t start but it is.
I’m hoping I find this b/c I’m hoping it will tell me which redis.conf file it’s using too. Trying to kill 2 birds with 1 stone.