当前位置:网站首页>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
边栏推荐
- 漫画:有趣的海盗问题 (完整版)
- CMake教程Step3(添加库的使用要求)
- 7. Scala class
- ThoughtWorks global CTO: build the architecture according to needs, and excessive engineering will only "waste people and money"
- ClickHouse(03)ClickHouse怎么安装和部署
- Humi analysis: the integrated application of industrial Internet identity analysis and enterprise information system
- 一口气读懂 IT发展史
- Read the basic grammar of C language in one article
- Tips for extracting JSON fields from MySQL
- MySQL queries the latest qualified data rows
猜你喜欢
c#图文混合,以二进制方式写入数据库
Using C language to realize palindrome number
Three traversal methods of binary tree
Count the running time of PHP program and set the maximum running time of PHP
企业数字化发展中的六个安全陋习,每一个都很危险!
IDEA 项目启动报错 Shorten the command line via JAR manifest or via a classpath file and rerun.
哈趣K1和哈趣H1哪个性价比更高?谁更值得入手?
漏洞复现----48、Airflow dag中的命令注入(CVE-2020-11978)
MySql 查询符合条件的最新数据行
Alpha conversion from gamma space to linner space under URP (II) -- multi alpha map superposition
随机推荐
CVPR 2022最佳学生论文:单张图像估计物体在3D空间中的位姿估计
Winedt common shortcut key modify shortcut key latex compile button
Detailed explanation of printf() and scanf() functions of C language
Humi analysis: the integrated application of industrial Internet identity analysis and enterprise information system
基于51单片机的电子时钟设计
Is it safe for China Galaxy Securities to open an account? How long can I buy stocks after opening an account
一文了解Go语言中的函数与方法的用法
Cartoon: how to multiply large integers? (next)
网络威胁分析师应该具备的十种能力
What are the precautions for MySQL group by
CMake教程Step2(添加库)
thinkphp模板的使用
MySQL之知识点(六)
CMake教程Step1(基本起点)
Kafaka technology lesson 1
关于mysql中的json解析函数JSON_EXTRACT
33: Chapter 3: develop pass service: 16: use redis to cache user information; (to reduce the pressure on the database)
Learn about MySQL transaction isolation level
Zhang Ping'an: accelerate cloud digital innovation and jointly build an industrial smart ecosystem
Mysql5.6 parsing JSON strings (supporting complex nested formats)