0.0.1 • Published 4 years ago

redis-ubuntu-setup v0.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

Redis Ubuntu Setup

sudo apt install redis-server
# ...
sudo nano /etc/redis/redis.conf
# ...
# bind 127.0.0.1 ::1
bind 0.0.0.0 ::1
requirepass yourPassword
#...
# Ctrl + S
# Ctrl + X
sudo systemctl restart redis-server
redis-cli
ping
# (error) NOAUTH Authentication required.
auth yourPassword
# OK
ping
# PONG
exit
# ///////////////////////////////////////

# Client connect
redis-cli -h <yourIpV4>
auth yourPassword
# OK
ping
# PONG
exit
# ///////////////////////