伺服器配置jupyter步驟

2021-08-28 12:11:09 字數 633 閱讀 5941

1. 安裝jupyter

pip install jupyter
2. 生成配置檔案

jupyter notebook --generate-config
3. 開啟python,生成秘鑰

from notebook.auth import passwd

passwd()

然後設定登入密碼,生成秘鑰,並複製你的秘鑰

秘鑰開頭:sha1……

4. 修改配置檔案

vim ~/.jupyter/jupyter_notebook_config.py
在開啟的檔案中,找到以下4處,去掉注釋,進行修改

5. 在伺服器端啟動jupyter

jupyter notebook
6. 在遠端連線的電腦上輸入伺服器ip:8888 就好了。(注意此時**開啟的資料夾位置就是你在伺服器端啟動jupyter的位置),下面就可以愉快的使用jupyter啦。

伺服器上配置jupyter環境

在伺服器上配置jupyter,方便我們遠端登入 第一步 安裝jupyter,pip3 install jupyter 此處使用的是python3 第二步 生成配置檔案jupyter notebook generate config 第三步 生成金鑰 開啟python3 from notebook.a...

在伺服器中配置Jupyter

使用遠端伺服器進行實驗,而伺服器又沒有視覺化的介面,使用jupyter notebook可以很好地與遠端伺服器進行互動。英文教程.首先要確保安裝jupyter notebook pip install jupyter生成配置檔案 jupyter notebook generate config如圖 ...

配置jupyter伺服器的密碼 詳細

配置jupyter伺服器的密碼,有什麼用呢?1.安全性 2.方便記住密碼 因為是自己設定的嘛 首先,使用pip或者conda安裝好jupyter並按照慣例配置好環境變數之後,生成jupyter配置檔案目錄和檔案 在shell下面執行下述命令,在windows10的user jupyter下面會生成乙...