centos 7 ,magento 1.9 , redis 2.8.19 下部署

本文指导如何检查系统位数,下载并安装EPEL仓库,导入GPG密钥,通过YUM安装Redis服务器及PHPRedis扩展,并设置Redis密码。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


准备工作:

1. 查看系统是 64位 还是 32位的 

  命令:getconf LONG_BIT  我的系统是64位的


步骤:

1. 

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Next step is to install repository package and import GPG key used by yum to authenticate packages (root access required):

rpm -Uvh epel-release-6*.rpm
rpm --import http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6

What’s left to do is install Redis server and PhpRedis extension trough yum, enable the Redis server to be started at boot, start Redis service and restart Apache service:

su
yum install redis php-pecl-redis
chkconfig redis on
service redis start
httpd restart
redis 设置密码:
http://www.linuxidc.com/Linux/2014-07/104136.htm

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值