在CentOs7上yum安裝redis

#1.yum安裝redis
yum install redis
#2.看到Nothing to do不要緊,只要先安裝epel-release就好了。
yum install epel-release
#yum安裝redis
yum install redis
#啓動redis
systemctl start redis.service
#關閉redis
systemctl stop redis.service
#開機啓動redis
systemctl enable redis
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章