CheatSheet
  • Introduction
  • Garbage Collection
  • Scala
  • Kafka
  • Shell Scripting
  • Notebook
  • Hadoop
  • Git
  • Mac Terminal
  • IntelliJ Idea
  • Garbage Collection
  • YARN
  • NoSQL
  • DBConnection
  • ProjectBuild
  • Microservices
  • WebServices
  • Cloud Services
  • iTerm2
  • SBT
  • Useful Java Libraries
  • Python
  • Postgres
  • UML Class Diagram
  • Groovy
  • Mac Brew Install
  • Maven
  • Rough Works
  • Spark
  • AWS
  • Kubernetes
  • Docker
  • Redis
  • Telnet
Powered by GitBook
On this page

Was this helpful?

Redis

brew install redis
    $ redis-server
    $ redis-cli
    
#connecting to remote Redis server
#IP address & port
$redis-cli -h XXX.XXX.XXX.XXX -p YYYY


#Using Docker
Redis Example:
$ docker run --name redisdb -p 6000:6379 redis
$ docker exec -it redisdb redis-cli

$ docker exec -it redisdb /bin/bash 
PreviousDockerNextTelnet

Last updated 2 years ago

Was this helpful?