redis-ubuntu-setup

0.0.1 • Public • Published

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
# ///////////////////////

Readme

Keywords

Package Sidebar

Install

npm i redis-ubuntu-setup

Weekly Downloads

1

Version

0.0.1

License

ISC

Unpacked Size

675 B

Total Files

2

Last publish

Collaborators

  • manhavn