sync notes(auto)
This commit is contained in:
parent
fd6ac60d40
commit
91bd6c0b03
2 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# 20240310135606 raspi4にjupyterhubをインストール
|
||||
# 20240310135606 raspberry piにjupyterhubをインストール
|
||||
#raspi #jupyter #jupyterhub
|
||||
[[20240121125457 venv|venv]] で作ったローカル環境にインストールした。
|
||||
|
||||
|
@ -12,11 +12,12 @@ $ sudo npm install configurable-http-proxy
|
|||
## jupyterhubをインストール
|
||||
venvを有効にして、jupyter, jupyterhubをインストール
|
||||
```
|
||||
$ sudo apt install gcc python3-dev # 依存関係。自分の場合はこれが足りていなくて、pip installでコケた
|
||||
$ mkdir jupyter
|
||||
$ cd jupyter
|
||||
$ python -m venv .venv
|
||||
$ . .venv/bin/activate
|
||||
(venv) $ sudo pip install jupyter jupyterhub
|
||||
(venv) $ pip install jupyter jupyterhub
|
||||
```
|
||||
|
||||
jupyterhubの設定ファイルを作成
|
|
@ -42,6 +42,9 @@ CTだと、proxmoxのハードウェアにそのままアクセスできる。
|
|||
|
||||
snapなどがホストの方まで影響を与えてしまう。proxmox本体のsquashfuseプロセスがかなりのCPU%を占めるなどする。しかも、snapはCT上では動作しない。そのため、chromiumなどがインストールできない。そのため、用途が限定される。
|
||||
|
||||
20240523 追記。この件はworkaroundがあったので試してみる
|
||||
[snaps in lxc on proxmox 7.1 | Proxmox Support Forum](https://forum.proxmox.com/threads/snaps-in-lxc-on-proxmox-7-1.100542/)
|
||||
|
||||
2. コンテナイメージを探すのが面倒
|
||||
|
||||
unofficial lxc コンテナ https://images.linuxcontainers.org/images/ などがあれば良いが、無かったら作成などが必要。
|
||||
|
|
Loading…
Reference in a new issue