当前位置:网站首页>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
边栏推荐
- 查看自己电脑连接过的WiFi密码
- Independent development is a way out for programmers
- About JSON parsing function JSON in MySQL_ EXTRACT
- Use of ThinkPHP template
- Troubleshooting - about clip not found Visual Studio
- Thoughtworks 全球CTO:按需求构建架构,过度工程只会“劳民伤财”
- WebApp开发-Google官方教程
- 域名解析,反向域名解析nbtstat
- 服务器配置 jupyter环境
- Machine learning 01: Introduction
猜你喜欢
The second day of learning C language for Asian people
How to write a full score project document | acquisition technology
Tips for extracting JSON fields from MySQL
提高应用程序性能的7个DevOps实践
深入理解Redis内存淘汰策略
CMake教程Step4(安装和测试)
机器学习02:模型评估
基于51单片机的电子时钟设计
Learn about MySQL transaction isolation level
ternary operator
随机推荐
Ordinary programmers look at the code, and top programmers look at the trend
叩富网开期货账户安全可靠吗?怎么分辨平台是否安全?
Kafaka technology lesson 1
一口气读懂 IT发展史
Read the basic grammar of C language in one article
解决“双击pdf文件,弹出”请安装evernote程序
网络威胁分析师应该具备的十种能力
独立开发,不失为程序员的一条出路
Humi analysis: the integrated application of industrial Internet identity analysis and enterprise information system
Tita performance treasure: how to prepare for the mid year examination?
The second day of learning C language for Asian people
中国银河证券开户安全吗 开户后多久能买股票
統計php程序運行時間及設置PHP最長運行時間
关于mysql中的json解析函数JSON_EXTRACT
SQL Server(2)
C (WinForm) the current thread is not in a single threaded unit, so ActiveX controls cannot be instantiated
WR | Jufeng group of West Lake University revealed the impact of microplastics pollution on the flora and denitrification function of constructed wetlands
Judge whether a string is a full letter sentence
激动人心!2022开放原子全球开源峰会报名火热开启!
Tips for extracting JSON fields from MySQL