linux 安装RedisLive
生活随笔
收集整理的這篇文章主要介紹了
linux 安装RedisLive
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
為什么80%的碼農都做不了架構師?>>> ??
RedisLive 用來監控Redis,便于redis性能分析
安裝步驟:
1.安裝pip(代碼參考:https://github.com/pypa/pip)
官方網站:https://pypi.python.org/pypi/pip,下載8.1.2
wget https://pypi.python.org/pypi/pip/... tar zxvf pip.8.1.2.tar.gz cd pip-8.1.2 python setup.py install2.安裝支持庫
cat /redhat-release // 如果是6.x版本 執行 pip install tornado=2.1 // 如果是7.x版本 執行 pip install tornadopip install redispip install python-dateutil3.安裝RedisLive
git clone https://github.com/kumarnitin/RedisLive.git cd RedisLive/srcvim redis-live.conf修改redis-live.conf?
{"RedisServers":[{"server": "127.0.0.1","port" : 6379,"password" : "redis"}],"DataStoreType" : "redis","RedisStatsServer":{"server" : "127.0.0.1","port" : 6379,"password" : "redis"},"SqliteStatsStore" :{"path": "/root/RedisLive/src/db/redislive.sqlite"} }4.運行RedisLive
./redis-monitor.py --duration=120 & ./redis-live.py &5.瀏覽器打開 http://localhost:8888/index.html
?
轉載于:https://my.oschina.net/oosc/blog/1616719
總結
以上是生活随笔為你收集整理的linux 安装RedisLive的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 深入理解计算机系统李秋豪,《深入理解计算
- 下一篇: linux不支持32,Visual St