在centos6.3用yum安裝redis

來源:互聯網
上載者:User

標籤:

在centos6.3用yum安裝redis

http://blog.sina.com.cn/s/blog_6364150101019701.html一、centos預設的安裝源在官方centos.org上,而redis在第三方的yum源裡,所以無法安裝,非官方的yum推薦用fedora的epel倉庫。當然也可通過配置 /etc/yum.repos.d/CentOS-Base.repo檔案增加yum源。

二、下載並安裝epel
三、yum 安裝redis




[[email protected] ~]# find / -name "redis*"/var/lib/redis/var/run/redis/var/log/redis/etc/rc.d/init.d/redis/etc/logrotate.d/redis/etc/redis.conf/usr/share/doc/redis-2.4.10 /usr/bin/redis-check-dump :用於本機資料庫檢查;檢查file.rdb 檔案 /usr/bin/redis-check-aof  :更新日誌檢查;檢查file.aof 檔案 /usr/bin/redis-cli        :Redis命令列操作工具;也可以用telnet根據其純文字協議來操作 /usr/bin/redis-benchmark  :Redis效能測試工具,測試Redis在你的系統及你的配置下的讀寫效能 /usr/sbin/redis-server    :Redis伺服器的daemon啟動程式  [[email protected] ~]#redis-benchmark -h localhost -p 6379 -c 100 -n 100000 100個並發串連,100000個請求,檢測host為localhost 連接埠為6379的redis伺服器效能  [[email protected] ~]#redis-cli -h localhost -p 6379 monitor Dump all the received requests in real time; 監控host為localhost,連接埠為6380,redis的串連及讀寫操作  [[email protected] ~]#redis-cli -h localhost -p 6379 info Provide information and statistics about the server 提供host為localhost,連接埠為6380,redis服務的統計資訊  

redis連結項目首頁為什麼使用 Redis及其產品定位Redis記憶體使用量最佳化與儲存

在centos6.3用yum安裝redis

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.