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 | |
USER_HOME="/home/azureuser" | |
sudo -u azureuser bash -i <<EOF | |
export HOME=$USER_HOME | |
cd \$HOME | |
wget -O Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-$(uname -m).sh" | |
bash Miniforge3.sh -b -p "\$HOME/conda" | |
\$HOME/conda/bin/conda create -n jupyter_env python=3.13 notebook=7.4.4 -c conda-forge -c defaults -y | |
\$HOME/conda/bin/conda run -n jupyter_env jupyter notebook --generate-config |