Skip to content

Commit

Permalink
modified: faq/network-n-servers/server_aiken.html (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
NuwanJ authored Nov 9, 2023
1 parent 1136668 commit cc6857e
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions faq/network-n-servers/server_aiken.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,20 +108,7 @@ <h3>aiken.ce.pdn.ac.lk Server</h3>
<ol>
<li>Create a conda environment with jupyter notebook package installed.</li>
<li>Activate that environment.</li>
<li>Run <code class="md">jupyter notebook --generate-config</code></li>
<li>
It will say the configuration file for your account. Edit the configuration file and add the following
two lines. (They are originally commented out as given below.)

<code class="dracula bash">
# c.NotebookApp.allow_origin = ''
# c.NotebookApp.ip = 'localhost'
c.NotebookApp.allow_origin = '*'
c.NotebookApp.ip = '0.0.0.0'
</code>
</li>
<li>Save the configuration file. You should still be in the conda environment.</li>
<li>Run the jupyter notebook. <code class="md">jupyter-notebook --no-browser</code></li>
<li>Run the jupyter notebook. <code class="md">jupyter notebook --no-browser --port=8888 --ip=0.0.0.0</code></li>
<li>You will see a URL like this <code class="md">http://SOMETHING:8888/tree?token=abc123def456</code></li>
<li>Type the following address into your PC browser
<code class="md">http://aiken.ce.pdn.ac.lk:8888/tree?token=abc123def456</code>
Expand Down

0 comments on commit cc6857e

Please sign in to comment.