![]() ![]() ![]() Test assigning a value to a key with the following command. The client's connectivity can be tested with the ping command. Now, connect to the server with redis-cli: # redis-cli Start a Redis server in the background (daemonized): # redis-server -daemonize yes We will now demonstrate some of Redis's features. # tar xf redis-6.0.5.tar.gzĬhange directories to the folder. # wget Įxtract the compressed archive (adjusting the version number to the version you downloaded). As of this writing, the latest stable Redis is 6.0.5. To get the latest stable, find the link at the Redis download page. To get the very latest Redis from git (unstable): # git clone Ĭhange directories to the folder. Create the install directoryįirst, we will change directories to /opt (and create it in case it does not exist), a place to store software not installed through the package manager. You can select the latest (unstable) version directly from Git, or you can get old versioned stable release. # apt install git -yįirst, you must choose which version of Redis you are going to install. Git is a source control tool that will be used to retrieve the source code from the repository. To install these dependencies, run # apt install pkg-config build-essential -y Debian bundles these packages in the build-essential metapackage. To build Redis, we need build tools like compilers and make. In this tutorial, we will build Redis from source on Debian 10. It supports many kinds of data structures. It implements a distributed key-value store system. Redis is an in-memory data structure store used as a database, message broker, and cache. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |