Advertisement
screamolic

install redis

Apr 4th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. sudo yum install epel-release yum-utils
  2. sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
  3. sudo yum-config-manager --enable remi
  4. sudo yum install redis
  5.  
  6. sudo systemctl start redis
  7. sudo systemctl enable redis
  8. sudo systemctl status redis
  9.  
  10. # driver
  11. git clone https://github.com/phpredis/phpredis.git
  12. cd phpredis
  13. make clean
  14. git submodule update --init
  15. phpize
  16. ./configure
  17. make
  18. make install
  19. echo "extension=redis.so" > /etc/php.d/00-redis.ini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement