Last active
November 27, 2019 14:28
-
-
Save andy-igoo/49789938095698656b16fbad287c4d96 to your computer and use it in GitHub Desktop.
Redis install (Debian/Ubuntu)
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/sh | |
cd /tmp | |
wget http://download.redis.io/redis-stable.tar.gz | |
tar xvzf redis-stable.tar.gz | |
cd redis-stable | |
make distclean | |
cd deps | |
make hiredis jemalloc linenoise lua geohash-int | |
cd .. | |
make | |
make test | |
make install | |
mkdir /etc/redis | |
mkdir /var/redis | |
update-rc.d redis_6379 defaults | |
service redis_6379 start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment