Created
December 17, 2017 05:39
-
-
Save greatdg/b112b01d9dc2dc4da687cbe3a1582a6e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum update | |
sudo yum -y groupinstall 'Development Tools' | |
sudo yum -y install | |
cd ~ | |
curl -O http://download.redis.io/redis-stable.tar.gz | |
tar zxvfp redis-stable.tar.gz | |
cd redis-stable | |
make distclean | |
make | |
make test | |
# You need tcl 8.5 or newer in order to run the Redis test ???? | |
sudo make install | |
cd utils | |
sudo ./install_server.sh | |
# when prompt "Please select the redis executable path [], put this path /usr/local/bin/redis-server" | |
cd ~ | |
wget https://gist.githubusercontent.com/dstroot/2777433/raw/061ceb203dc7b002b073f28880f63cfa3ef9b5d2/redis-server | |
sudo mv ./redis-server /etc/init.d/ | |
sudo chmod 755 /etc/init.d/redis-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment