Posts

Showing posts from January, 2025

Installation Redis on Redhat/Rocky/Ubuntu Linux

  Installation Redis on Linux Install Redis on Ubuntu Add the repository to the APT index, update it, and install Redis: sudo apt-get install lsb-release curl gpg curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg sudo chmod 644 /usr/share/keyrings/redis-archive-keyring.gpg echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $( lsb_release -cs ) main" | sudo tee /etc/apt/sources.list.d/redis.list sudo apt-get update sudo apt-get install redis Redis will start automatically, and it should restart at boot time. If Redis doesn't start across reboots, you may need to manually enable it: sudo systemctl enable redis-server sudo systemctl start redis-server Install Redis on Red Hat/Rocky 8*/9* sudo yum install redis sudo systemctl enable redis sudo systemctl start redis Redis will restart at boot time. Install on Ubuntu using Snap To install via Snap, run: sudo apt u...