Last active
October 5, 2016 18:21
-
-
Save yuchsiao/10e4e8a2a1d1402ab35f 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
apt-get update | |
apt-get install python-software-properties -y | |
apt-get install software-properties-common -y | |
apt-get install wget -y | |
apt-get install curl -y | |
apt-get install vim -y | |
# Install oracle java 8 | |
# https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get | |
add-apt-repository ppa:webupd8team/java | |
apt-get update | |
apt-get install oracle-java8-installer -y | |
# Install Maven 3 | |
apt-get install maven | |
# Install MySQL 5.6 | |
apt-get install mysql-server-5.6 -y | |
# Install dev basics | |
apt-get install build-essential -y | |
apt-get install git -y | |
cd | |
wget https://gist.githubusercontent.com/yuchsiao/e2f9c1481976b4d5c524/raw/870969f072c461ad47da76e5822bdd3b807a9829/.screenrc | |
apt-get install -y screen | |
screen -s /bin/bash | |
# Install python related packages | |
apt-get install python-dev -y | |
pip install django | |
pip install environ | |
pip install jpype1 | |
# Install open-jdk | |
add-apt-repository ppa:openjdk-r/ppa | |
apt-get update | |
apt-get install openjdk-8-jdk -y | |
java -version | |
which java | |
which javac | |
# Install solr | |
wget http://archive.apache.org/dist/lucene/solr/5.4.0/solr-5.4.0.tgz | |
tar -xzf solr-5.4.0.tgz | |
mv solr-5.4.0 /opt/solr-5.4.0 | |
ln -s /opt/solr-5.4.0 /opt/solr | |
sudo apt-get install lsof | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment