Created
August 10, 2023 09:24
-
-
Save paul-lupu/514cc3d9c3d80a3a633ac5c69a1c9e8e to your computer and use it in GitHub Desktop.
Install redis-cli with TLS enabled on Amazon Linux 2
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
#!/bin/bash | |
yum groupinstall -y "@development" | |
yum install -y gcc python3 pkgconfig openssl-devel tcl jemalloc jemalloc-devel wget | |
wget http://download.redis.io/redis-stable.tar.gz | |
tar xvzf redis-stable.tar.gz | |
cd redis-stable | |
make PREFIX=/usr USE_SYSTEMD=no MALLOC=jemalloc V=1 BUILD_TLS=yes install | |
chmod a+x src/redis-cli | |
cp src/redis-cli /usr/bin/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run with sudo.