Установка REDIS под Windows

На данный момент официально еще нет Redis под Windows. И чтобы его установить – надо скачать исходники, скомпилировать их и так далее. Если вас это не устраивает, я покажу вам вариант, который займет пару минут.

Итак, идем на сайт http://chocolatey.org/ и находим блок Installation. На момент написания кусок кода который попадет в буфер был таким:

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('http://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin

Далее открываем командную строку под Администратором и выполняем команду, которая у вас в буфере обмена. После успешного выполнения – у вас установится репозиторий chocolatey.

Последним шагом произведем инсталляцию Redis. Для этого из командной строки выполним:

cinst redis

Вот и все, ничего сложного.

PS Как оказалось что иногда возникают проблемы с запуском Redis(напрмер, служба сразу же останавливается). Решение проблемы было найдено. Сначала удалим службу, а потом установим ее заново вручную.

sc delete Redis
sc create Redis246 start= auto DisplayName= Redis246 binpath= "\"C:\Program Files\Redis\Redis-Service.exe\" conf/redis.conf"

Возможно, после удаления вам придется перезагрузить сервер.

Рекомендуем почитать
git: нормализация lrlf

Если вы решили переконвертировать ваш репозиторий, убрав из файлов символы переноса каретки, то можно использовать https://rtyley.github.io/bfg-repo-cleaner/. Он работает намного быстрее, чем Читать дальше...

Screen resolution in selenium tests in teamcity

Many developers and testers try to change screen resolution in teamcity service. Default screen resolution is 800x600, but its so small. Читать дальше...

Конвертируем pfx в crt и key файл

Итак, есть виндовый pfx. Решили закрыть backend nginx-ом. Надо конвертить сертификат, чтобы nginx его понял. Открываем консоль и пишем openssl Читать дальше...

AMI Launcher for Asterisk / Elastix / FreePBX

Давно хотел написать универсальное приложение для Asterisk, которое могло бы запускать внешнее приложение после поднятия трубки оператором. "Для чего это Читать дальше...

CrowdInspect 1.0.0.1

CrowdInspect — это инструмент, призванный предупредить пользователя о наличии потенциальных вредоносных программ, которые поселились на компьютере и осуществляют взаимодействие по Читать дальше...

Поделиться

62 комментария к “Установка REDIS под Windows

  1. I like the valuable information you provide in your articles.
    I’ll bookmark your blog and check again here frequently. I am quite certain I will learn lots of new stuff right here!
    Best of luck for the next!

  2. It’s actually a cool and useful piece of info. I am glad that you simply shared this useful information with us.

    Please stay us up to date like this. Thanks for sharing.

  3. This is the perfect web site for anyone who would like to find out about this topic.
    You know so much its almost hard to argue with you (not
    that I really would want to…HaHa). You definitely put
    a brand new spin on a subject that’s been discussed for decades.
    Excellent stuff, just excellent!

  4. I’m extremely impressed with your writing skills and also with the layout on your blog.

    Is this a paid theme or did you customize it yourself?
    Anyway keep up the excellent quality writing, it is rare to see a nice blog like this one today.

  5. Yesterday, while I was at work, my sister stole my iPad
    and tested to see if it can survive a thirty
    foot drop, just so she can be a youtube sensation.
    My iPad is now destroyed and she has 83 views. I know this
    is entirely off topic but I had to share it with someone!

  6. I simply want to tell you that I am very new to blogs and actually enjoyed you’re page. Almost certainly I’m planning to bookmark your blog post . You certainly have terrific article content. Thanks a bunch for sharing with us your website.

  7. Howdy! Someone in my Facebook group shared this site with us so I came to check it out. I’m definitely loving the information. I’m bookmarking and will be tweeting this to my followers! Outstanding blog and brilliant style and design.

  8. There are some interesting cut-off dates in this article but I don’t know if I see all of them heart to heart. There may be some validity however I’ll take maintain opinion until I look into it further. Good article , thanks and we want more! Added to FeedBurner as nicely

  9. This is the best blog for anyone who wishes to discover this topic. You realize so much its virtually tough to say with you (not that I actually would want?HaHa). You most definitely put a brand-new spin on a subject thats been discussed for several years. Fantastic things, simply terrific!

  10. This is the ideal blog site for any person who wants to find out about this subject. You understand a lot its virtually tough to say with you (not that I actually would want?HaHa). You absolutely placed a new spin on a topic thats been written about for many years. Terrific stuff, simply terrific!

  11. A remarkable share, I simply offered this onto a coworker that was doing a little analysis on this. And he as a matter of fact got me breakfast due to the fact that I found it for him. smile. So let me rephrase that: Thnx for the treat! However yeah Thnkx for spending the time to review this, I really feel highly concerning it and enjoy finding out more on this topic. When possible, as you become proficiency, would you mind updating your blog with more information? It is highly practical for me. Huge thumb up for this post!

  12. When I initially commented I clicked the -Notify me when brand-new remarks are added- checkbox and now each time a comment is included I get 4 e-mails with the same comment. Exists any way you can remove me from that solution? Thanks!

  13. I?m impressed, I must say. Actually hardly ever do I run into a blog that?s both enlightening as well as entertaining, and also let me inform you, you have struck the nail on the head. Your concept is outstanding; the problem is something that not nearly enough people are speaking smartly about. I am really pleased that I came across this in my look for something associating with this.

  14. Hey, I think your site might be having browser compatibility issues.
    When I look at your blog in Safari, it looks fine but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up! Other then that, fantastic blog!

  15. When I initially commented I clicked the -Notify me when brand-new comments are added- checkbox and currently each time a comment is added I get four e-mails with the same comment. Exists any way you can remove me from that solution? Thanks!

  16. Good message. I find out something more tough on various blog sites daily. It will certainly constantly be stimulating to check out material from various other writers and also exercise a little something from their store. I?d favor to utilize some with the content on my blog whether you don?t mind. Natually I?ll give you a web link on your web blog site. Many thanks for sharing.

  17. I?m pleased, I should state. Actually seldom do I encounter a blog site that?s both informative as well as amusing, and let me inform you, you have struck the nail on the head. Your suggestion is impressive; the concern is something that insufficient individuals are talking wisely around. I am really delighted that I stumbled across this in my look for something associating with this.

  18. I uncovered your blog site on google as well as check a few of your very early blog posts. Continue to keep up the great operate. I just additional up your RSS feed to my MSN Information Viewers. Seeking onward to reading more from you later!?

  19. Wonderful beat ! I wish to apprentice while you amend
    your web site, how could i subscribe for a blog website?

    The account helped me a acceptable deal. I had been a little bit acquainted
    of this your broadcast provided bright clear idea

  20. I was very pleased to discover this web-site. I wished to thanks for your time for this wonderful read!! I certainly enjoying every bit of it and I have you bookmarked to have a look at brand-new things you blog post.

  21. Oh my goodness! Incredible article dude! Many thanks, However I am going through issues with your RSS. I don’t know the reason why I cannot join it. Is there anybody else having the same RSS issues? Anybody who knows the answer can you kindly respond? Thanx!!

  22. Aw, this was a truly nice message. In suggestion I would love to put in writing similar to this furthermore? taking some time and actual initiative to make an excellent article? but what can I state? I procrastinate alot as well as never appear to obtain something done.

  23. I was wondering if you ever thought of changing the page layout of your website? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having 1 or 2 images. Maybe you could space it out better?

  24. I?m pleased, I need to say. Truly rarely do I come across a blog that?s both enlightening as well as enjoyable, and let me inform you, you have actually hit the nail on the head. Your suggestion is superior; the problem is something that inadequate individuals are speaking smartly about. I am extremely happy that I came across this in my look for something associating with this.

  25. When I originally commented I clicked the -Inform me when new comments are added- checkbox and also now each time a remark is added I get four emails with the same remark. Exists any way you can remove me from that solution? Thanks!

  26. Thanks for the marvelous posting! I actually enjoyed reading it, you may be a great author. I will make certain to bookmark your blog and will often come back later on. I want to encourage you continue your great work, have a nice holiday weekend!

  27. A fascinating conversation is worth comment. I think that you ought to compose much more on this topic, it might not be a taboo subject but usually people are inadequate to speak on such topics. To the next. Cheers

  28. you’re actually a good webmaster. The website loading pace is incredible.
    It seems that you’re doing any distinctive trick. Furthermore, The contents are
    masterpiece. you have done a wonderful job in this subject!

  29. There are some interesting points in this post but I don?t recognize if I see every one of them center to heart. There is some validity however I will certainly hold opinion till I look into it better. Great article, thanks and also we want a lot more! Added to FeedBurner as well

Оставить ответ

Ваш адрес email не будет опубликован. Обязательные поля помечены *