Skip to content

Instantly share code, notes, and snippets.

@kujjwal02
Last active December 4, 2020 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kujjwal02/45e4625a1a55cc5ebf5d93367856888f to your computer and use it in GitHub Desktop.
Save kujjwal02/45e4625a1a55cc5ebf5d93367856888f to your computer and use it in GitHub Desktop.
Setup vm with miniconda and jupyter lab
!/bin/bash
echo "======================Downloading Miniconda=============================="
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
echo "======================Installing Miniconda =============================="
./Miniconda3-latest-Linux-x86_64.sh
source ~/.bashrc
echo "======================Installing JupyterLab=============================="
conda install -c conda-forge jupyterlab nb_conda ipywidgets nodejs -y
jupyter labextension install @jupyter-widgets/jupyterlab-manager
echo "======================Generating jupyter config=========================="
jupyter notebook --generate-config
echo "======================Jupyter password=========================="
echo "please set a password for jupyter notebook login"
jupyter notebook password
# vi ~/.jupyter/jupyter_notebook_config.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment