centos 7 ,magento 1.9 , redis 2.8.19 下部署

来源:互联网 发布:win7网络上有红叉 编辑:程序博客网 时间:2024/06/07 03:30


准备工作:

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*.rpmrpm --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:

suyum install redis php-pecl-redischkconfig redis onservice redis starthttpd restart
redis 设置密码:
http://www.linuxidc.com/Linux/2014-07/104136.htm

0 0
原创粉丝点击