学习积累——仅供参考——欢迎讨论
使用yum 安装了软件,找到对应安装路径
1、首先安装一个redis
yum install XXXXXXX
2、查找redis的安装包
rpm -qa|grep XXXXXXX
XXXXXXX-3.2.10-2.el7.x86_64
3、查找安装包的安装路径
[root@iZbp1eem925ojwyx17ao9kZ ~]# rpm -ql XXXXXXX-3.2.10-2.el7.x86_64
/etc/logrotate.d/redis
/etc/redis-sentinel.conf
/etc/redis.conf
/etc/systemd/system/redis-sentinel.service.d
/etc/systemd/system/redis-sentinel.service.d/limit.conf
/etc/systemd/system/redis.service.d
/etc/systemd/system/redis.service.d/limit.conf
/usr/bin/redis-benchmark
/usr/bin/redis-check-aof
/usr/bin/redis-check-rdb
/usr/bin/redis-cli