<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.docking.org/index.php?action=history&amp;feed=atom&amp;title=JupyterNotebook</id>
	<title>JupyterNotebook - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.docking.org/index.php?action=history&amp;feed=atom&amp;title=JupyterNotebook"/>
	<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=JupyterNotebook&amp;action=history"/>
	<updated>2026-04-07T17:23:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>http://wiki.docking.org/index.php?title=JupyterNotebook&amp;diff=15555&amp;oldid=prev</id>
		<title>Frodo: asdf</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=JupyterNotebook&amp;diff=15555&amp;oldid=prev"/>
		<updated>2023-10-19T21:05:17Z</updated>

		<summary type="html">&lt;p&gt;asdf&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:05, 19 October 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l35&quot;&gt;Line 35:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 35:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      # on a laptop outside the lab network&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      # on a laptop outside the lab network&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      JUPYTER_PORT=5048&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      JUPYTER_PORT=5048&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      ssh -N -p 22 -D 1080 momeara@&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;portal&lt;/del&gt;.ucsf.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;bkslab.org &lt;/del&gt;-L $JUPYTER_PORT:gimel:$JUPYTER_PORT&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      ssh -N -p 22 -D 1080 momeara@&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;portal3.combpio&lt;/ins&gt;.ucsf.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;edu &lt;/ins&gt;-L $JUPYTER_PORT:gimel:$JUPYTER_PORT&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      # open a web browser and navigate to localhost:JUPYTER_PORT/lab and enter the token&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      # open a web browser and navigate to localhost:JUPYTER_PORT/lab and enter the token&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Tips ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Tips ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* use localhost:JUPYTER_PORT/&amp;#039;&amp;#039;&amp;#039;lab&amp;#039;&amp;#039;&amp;#039; to get the JuypterLab interface, its much better but for some reason not the default yet&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* use localhost:JUPYTER_PORT/&amp;#039;&amp;#039;&amp;#039;lab&amp;#039;&amp;#039;&amp;#039; to get the JuypterLab interface, its much better but for some reason not the default yet&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Frodo</name></author>
	</entry>
	<entry>
		<id>http://wiki.docking.org/index.php?title=JupyterNotebook&amp;diff=11602&amp;oldid=prev</id>
		<title>Matthew O&#039;Meara: Basics for setting up Jupyter Notebook</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=JupyterNotebook&amp;diff=11602&amp;oldid=prev"/>
		<updated>2019-03-28T19:12:49Z</updated>

		<summary type="html">&lt;p&gt;Basics for setting up Jupyter Notebook&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
= Using Jupyter Notebooks =&lt;br /&gt;
&lt;br /&gt;
== jupyter ports ==&lt;br /&gt;
Talk to Ben about getting a port range set up for you&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Lab Member&lt;br /&gt;
! Port range&lt;br /&gt;
|-&lt;br /&gt;
| Matthew O&amp;#039;Meara&lt;br /&gt;
| 5040-5049&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== install dependencies ==&lt;br /&gt;
Install conda environment for python, typically I use&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
     conda create -n main anaconda&lt;br /&gt;
     source activate main&lt;br /&gt;
&lt;br /&gt;
Start the notebook server&lt;br /&gt;
     &lt;br /&gt;
     # set the jupyter port (see above)&lt;br /&gt;
     JUPYTER_PORT=5048&lt;br /&gt;
&lt;br /&gt;
     # on gimel in the bkslab cluster&lt;br /&gt;
     jupyter notebook --ip=0.0.0.0 --port=$JUPYTER_PORT&lt;br /&gt;
     # copy the token e.g. &amp;#039;e0593317037148392cb9b0489a5f376ca950f3a14d37e371&amp;#039; to the clipboard&lt;br /&gt;
&lt;br /&gt;
log in to the notebook server from a client&lt;br /&gt;
&lt;br /&gt;
     # on a laptop outside the lab network&lt;br /&gt;
     JUPYTER_PORT=5048&lt;br /&gt;
     ssh -N -p 22 -D 1080 momeara@portal.ucsf.bkslab.org -L $JUPYTER_PORT:gimel:$JUPYTER_PORT&lt;br /&gt;
     # open a web browser and navigate to localhost:JUPYTER_PORT/lab and enter the token&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
* use localhost:JUPYTER_PORT/&amp;#039;&amp;#039;&amp;#039;lab&amp;#039;&amp;#039;&amp;#039; to get the JuypterLab interface, its much better but for some reason not the default yet&lt;/div&gt;</summary>
		<author><name>Matthew O&#039;Meara</name></author>
	</entry>
</feed>