Last active
March 24, 2016 23:19
-
-
Save yuchsiao/e3846060edca40ac3705 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 install wget -y | |
apt-get install curl -y | |
apt-get install software-properties-common -y | |
apt-get install vim -y | |
cd | |
wget https://gist.githubusercontent.com/yuchsiao/e2f9c1481976b4d5c524/raw/870969f072c461ad47da76e5822bdd3b807a9829/.screenrc | |
apt-get install -y screen | |
screen | |
# Install dev basics | |
apt-get install build-essential -y | |
apt-get install git -y | |
# Download and install miniconda | |
cd | |
CONDA_PATH="miniconda2" | |
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh | |
chmod u+x Miniconda-latest-Linux-x86_64.sh | |
./Miniconda-latest-Linux-x86_64.sh -b -p $CONDA_PATH # -b for batch no prompt | |
echo ' | |
# added by Miniconda2 3.19.0 installer | |
export PATH="/root/'$CONDA_PATH'/bin:$PATH" | |
' >> .profile | |
source .profile | |
pip install --upgrade pip | |
# Install python packages | |
conda install numpy -y | |
conda install scipy -y | |
conda install scikit-learn -y | |
# Install Django related | |
pip install django | |
pip install environ | |
pip install cookiecutter | |
cookiecutter https://github.com/pydanny/cookiecutter-django.git | |
# 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