Skip to content

Instantly share code, notes, and snippets.

@AlexeyRudkovskiy
Last active June 22, 2017 10:21
Show Gist options
  • Save AlexeyRudkovskiy/2d989c99d782d7458487f35db37c68f6 to your computer and use it in GitHub Desktop.
Save AlexeyRudkovskiy/2d989c99d782d7458487f35db37c68f6 to your computer and use it in GitHub Desktop.
test
#!/bin/bash
# REDIS
# https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-redis-on-ubuntu-16-04
sudo apt-get update
sudo apt-get install build-essential tcl
cd /tmp
curl -O http://download.redis.io/redis-stable.tar.gz
tar xzvf redis-stable.tar.gz
cd redis-stable
make
make test
sudo make install
# Java
sudo add-apt-repository -y ppa:webupd8team/java
# PHP
sudo apt-add-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.1
sudo apt-get -y install oracle-java8-installer
# Elasticsearch
wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.2.deb
sudo dpkg -i elasticsearch-1.7.2.deb
sudo update-rc.d elasticsearch defaults
sudo service elasticsearch start
# NodeJS
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment