Build the Python3 jupyter notebook server

Source: Internet
Author: User
Tags sha1 jupyter jupyter notebook

Abstract: Build Python3 Jupyter notebook.

After activating Python3, enter the python interactive environment

1. Log in to remote server 2. Build configuration file
1. $jupyter Notebook--generate-config
3. Generate a password

Open ipython , create a password for the ciphertext:

1. In [1]: from Notebook.auth import passwd
2. In [2]: passwd ()
5. out[2]: ' sha1:fa0dde171852:7afe4911d125a73f091298be12aa0c199e3b9350 '

Copy the generated ciphertext ' sha:ce ... '

4. Modify the default configuration file

$vim ~/.jupyter/jupyter_notebook_config.py
Make the following changes:

1. c.notebookapp.ip= ' * ' #所有ip都可以访问
2. C.notebookapp.password=u ' sha1:fa0dde171852:7afe4911d125a73f091298be12aa0c199e3b9350 '
3. C.notebookapp.open_browser = False
4. C.notebookapp.port =8888 #随便指定一个端口
5. Start Jupyter Notebook:
1. $jupyter Notebook
6. Remote Access

You should be able to http://address_of_remote:8888 see Jupyter's Landing screen directly from your local browser.

will prompt for a password, which is the password generated in the second step

Our code is 12345678.

Build the Python3 jupyter notebook server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.