redis-ubuntu-setup
v0.0.1
Published
redis ubuntu setup
Downloads
6
Readme
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
# ///////////////////////