Difference between revisions of "How to run Jupyter on Linux VMs in ResVault"

From UFRC
Jump to navigation Jump to search
(Created page with "Using the following steps, your Linux VM in ResVault can have the same Jupyter kernels that are available on HiPerGator. 1. Copy and paste this code into a file your Linux De...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
Using the following steps, your Linux VM in ResVault can have the same Jupyter kernels that are available on HiPerGator.
 
Using the following steps, your Linux VM in ResVault can have the same Jupyter kernels that are available on HiPerGator.
 +
 +
{{Note|Recently the script below has not been executable, but if you run the three commands in the script from the Terminal, it does work.|warn}}
  
 
1. Copy and paste this code into a file your Linux Desktop folder (or your computer and upload the file). Save it as <code>launch_jupyter.sh</code>:
 
1. Copy and paste this code into a file your Linux Desktop folder (or your computer and upload the file). Save it as <code>launch_jupyter.sh</code>:
Line 7: Line 9:
 
# This script launches Jupyter in a Linux VM
 
# This script launches Jupyter in a Linux VM
  
module load jupyter
+
module load jupyter/6.2.0
  
 
export JUPYTER_PATH=/apps/jupyterhub
 
export JUPYTER_PATH=/apps/jupyterhub

Latest revision as of 18:35, 27 January 2023

Using the following steps, your Linux VM in ResVault can have the same Jupyter kernels that are available on HiPerGator.

Recently the script below has not been executable, but if you run the three commands in the script from the Terminal, it does work.

1. Copy and paste this code into a file your Linux Desktop folder (or your computer and upload the file). Save it as launch_jupyter.sh:

#!/bin/bash
# This script launches Jupyter in a Linux VM

module load jupyter/6.2.0

export JUPYTER_PATH=/apps/jupyterhub

jupyter lab

2. Open a terminal and make the file executable:

chmod +x ~/Desktop/launch_jupyter.sh

3. Double click on the file...it should open Jupyter lab and have the HiPerGator kernels ready to go!