[PYTHON] Run Jupyter notebook on a remote server

install jupyter

After switching to the anaconda environment with pyenv pip install jupyter

install jupyter / notebook

Clarify that it contains nodejs and npm sudo apt-get install nodejs-legacy npm brew install node on mac Clone jupyter notebook and build

git clone https://github.com/jupyter/notebook.git
cd notebook
pip install --pre -e .
jupyter notebook

ipython settings

pip3 install ipython

Launch Ipython with ʻipython3` and use the following command

from notebook.auth import passwd
passwd()

When you enter the pass, the sha key will come out, so enter this Write in ~ / .jupyter / jupyter_notebook_config.py as follows

c = get_config()

#Allow connections from all IPs
c.NotebookApp.ip = '*'
c.NotebookApp.password = u'sha1:bcd259ccf...<Copy the key>'
#Browser does not launch
c.NotebookApp.open_browser = False

#Designated for a specific port(The default is 8888)
c.NotebookApp.port = 9999

After that, launch it with jupyter notebook & and from the local browser Login with http: // <server IP>: 9999

When you care about security, limit IP or use SSL. For more information Official

If you write nohup jupyter notebook & in /etc/rc.local, it will start up automatically at reboot.

Recommended Posts

Run Jupyter notebook on a remote server
Start jupyter notebook on GPU server (remote server)
Build jupyter notebook on remote server (CentOS)
Run Jupyter Notebook on windows
Run a Linux server on GCP
Run azure ML on jupyter notebook
Run TensorFlow2 on a VPS server
Run a local script on a remote host
Make Jupyter Notebook a service on CentOS
Remotely open Jupyter notebook launched on the server
Run Jupyter on Ubuntu on Windows
Run Tensorflow from Jupyter Notebook on Bash on Ubuntu on Windows
View PDF on Jupyter Notebook
Run IPython Notebook on Docker
How to run Django on IIS on a Windows server
Steps to attach and debug from VS Code to Jupyter Lab on a remote server
<Python> Build a dedicated server for Jupyter Notebook data analysis
A very convenient way to give a presentation on Jupyter Notebook
Try clustering with a mixed Gaussian model on a Jupyter Notebook
A note when I can't open Jupyter Notebook on Windows
Formatting with autopep8 on Jupyter notebook
Post a Jupyter Notebook as a blog post
Make a sound with Jupyter notebook
Run Matplotlib on a Docker container
Run headless-chrome on a Debian-based image
Try running Jupyter Notebook on Mac
Build a Pypi cache server on QNAP
Run TensorFlow on a GPU instance on AWS
Try SVM with scikit-learn on Jupyter Notebook
Clone the github repository on jupyter notebook
Build a Samba server on Arch Linux
GPU check of PC on jupyter notebook
Display histogram / scatter plot on Jupyter Notebook
Build a web server on your Chromebook
Use vim keybindings on Docker-launched Jupyter Notebook
Run Python code on A2019 Community Edition
Run matplotlib on a Windows Docker container
Run python wsgi server on NGINX Unit
How to set up a jupyter notebook on ssh destination (AWS EC2)
Rock-paper-scissors with Python Let's run on a Windows local server for beginners
Build a proxy server with nginx on multiple remote servers using Ansible
Install matplotlib and display graph on Jupyter Notebook
Try a state-space model (Jupyter Notebook + IR kernel)
Periodically run a python program on AWS Lambda
Jupyter Notebook memo
[Jupyter Notebook / Lab] 3 ways to debug on Jupyter [Pdb]
Introducing Jupyter Notebook
Run the task in the background on the sshed server
Powerful Jupyter Notebook
I tried launching jupyter nteract on heroku server
Golang on jupyter
When I connect to a remote Jupyter Server with VScode, it's remote but local
[Pythonocc] I tried using CAD on jupyter notebook
Jupyter on AWS
Settings when using Jupyter Notebook under Proxy server
Jupyter notebook password
Jupyter Notebook memo
How to install Fast.ai on Alibaba Cloud GPU and run it on Jupyter notebook
Build a PYNQ environment on Ultra96 V2 and log in to Jupyter Notebook
Building a Python environment on a Sakura VPS server
Until you install Python with pythonbrew and run Flask on a WSGI server