当前位置:网站首页>Server configuration jupyter environment
Server configuration jupyter environment
2022-07-05 17:33:00 【Chasing young feather】
Server environment
Any server environment will do
To configure
Installation dependency , Better virtual environment
pip3 install jupyter
Get into ipython The interactive interface obtains the password required by the configuration file
from notebook.auth import passwd
passwd() # Note the type of generated password

Configuration file generation and modification
jupyter notebook --generate-config
vim /root/.jupyter/jupyter_notebook_config.py
Parameter setting
c.NotebookApp.ip='0.0.0.0' # Set all ip All accessible
c.NotebookApp.password ='argon2:$ar...' # The ciphertext password obtained before
c.NotebookApp.open_browser = False # Disable automatic browser opening
c.NotebookApp.port =9999 # Service start port , Set casually
c.NotebookApp.allow_root = True # Do not add --allow-root
c.NotebookApp.notebook_dir = "/usr/jupyter_files" # Configure boot directory
start-up
jupyter notebook
nohup jupyter notebook --allow-root & # It can still run after closing the terminal
# among nohup Means to run the command without hanging up 、 & Means running in the background Usually two are used together nohup command &
You can configure the corresponding external port and the corresponding configuration file and jupyter Root directory after opening
close
ps -aux|grep jupyter-notebook # Find the process number
kill -9 PID
Plug in installation
pip3 install jupyter_contrib_nbextensions
jupyter contrib nbextension install
pip3 install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable
jupyter nbextension enable
Other
Pay attention to the server security group configuration and firewall release Open ports
边栏推荐
- Matery主题自定义(一)黑夜模式
- Which is more cost-effective, haqu K1 or haqu H1? Who is more worth starting with?
- mongodb(快速上手)(一)
- thinkphp3.2.3
- 域名解析,反向域名解析nbtstat
- Debug kernel code through proc interface
- The five most difficult programming languages in the world
- Tips for extracting JSON fields from MySQL
- goto Statement
- About JSON parsing function JSON in MySQL_ EXTRACT
猜你喜欢

Three traversal methods of binary tree

Compter le temps d'exécution du programme PHP et définir le temps d'exécution maximum de PHP
Tips for extracting JSON fields from MySQL

Use of ThinkPHP template
Summary of optimization scheme for implementing delay queue based on redis
In depth understanding of redis memory obsolescence strategy

Machine learning 01: Introduction

Check the WiFi password connected to your computer
Example tutorial of SQL deduplication

7. Scala class
随机推荐
張平安:加快雲上數字創新,共建產業智慧生態
CVPR 2022 best student paper: single image estimation object pose estimation in 3D space
[binary tree] insufficient nodes on the root to leaf path
MYSQL group by 有哪些注意事项
Is it safe for China Galaxy Securities to open an account? How long can I buy stocks after opening an account
BigDecimal除法的精度问题
stirring! 2022 open atom global open source summit registration is hot!
基于51单片机的电子时钟设计
The third lesson of EasyX learning
张平安:加快云上数字创新,共建产业智慧生态
Error in compiling libssh2. OpenSSL cannot be found
Compter le temps d'exécution du programme PHP et définir le temps d'exécution maximum de PHP
7. Scala class
thinkphp3.2.3
独立开发,不失为程序员的一条出路
Cloud security daily 220705: the red hat PHP interpreter has found a vulnerability of executing arbitrary code, which needs to be upgraded as soon as possible
mysql中取出json字段的小技巧
CMake教程Step6(添加自定义命令和生成文件)
2022年信息系统管理工程师考试大纲
Cartoon: how to multiply large integers? (next)
