ubuntu安装最新redis

sudo apt-get install -y python-software-properties
sudo add-apt-repository ppa:chris-lea/redis-server
sudo apt-get update
sudo apt-get install redis-server