Created
January 19, 2019 06:33
-
-
Save entrptaher/df49d1a226e2ed699f309d4c60d1b7f5 to your computer and use it in GitHub Desktop.
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
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 | |
echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list | |
sudo apt-get update | |
sudo apt-get install -y mongodb-org |
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
apt install gcc curl make libc6-dev | |
curl -sSL http://download.redis.io/releases/redis-stable.tar.gz -o /tmp/redis.tar.gz | |
mkdir -p /tmp/redis | |
tar -xzf /tmp/redis.tar.gz -C /tmp/redis --strip-components=1 | |
make -C /tmp/redis | |
make -C /tmp/redis install | |
echo -n | /tmp/redis/utils/install_server.sh | |
rm -rf /tmp/redis* | |
sed -i -e 's/# bind 127.0.0.1/bind 127.0.0.1/g' /etc/redis/6379.conf | |
service redis_6379 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment