﻿
{"id":15194,"date":"2020-04-15T14:48:48","date_gmt":"2020-04-15T14:48:48","guid":{"rendered":"https:\/\/www.gencayyildiz.com\/blog\/?p=15194"},"modified":"2020-04-15T14:48:48","modified_gmt":"2020-04-15T14:48:48","slug":"redis-yazi-serisi-7-chocolatey-ile-windowsa-redis-kurulumu","status":"publish","type":"post","link":"https:\/\/www.gencayyildiz.com\/blog\/redis-yazi-serisi-7-chocolatey-ile-windowsa-redis-kurulumu\/","title":{"rendered":"Redis Yaz\u0131 Serisi 7 &#8211; Chocolatey \u0130le Windows&#8217;a Redis Kurulumu"},"content":{"rendered":"<div id=\"fb-root\"><\/div>\n<p>Merhaba,<\/p>\n<p><a href=\"https:\/\/www.gencayyildiz.com\/blog\/redis-yazi-dizisi\/\" rel=\"noopener noreferrer\" target=\"_blank\">Redis yaz\u0131 serisi<\/a>nin bu yedinci makalesinde Windows i\u015fletim sistemine Redis sunucusunun nas\u0131l y\u00fcklendi\u011fini inceleyece\u011fiz. <\/p>\n<p>\u00d6ncelikle \u015funu belirtmek istiyorum ki, bizler yaz\u0131 serimizin devam\u0131nda Redis sunucusunu <a href=\"https:\/\/www.gencayyildiz.com\/blog\/net-core-docker-yazi-dizisi\/\" rel=\"noopener noreferrer\" target=\"_blank\">Docker<\/a> ile aya\u011fa kald\u0131rarak \u00e7al\u0131\u015fmalar\u0131m\u0131za devam edece\u011fiz. Dolay\u0131s\u0131yla sizlerde Docker ile aya\u011fa kald\u0131r\u0131p o \u015fekilde kullanacaksan\u0131z bu i\u00e7eri\u011fi atlayabilir ve bir sonraki makaleden devam edebilirsiniz. Bizler serinin niteli\u011fini zenginle\u015ftirmek i\u00e7in \u00f6ncelikle Windows i\u015fletim sistemlerinde de nas\u0131l kuruldu\u011funu inceleyen bu i\u00e7eri\u011fimizi kaleme alaca\u011f\u0131z.<\/p>\n<h3>Chocolatey Nedir?<\/h3>\n<p>Redis, C programlama dili ile geli\u015ftirildi\u011fi i\u00e7in do\u011fal ortam\u0131 Linux tabanl\u0131 i\u015fletim sistemi olan bir f\u0131trata sahiptir. Bunun yan\u0131nda g\u00fcn\u00fcm\u00fczde Redis&#8217;in kullan\u0131ld\u0131\u011f\u0131 ve tercih edildi\u011fi platformlar\u0131n b\u00fcy\u00fck bir kesimi Linux ortamlar olmas\u0131ndan dolay\u0131 Redis geli\u015ftiricileri Windows platformu i\u00e7in ayr\u0131ca bir setup olu\u015fturma ihtiyac\u0131 duymam\u0131\u015flard\u0131r.<\/p>\n<p>Redis&#8217;i Windows i\u015fletim sistemine kurabilmek i\u00e7in bir\u00e7ok y\u00f6ntem mevcuttur. Bizler bu y\u00f6ntemler aras\u0131nda en kolay ve yayg\u0131n olan\u0131n\u0131 tercih edecek ve third party olan Chocolatey Paket Y\u00f6neticisini kullanaca\u011f\u0131z. Buradanda anla\u015f\u0131laca\u011f\u0131 \u00fczere Chocolatey, Windows i\u00e7in paket y\u00f6neticisi olan bir uygulamad\u0131r.<\/p>\n<p>\u015eimdi Redis&#8217;in kurulumunu g\u00f6sterebilmek i\u00e7in \u00f6ncelikle Chocolatey&#8217;in nas\u0131l kuruldu\u011funu ele alal\u0131m&#8230;<\/p>\n<h3>Chocolatey Kurulumu<\/h3>\n<p>Windows i\u015fletim sistemine Chocolatey&#8217;i y\u00fckleyebilmek i\u00e7in <a href=\"https:\/\/chocolatey.org\/install\" rel=\"noopener noreferrer\" target=\"_blank\">chocolatey.org\/install<\/a> adresindeki talimatlar\u0131n uygulanmas\u0131 yeterlidir. <\/p>\n<p>Bunun i\u00e7in a\u015fa\u011f\u0131daki y\u00f6nergeleri s\u0131ras\u0131yla uygulay\u0131n\u0131z;<\/p>\n<ul>\n<li>1. Powershell&#8217;i y\u00f6netici olarak a\u00e7\u0131n\u0131z.<br \/>\n<a href=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu.jpg\" alt=\"Redis Yaz\u0131 Serisi 7 - Chocolatey \u0130le Windows&#039;a Redis Kurulumu\" width=\"393\" height=\"89\" class=\"aligncenter size-full wp-image-15207\" srcset=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu.jpg 393w, https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-300x68.jpg 300w\" sizes=\"auto, (max-width: 393px) 100vw, 393px\" \/><\/a>\n<\/li>\n<li>2. <code><strong style=\"color:red;\">Get-ExecutionPolicy<\/strong><\/code> kodunu \u00e7al\u0131\u015ft\u0131r\u0131n.<br \/>\n<a href=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-1.jpg\" alt=\"Redis Yaz\u0131 Serisi 7 - Chocolatey \u0130le Windows&#039;a Redis Kurulumu\" width=\"306\" height=\"29\" class=\"aligncenter size-full wp-image-15208\" srcset=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-1.jpg 306w, https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-1-300x28.jpg 300w\" sizes=\"auto, (max-width: 306px) 100vw, 306px\" \/><\/a><br \/>\nE\u011fer ki &#8216;Restricted&#8217; sonucunu al\u0131yorsan\u0131z <code><strong style=\"color:red;\">Set-ExecutionPolicy AllSigned<\/strong><\/code> veya <code><strong style=\"color:red;\">Set-ExecutionPolicy Bypass -Scope Process<\/strong><\/code> kodunu \u00e7al\u0131\u015ft\u0131r\u0131n\u0131z.<br \/>\n<a href=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-2.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-2.jpg\" alt=\"Redis Yaz\u0131 Serisi 7 - Chocolatey \u0130le Windows&#039;a Redis Kurulumu\" width=\"821\" height=\"123\" class=\"aligncenter size-full wp-image-15209\" srcset=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-2.jpg 821w, https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-2-300x45.jpg 300w, https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-2-768x115.jpg 768w\" sizes=\"auto, (max-width: 821px) 100vw, 821px\" \/><\/a><br \/>\nBu komutlar neticesinde tekrar Get-ExecutionPolicy&#8217;i \u00e7al\u0131\u015ft\u0131rd\u0131\u011f\u0131n\u0131zda &#8216;Bypass&#8217; ya da &#8216;AllSigned&#8217; sonucunu al\u0131yorsan\u0131z bu ad\u0131mdaki i\u015fleminiz ba\u015far\u0131l\u0131 bir \u015fekilde tamamlanm\u0131\u015ft\u0131r.\n<\/li>\n<li>3. <code><strong style=\"color:red;\">Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https:\/\/chocolatey.org\/install.ps1'))<\/strong><\/code> kodunu \u00e7al\u0131\u015ft\u0131r\u0131n\u0131z.<br \/>\n<a href=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-3.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-3-1024x462.jpg\" alt=\"Redis Yaz\u0131 Serisi 7 - Chocolatey \u0130le Windows&#039;a Redis Kurulumu\" width=\"1024\" height=\"462\" class=\"aligncenter size-large wp-image-15212\" srcset=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-3-1024x462.jpg 1024w, https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-3-300x135.jpg 300w, https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-3-768x346.jpg 768w, https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-3.jpg 1056w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a>\n<\/li>\n<\/ul>\n<p>Bu i\u015flemlet neticesinde Chocolatey paket y\u00f6neticisini y\u00fcklemi\u015f bulunmaktay\u0131z.<\/p>\n<h3>Chocolatey \u0130le Windows&#8217;a Redis Kurulumu<\/h3>\n<p>\u015eimdi s\u0131ra Redis&#8217;i kurmaya geldi. Bunun i\u00e7in <a href=\"https:\/\/chocolatey.org\/packages\/redis-64\" rel=\"noopener noreferrer\" target=\"_blank\">chocolatey.org\/packages\/redis-64<\/a> adresinden edindi\u011fimiz <code><strong style=\"color:red;\">choco install redis-64<\/strong><\/code> kodu powershell&#8217;de \u00e7al\u0131\u015ft\u0131rarak Redis&#8217;i y\u00fckleyebilirsiniz.<\/p>\n<p><a href=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-4.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-4.jpg\" alt=\"Redis Yaz\u0131 Serisi 7 - Chocolatey \u0130le Windows&#039;a Redis Kurulumu\" width=\"557\" height=\"424\" class=\"aligncenter size-full wp-image-15217\" srcset=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-4.jpg 557w, https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-4-300x228.jpg 300w\" sizes=\"auto, (max-width: 557px) 100vw, 557px\" \/><\/a><\/p>\n<h3>Test Edelim<\/h3>\n<p><a href=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-300x154.png\" alt=\"Redis Yaz\u0131 Serisi 7 - Chocolatey \u0130le Windows&#039;a Redis Kurulumu\" width=\"300\" height=\"154\" class=\"alignleft size-medium wp-image-15219\" srcset=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-300x154.png 300w, https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-768x395.png 768w, https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu.png 870w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nYandaki g\u00f6r\u00fcnt\u00fcde de g\u00f6r\u00fcld\u00fc\u011f\u00fc \u00fczere Redis server&#8217;a isteklerde bulunabilmek i\u00e7in bir client&#8217;a ihtiyac\u0131m\u0131z vard\u0131r. Client&#8217;\u0131n kullan\u0131labilmesi i\u00e7in ise \u00f6ncelikle Redis server&#8217;\u0131n aya\u011fa kald\u0131r\u0131lmas\u0131 gerekmektedir. Bunun i\u00e7in <code><strong style=\"color:red;\">redis-server<\/strong><\/code> komutunu vermeniz yeterlidir.<\/p>\n<p><a href=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-5.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-5.jpg\" alt=\"Redis Yaz\u0131 Serisi 7 - Chocolatey \u0130le Windows&#039;a Redis Kurulumu\" width=\"954\" height=\"415\" class=\"aligncenter size-full wp-image-15223\" srcset=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-5.jpg 954w, https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-5-300x131.jpg 300w, https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-5-768x334.jpg 768w\" sizes=\"auto, (max-width: 954px) 100vw, 954px\" \/><\/a><\/p>\n<p>Bu i\u015flemden sonra 6379 portunda Redis server aya\u011fa kald\u0131r\u0131lm\u0131\u015ft\u0131r.<\/p>\n<p>\u015eimdi s\u0131ra client&#8217;\u0131 aya\u011fa kald\u0131rmakta. Bunun i\u00e7inde <code><strong style=\"color:red;\">redis-cli<\/strong><\/code> komutunu verip o anda 6379 portundaki Redis sunucusuna a\u015fa\u011f\u0131daki gibi ba\u011flan\u0131labilmektedir.<\/p>\n<p><a href=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-6.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2020\/04\/Redis-Yaz\u0131-Serisi-7-Chocolatey-\u0130le-Windowsa-Redis-Kurulumu-6.jpg\" alt=\"Redis Yaz\u0131 Serisi 7 - Chocolatey \u0130le Windows&#039;a Redis Kurulumu\" width=\"210\" height=\"43\" class=\"aligncenter size-full wp-image-15227\" \/><\/a><\/p>\n<p>CLI \u00fczerinden &#8216;PING&#8217; de\u011ferini yaz\u0131p enter&#8217;a bast\u0131\u011f\u0131n\u0131zda &#8216;PONG&#8217; kar\u015f\u0131l\u0131\u011f\u0131n\u0131 al\u0131yorsan\u0131z her\u015fey yolunda demektir.<\/p>\n<p>\u0130lgilenenlerin faydalanmas\u0131 dile\u011fiyle&#8230;<br \/>\nSonraki yaz\u0131lar\u0131mda g\u00f6r\u00fc\u015fmek \u00fczere&#8230;<br \/>\n\u0130yi \u00e7al\u0131\u015fmalar&#8230;<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Merhaba, Redis yaz\u0131 serisinin bu yedinci makalesinde Windows i\u015fletim sistemine Redis sunucusunun nas\u0131l y\u00fcklendi\u011fini inceleyece\u011fiz. \u00d6ncelikle \u015funu belirtmek istiyorum ki, bizler yaz\u0131 serimizin devam\u0131nda Redis sunucusunu Docker ile aya\u011fa kald\u0131rarak \u00e7al\u0131\u015fmalar\u0131m\u0131za devam edece\u011fiz. Dolay\u0131s\u0131yla&#46;&#46;&#46;<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":15045,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3383],"tags":[3420,3423,3421,3422,3424,3425],"class_list":["post-15194","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-redis","tag-chocolatey","tag-chocolatey-package-manager","tag-chocolatey-paket-yoneticisi","tag-paket-yoneticisi","tag-redis-kurulumu","tag-windowsa-redis-kurulumu"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/posts\/15194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/comments?post=15194"}],"version-history":[{"count":27,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/posts\/15194\/revisions"}],"predecessor-version":[{"id":15229,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/posts\/15194\/revisions\/15229"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/media\/15045"}],"wp:attachment":[{"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/media?parent=15194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/categories?post=15194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/tags?post=15194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}