1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
| pip3 install jupyter -i https://pypi.douban.com/simple/
jupyter notebook --generate-config
Writing default config to: /root/.jupyter/jupyter_notebook_config.py
ipython3 from notebook.auth import passwd passwd() Enter password: Verify password: Out[2]: 'argon2:$argon2id$v=19$m=10240,t=10,p=8$d7KY0z59c4W2D35oUhsfOQ$ksuiDsWhogYFfuNqUxSa5IpayeOQVecbROGoXceza/k'
c.NotebookApp.ip = '*'
c.NotebookApp.password = 'sha1:3c7ece6d01a3:aef0f9818ea49be2c2f2cc5f5a6228fd327ec00d'
c.NotebookApp.open_browser = False
c.NotebookApp.port = 8888
c.NotebookApp.allow_remote_access = True
jupyter notebook --ip=0.0.0.0 --no-browser --allow-root
nohup jupyter notebook --ip=0.0.0.0 --no-browser --allow-root &
|