Install and config Redis service for Mac OS

Homebrew is one of the nifty command-line tools available in Mac OS for quickly and seamlessly installing and configuring development tools. Mega article: Web Scraping with Python (Completed)

By using Homebrew, you greatly reduce the cost of setting up and configuring the development environment on Mac OSX.

So let’s get a redis server up and running locally in a few steps!

Install Redis

brew update
brew install redis

After installation, you will see some notifications about some caveats on configuring. Just leave it and continue to follow some tasks on this article. With this simple command, Redis is installed on your Mac.

Service Start

To have launchd start redis now and restart at login:

brew services start redis

Service Stop

to stop it, just run:

brew services stop redis

Or, if you don’t want/need a background service you can just run:

redis-server /usr/local/etc/redis.conf

Testing

Test if the Redis server is running.

redis-cli ping

If it replies “PONG”, then it’s good to go!

Location of Redis configuration file.

/usr/local/etc/redis.conf

Uninstall Redis

Uninstall Redis and its files.

brew uninstall redis rm ~/Library/LaunchAgents/homebrew.mxcl.redis.plist


Let’s enjoy….

Comments

AntonioFen

Really and as I have not thought about it earlier
I am final, I am sorry, but this variant does not approach me.
In my opinion you are mistaken. Let’s discuss. Write to me in PM.
Curiously, and the analogue is?
Certainly. I join told all above.

https://www.udruga2gbr-gromovi.hr/wp-content/prom/

canadian pharmaceuticals online

I am not sure where you are getting your info, but great topic.

I needs to spend some time learning much more or understanding more.
Thanks for magnificent information I was looking
for this information for my mission.

Leave a Reply

Your email address will not be published.