Last active
November 21, 2019 11:52
-
-
Save Puzer/cef4380ce0e25d1d8e33791f88174baa 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
#!/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