Created
February 11, 2022 08:41
-
-
Save ditikrushna/51d810e5f697ea8a87950bd92e7c28bb to your computer and use it in GitHub Desktop.
How to Install Redis on EC2 Instance
This file contains hidden or 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
| Step : 1 | |
| sudo yum -y install gcc make # install GCC compiler | |
| cd /usr/local/src | |
| sudo wget http://download.redis.io/redis-stable.tar.gz | |
| sudo tar xvzf redis-stable.tar.gz | |
| sudo rm -f redis-stable.tar.gz | |
| cd redis-stable | |
| sudo yum groupinstall "Development Tools" | |
| sudo make distclean | |
| sudo make | |
| sudo yum install -y tcl | |
| Step : 2 | |
| sudo make test | |
| Step : 3 | |
| sudo cp src/redis-server /usr/local/bin/ | |
| sudo cp src/redis-cli /usr/local/bin/ | |
| Step : 4 | |
| redis-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment