{"_id":"55e534d8f11ba80d003237b1","version":"55e534d7f11ba80d003237af","__v":1,"category":"55e534d8f11ba80d003237b0","githubsync":"","isReference":false,"title":"Installation","type":"basic","excerpt":"This page will help you get started with Redis Sniffer. You'll be up and running in a jiffy!","hidden":false,"slug":"getting-started","sync_unique":"","updates":["581742775658d80f0047f779"],"createdAt":"2015-08-31T22:03:05.031Z","link_external":false,"project":"55e4cf1640cda60d003bad4d","user":"55e4cefa3325e60d007fbec9","api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"body":"Installing Redis Sniffer can be done several different ways.  Redis Sniffer must either be installed on a redis server or on the server that is communicating with a redis server,\n\nThe fastest and easiest way is to add out apt repo and install with aptitude.  We do have a yum repo that will be going live in mid September.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Install on Debian based linux distributions\"\n}\n[/block]\nAdd our apt key\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"wget -O - http://apt.eternalprojects.com/conf/apt.eternalprojects.com.gpg.key|apt-key add -\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\nNow we add the repo to our sources.list file and then install Redis Sniffer.  \n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"echo \\\"deb http://apt.eternalprojects.com/ stable main\\\" >> /etc/apt/sources.list\\nsudo apt-get update\\nsudo apt-get install redis-sniffer\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\nThis method will install all the required dependencies.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Install via pip\"\n}\n[/block]\nWhen installing with pip or with setuptools, there are 2 system dependency packages that need to be installed before Redis Sniffer.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"sudo apt-get -y libpcap-dev python-dev\\nsudo pip install pypcap\\nsudo pip install dpkt\\nsudo pip install redis-sniffer\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Install with setup tools\"\n}\n[/block]\nYou also have the option to get the source and do a manual install using Python's setup tools.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"sudo apt-get -y install libpcap-dev python-dev\\ngit clone https://github.com/eternalprojects/redis-sniffer.git\\ncd redis-sniffer\\nsudo python setup.py install\\nsudo python setup.py install --user\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]","link_url":"","order":0,"childrenPages":[]}

Installation

This page will help you get started with Redis Sniffer. You'll be up and running in a jiffy!

Installing Redis Sniffer can be done several different ways. Redis Sniffer must either be installed on a redis server or on the server that is communicating with a redis server, The fastest and easiest way is to add out apt repo and install with aptitude. We do have a yum repo that will be going live in mid September. [block:api-header] { "type": "basic", "title": "Install on Debian based linux distributions" } [/block] Add our apt key [block:code] { "codes": [ { "code": "wget -O - http://apt.eternalprojects.com/conf/apt.eternalprojects.com.gpg.key|apt-key add -", "language": "shell" } ] } [/block] Now we add the repo to our sources.list file and then install Redis Sniffer. [block:code] { "codes": [ { "code": "echo \"deb http://apt.eternalprojects.com/ stable main\" >> /etc/apt/sources.list\nsudo apt-get update\nsudo apt-get install redis-sniffer", "language": "shell" } ] } [/block] This method will install all the required dependencies. [block:api-header] { "type": "basic", "title": "Install via pip" } [/block] When installing with pip or with setuptools, there are 2 system dependency packages that need to be installed before Redis Sniffer. [block:code] { "codes": [ { "code": "sudo apt-get -y libpcap-dev python-dev\nsudo pip install pypcap\nsudo pip install dpkt\nsudo pip install redis-sniffer", "language": "shell" } ] } [/block] [block:api-header] { "type": "basic", "title": "Install with setup tools" } [/block] You also have the option to get the source and do a manual install using Python's setup tools. [block:code] { "codes": [ { "code": "sudo apt-get -y install libpcap-dev python-dev\ngit clone https://github.com/eternalprojects/redis-sniffer.git\ncd redis-sniffer\nsudo python setup.py install\nsudo python setup.py install --user", "language": "shell" } ] } [/block]