Установка 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"

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

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

  1. There are definitely a lot of details like that to take into consideration. That is a fantastic indicate bring up. I offer the ideas above as general motivation but clearly there are concerns like the one you raise where the most crucial thing will be working in truthful good faith. I don?t know if finest techniques have arised around points like that, yet I am sure that your job is clearly recognized as an up for grabs. Both boys and also girls really feel the effect of simply a moment?s enjoyment, for the remainder of their lives.

  2. There are certainly a great deal of information like that to consider. That is a terrific point to raise. I offer the ideas over as general inspiration however clearly there are inquiries like the one you bring up where the most vital point will certainly be working in truthful good faith. I don?t know if finest practices have emerged around points like that, yet I make sure that your job is plainly identified as a fair game. Both young boys and women feel the impact of just a moment?s pleasure, for the rest of their lives.

  3. Aw, this was a truly great message. In idea I would love to put in creating similar to this furthermore? taking time as well as real initiative to make a very good article? however what can I state? I postpone alot as well as never appear to obtain something done.

  4. Oh my goodness! a remarkable short article man. Thank you However I am experiencing problem with ur rss. Don?t recognize why Incapable to sign up for it. Exists any person getting similar rss issue? Any individual that recognizes kindly respond. Thnkx

  5. Howdy! I understand this is kind of off-topic however
    I had to ask. Does running a well-established blog like yours take
    a massive amount work? I’m brand new to running a blog but I do write in my
    journal on a daily basis. I’d like to start a blog so I will be able to share my experience and feelings online.

    Please let me know if you have any kind of ideas
    or tips for new aspiring blog owners. Appreciate it!

  6. Can I just state what a relief to locate a person who really knows what theyre talking about on the web. You definitely know how to bring an issue to light as well as make it crucial. Even more individuals need to read this and recognize this side of the tale. I cant think youre not much more preferred due to the fact that you most definitely have the present.

  7. I’m now not positive the place you’re getting your info, but
    good topic. I must spend a while studying much more or figuring
    out more. Thank you for great info I used to be in search of this information for
    my mission.

  8. Does your blog have a contact page? I’m having problems locating it but,
    I’d like to send you an e-mail. I’ve got some suggestions for your blog you might be interested in hearing.
    Either way, great website and I look forward to seeing
    it expand over time.

  9. Youre so trendy! I do not expect Ive read anything similar to this prior to. So wonderful to find someone with some original ideas on this subject. realy thanks for beginning this up. this internet site is something that is needed on the web, somebody with a little originality. helpful job for bringing something brand-new to the web!

  10. I?m amazed, I must state. Actually rarely do I run into a blog site that?s both enlightening and also amusing, as well as let me inform you, you have actually struck the nail on the head. Your suggestion is outstanding; the concern is something that inadequate individuals are speaking intelligently around. I am very pleased that I stumbled across this in my search for something relating to this.

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

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