Skip to content

Instantly share code, notes, and snippets.

@Puzer
Last active November 21, 2019 11:52
Show Gist options
  • Save Puzer/cef4380ce0e25d1d8e33791f88174baa to your computer and use it in GitHub Desktop.
Save Puzer/cef4380ce0e25d1d8e33791f88174baa to your computer and use it in GitHub Desktop.
#!/bin/bash
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O $HOME/miniconda.sh
bash $HOME/miniconda.sh -b -p $HOME/miniconda
rm miniconda.sh
$HOME/miniconda/condabin/conda install jupyter scipy pandas numpy scikit-learn -y
$HOME/miniconda/condabin/conda init
$HOME/miniconda/bin/jupyter-notebook --generate-config
echo "c.NotebookApp.allow_remote_access = True" >> $HOME/.jupyter/jupyter_notebook_config.py
echo "c.NotebookApp.open_browser = False" >> $HOME/.jupyter/jupyter_notebook_config.py
echo "c.NotebookApp.password_required = False" >> $HOME/.jupyter/jupyter_notebook_config.py
echo "c.NotebookApp.open_browser = False" >> $HOME/.jupyter/jupyter_notebook_config.py
echo "c.NotebookApp.ip = '0.0.0.0'" >> $HOME/.jupyter/jupyter_notebook_config.py
exit 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment