Redis buɗaɗɗen tushen bayanai ne wanda aka gina a saman tsarin bayanan ƙwaƙwalwar ajiya, yana ba da damar adana bayanai cikin sauri da sarrafawa. Anan akwai Redis umarnin shigarwa na farko akan Linux, Windows da macOS.
Redis Ana kunnawa Linux
Mataki 1: Shigar da abin dogaro:
sudo apt update
sudo apt install build-essential
sudo apt install tcl
Mataki 2: Zazzagewa kuma shigar Redis:
wget http://download.redis.io/releases/redis-x.y.z.tar.gz
tar xzf redis-x.y.z.tar.gz
cd redis-x.y.z
make
sudo make install
Mataki 3: Duba shigarwa Redis:
redis-server --version
redis-cli ping
Redis Ana kunnawa Windows
Mataki 1: Zazzage Redis daga gidan yanar gizon hukuma: https://redis.io/download
Mataki 2: Cire fayil ɗin zip ɗin da aka sauke.
Mataki 3: Kewaya zuwa babban fayil ɗin da aka cire kuma gudanar da redis-server.exe don fara Redis Server.
Mataki na 4: Don amfani da Redis Interface Interface(CLI), buɗe Command Prompt, kewaya zuwa babban fayil ɗin da aka ciro, kuma gudanar da redis-cli.exe.
Shigar Redis da macOS
Mataki 1: Shigar Homebrew idan baku riga:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Mataki 2: Shigar Redis ta Homebrew:
brew update
brew install redis
Mataki na 3: Fara Redis Server:
brew services start redis
Mataki na 4: Duba Redis shigarwa:
redis-server --version
redis-cli ping
Bayan nasarar shigarwa, zaku iya fara amfani Redis da adanawa da sarrafa bayanai cikin sauri akan dandamali na Linux, Windows, da macOS.