Source: http://sharadchhetri.com/2014/10/04/install-redis-server-centos-7-rhel-7/
wget -r --no-parent -A 'epel-release-*.rpm' http://dl.fedoraproject.org/pub/epel/7/x86_64/e/
rpm -hiv epel-release-7-5.noarch.rpm
會在 /etc/yum.repos.d 底下建立兩個 epel’s repo 檔案
接下來
yum -y install redis
systemctl enable redis.service
systemctl start redis.service
systemctl status redis.service
redis-cli ping
ss -nlp | grep redis
沒有留言:
張貼留言