How To Install Redis on Ubuntu 20.04

Опубликовано: 06 Октябрь 2024
на канале: Akhil Sharma
6,248
107

My New Udemy Course, please enroll - https://www.udemy.com/course/build-3-...

💪 Buy my awesome golang course - https://akhilsharmatech.gumroad.com/l...

👊 Join my FREE discord community to learn new technologies -   / discord  

💯 Follow me on twitter -   / akhilairi  


In this video, we will go over the complete process of installing redis on your ubuntu 20.04 machine. Below are all the commands that I used in the video in the right order.

sudo apt install net-tools
sudo apt update
sudo apt install redis-server
sudo nano /etc/redis/redis.conf
ctrl+w supervised - write systemd
sudo systemctl restart redis.service
sudo systemctl status redis
redis-cli
ping
set test "hello"
get test
exit
sudo systemctl restart redis
redis-cli
get test
sudo nano /etc/redis/redis.conf
ctrl+w bind, remove #
sudo systemctl restart redis
sudo netstat -lnp | grep redis