Skip to content

Instantly share code, notes, and snippets.

@bryanthuan
Forked from tomysmile/mac-setup-redis.md
Created September 20, 2021 10:37
Show Gist options
  • Save bryanthuan/d01f0ff3380e3fbb17a8227cfb998a30 to your computer and use it in GitHub Desktop.
Save bryanthuan/d01f0ff3380e3fbb17a8227cfb998a30 to your computer and use it in GitHub Desktop.

Revisions

  1. @tomysmile tomysmile revised this gist Apr 28, 2020. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions mac-setup-redis.md
    Original file line number Diff line number Diff line change
    @@ -10,6 +10,12 @@ To have launchd start redis now and restart at login:
    brew services start redis
    ```

    to stop it, just run:

    ```
    brew services stop redis
    ```

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

    ```
  2. @tomysmile tomysmile revised this gist Dec 24, 2017. 1 changed file with 21 additions and 0 deletions.
    21 changes: 21 additions & 0 deletions mac-setup-redis.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    type below:

    ```
    brew update
    brew install redis
    ```

    @@ -13,4 +14,24 @@ Or, if you don't want/need a background service you can just run:

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

    Test if 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 and its files.

    ```
    brew uninstall redis
    rm ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
    ```
  3. @tomysmile tomysmile created this gist Jul 12, 2016.
    16 changes: 16 additions & 0 deletions mac-setup-redis.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    type below:

    ```
    brew install redis
    ```

    To have launchd start redis now and restart at login:
    ```
    brew services start redis
    ```

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

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