当前位置:网站首页>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
边栏推荐
- 7. Scala class
- 深入理解Redis内存淘汰策略
- BigDecimal除法的精度问题
- 域名解析,反向域名解析nbtstat
- Beijing internal promotion | the machine learning group of Microsoft Research Asia recruits full-time researchers in nlp/ speech synthesis and other directions
- MYSQL group by 有哪些注意事项
- Cmake tutorial step6 (add custom commands and generate files)
- 統計php程序運行時間及設置PHP最長運行時間
- Cartoon: a bloody case caused by a math problem
- Judge whether a string is a full letter sentence
猜你喜欢

Knowledge points of MySQL (6)

云主机oracle异常恢复----惜分飞

CVPR 2022 best student paper: single image estimation object pose estimation in 3D space

提高应用程序性能的7个DevOps实践

IDEA 项目启动报错 Shorten the command line via JAR manifest or via a classpath file and rerun.

Machine learning 02: model evaluation

ternary operator

漏洞复现----48、Airflow dag中的命令注入(CVE-2020-11978)

winedt常用快捷键 修改快捷键latex编译按钮

thinkphp3.2.3
随机推荐
ICML 2022 | meta proposes a robust multi-objective Bayesian optimization method to effectively deal with input noise
WR | Jufeng group of West Lake University revealed the impact of microplastics pollution on the flora and denitrification function of constructed wetlands
Mongodb (quick start) (I)
一个满分的项目文档是如何书写的|得物技术
C # realizes crystal report binding data and printing 3-qr code barcode
2022年信息系统管理工程师考试大纲
Detailed explanation of printf() and scanf() functions of C language
叩富网开期货账户安全可靠吗?怎么分辨平台是否安全?
Q2 encryption market investment and financing report in 2022: gamefi becomes an investment keyword
解读:如何应对物联网目前面临的安全问题?
Function sub file writing
独立开发,不失为程序员的一条出路
winedt常用快捷键 修改快捷键latex编译按钮
CVPR 2022 best student paper: single image estimation object pose estimation in 3D space
Three traversal methods of binary tree
How to write a full score project document | acquisition technology
SQL删除重复数据的实例教程
[7.7 live broadcast preview] the lecturer of "typical architecture of SaaS cloud native applications" teaches you to easily build cloud native SaaS applications. Once the problem is solved, Huawei's s
漫画:寻找无序数组的第k大元素(修订版)
Domain name resolution, reverse domain name resolution nbtstat
