Skip to content

Instantly share code, notes, and snippets.

@linuxbiekaisar
Created March 5, 2020 18:18
Show Gist options
  • Select an option

  • Save linuxbiekaisar/07b78ebc1b80689c429a09f67e5d2501 to your computer and use it in GitHub Desktop.

Select an option

Save linuxbiekaisar/07b78ebc1b80689c429a09f67e5d2501 to your computer and use it in GitHub Desktop.
Install Redis on Ubuntu 18.04 LTS
# youtube: https://studio.youtube.com/video/zrjecEOD0Cw/edit
#!/bin/bash
# Use the following command to install Redis
sudo apt-get install redis-server
sudo apt-get update
cd redis
wget http://download.redis.io/releases/redis-5.0.7.tar.gz
tar xzf redis-5.0.7.tar.gz
cd redis-5.0.7
sudo make
sudo make install
src/redis-server
make test
src/redis-server
# After that use this command
src/redis-cli
set name "Your Name"
get name
# Thats all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment