一只单身猿


open_in_new

在 CentOS 6.5 上安装 Redis

alarm2018-07-24 faceyejinmo

使用RPM包的方式离线安装Redis

因Redis依赖于epel以及jemalloc,所以需先安装这两个RPM包

可到 https://centos.pkgs.org/ 下载所需包

  1. wget http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/r/redis-3.2.11-1.el6.x86_64.rpm
  2. wget http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/e/epel-release-6-8.noarch.rpm
  3. wget http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/j/jemalloc-3.6.0-1.el6.x86_64.rpm
  4. yum install epel-release-6-8.noarch.rpm
  5. yum install jemalloc-3.6.0-1.el6.x86_64.rpm
  6. yum install redis-3.2.11-1.el6.x86_64.rpm
  7. service redis start

Youmustbe loggedin to post a comment.