# jupyter notebookインストール
python3 -m pip install jupyter
# カーネル登録
python3 -m pip install ipykernel
python3 -m ipykernel install --name カーネル名
# カーネル削除
jupyter kernelspec uninstall カーネル名
jupyter kernelspec list
# 起動
jupyter notebook
# バックエンド起動
nohup jupyter notebook &
# 外接設定
# パスワードのハッシュ値を取得
python -c 'from notebook.auth import passwd;print(passwd())'
# 設定ファイルを生成
jupyter notebook --generate-config
cd .jupyter
vi jupyter_notebook_config.py
# 設定ファイルに追記
c.IPKernelApp.pylab = 'inline'
c.NotebookApp.ip = '接続元IP'
c.NotebookApp.open_browser = False
c.NotebookApp.port = ポート番号
c.NotebookApp.password = 'パスワードのハッシュ値'
c.NotebookApp.notebook_dir = 'ホームディレクトリ'
nohup jupyter notebook &
# 外接設定
# パスワードのハッシュ値を取得
python -c 'from notebook.auth import passwd;print(passwd())'
# 設定ファイルを生成
jupyter notebook --generate-config
cd .jupyter
vi jupyter_notebook_config.py
# 設定ファイルに追記
c.IPKernelApp.pylab = 'inline'
c.NotebookApp.ip = '接続元IP'
c.NotebookApp.open_browser = False
c.NotebookApp.port = ポート番号
c.NotebookApp.password = 'パスワードのハッシュ値'
c.NotebookApp.notebook_dir = 'ホームディレクトリ'