tutorials
PairLab
$ ssh pairlab@140.113.110.xx
$ sudo docker ps -a # 看自己container的名字
$ sudo docker start [name]
$ sudo docker ps # 看自己container的port
$ ssh root@140.113.110.xx -p [對應22的port] # 進入container,密碼12345678
$ cd ~
$ vim .jupyter.sh
將以下輸入
jupyter lab --allow-root --ip=0.0.0.0
更改 .jupyter.sh 權限
$ sudo chmod +x .jupyter.sh
設定 Jupter Lab 密碼
$ jupyter notebook password
# [name] 改成 container 的名字
sudo docker start [name] # 若是已開了就不用再執行
sudo docker exec -d [name] /bin/bash /root/.jupyter.sh # 執行 Jupyter Lab
chmod 777
sudo docker start $1
sudo docker exec -d $1 /bin/bash /root/.jupyter.sh
chmod 777
#!/bin/sh
/home/pairlab/jupyter.sh [container name]
/home/pairlab/jupyter.sh [container name]
[Unit]
Description=Start Container, executive /home/startup.sh.
[Service]
ExecStart=/home/pairlab/startup.sh
[Install]
WantedBy=multi-user.target
sudo systemctl enable start-container.service
Week 1: https://hackmd.io/@Titi/ByNUY-x2kx
May 23, 2025ESP32-S3 是樂鑫科技(Espressif Systems)推出的一款高性能、低功耗的 MCU(微控制器單晶片),專為 AIoT(人工智慧物聯網)應用設計。 citeturn0search0
May 13, 2025長榮中學於1885年(清光緒十一年)由英國基督長老教會創辦臺灣第一所中學,當時校名『長老教中學』。
May 9, 2025https://hackmd.io/@Titi/ByNUY-x2kx
Apr 10, 2025or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up