Category Archives: redis

Khóa học miễn phí Redis – Security nhận dự án làm có lương

Redis – Security Redis database can be secured, such that any client making a connection needs to authenticate before executing a command. To secure Redis, you need to set the password in the config file. Example Following example shows the steps to secure your Redis instance. 127.0.0.1:6379> CONFIG get requirepass 1) “requirepass” 2) “” By […]

Khóa học miễn phí Redis – Environment nhận dự án làm có lương

Redis – Environment In this chapter, you will learn about the environmental setup for Redis. Install Redis on Ubuntu To install Redis on Ubuntu, go to the terminal and type the following commands − $sudo apt-get update $sudo apt-get install redis-server This will install Redis on your machine. Start Redis $redis-server Check If Redis is […]

Khóa học miễn phí Redis – Scripting nhận dự án làm có lương

Redis – Scripting Redis scripting is used to evaluate scripts using the Lua interpreter. It is built into Redis starting from version 2.6.0. The command used for scripting is EVAL command. Syntax Following is the basic syntax of EVAL command. redis 127.0.0.1:6379> EVAL script numkeys key [key …] arg [arg …] Example Following example explains […]