Starting Jupyter Notebook

If you have desktop-based access to your CentOS virtual machine, the easiest way to instantiate a new per-user Jupyter Notebook instance is to execute the following shell command as your local Linux user:

> jupyter notebook

However, should you only have SSH or command-line access with no GUI, then you should use the following command instead:

> jupyter notebook --no-browser

The latter command will stop Jupyter from automatically opening a local browser session. In either case, the resultant logs will state the full URL (including the security token by default) that can be used to access your instance of Jupyter Notebook. The URL should look similar to the following:

http://192.168.56.10:8888/?token=6ebb5f6a321b478162802a97b8e463a1a053df12fcf9d99c ...

Get Machine Learning with Apache Spark Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.