I installed Redis a long time ago on my CentOS 7 DirectAdmin VPS.
Now I want to remove the current version (3.0.5) and install the latest Redis 3.2.5.
How can I remove the current version?
I installed a time ago using the following commands:
wget http://download.redis.io/releases/redis-3.0.5.tar.gz
tar xzf redis-3.0.5.tar.gz
cd redis-3.0.5
make
make test
make install
cd utils
chmod +x install_server.sh
./install_server.sh
Best Answer
First, i suggest you to use your distros package instead of compiling software, this way you can upgrade and get security updates for free.
Back to your question, assuming you left the defaults during
./install_server.sh
, first stop redis:Delete redis's install:
rm -fr etc/redis/ /var/log/redis_* /etc/init.d/redis_6379 /usr/local/bin/redis*
Delete redis's data too:
Done.