Installing and Configuring Redis Ubuntu Server 20.10

 Installing and Configuring Redis Ubuntu Server 20.10


sudo apt update


sudo apt install redis-server


sudo systemctl enable redis-server


sudo systemctl status redis



Connect to Redis Server:-


redis-cli   


ping


set test "It's working!"


get test



exit  



sudo netstat -lnp | grep redis



redis-cli info

redis-cli info stats

redis-cli info server


sudo ufw allow proto tcp from 192.168.1.1/24 to any port 6379


Locate the line that begins with bind 127.0.0.1 ::1 and comment it.

sudo nano /etc/redis/redis.conf

#bind 127.0.0.1 ::1


protected-mode no


sudo systemctl restart redis-server


redis-cli -h 192.168.1.4 ping


Comments

Popular posts from this blog

How to install and configure OSSEC server and client

How to install nuke in windows 10 and windows 11,Installing Nuke on Windows, Install Nuke on Windows

Autodesk Maya 2024 Install Windows 11