连入aws
1 | $ ssh -i "Documents/kanopri.pem" ubuntu@ec2-3-112-234-229.ap-northeast-1.compute.amazonaws.com |
开启ngrok服务
1 | $ sudo ./bin/ngrokd -tlsKey=server.key -tlsCrt=server.crt -domain="ngrok.kanopri.com" -httpAddr=":8081" -httpsAddr=":8082" |
列出、连入已有screen
1 | $ screen -r |
ctrl + a + c:创建新窗口(create)
ctrl + a + n:切换至下一个窗口(next)
ctrl + a + p:切换至上一个窗口(previous)
ctrl + a + w: 列出所有窗口
ctrl + a + A: 窗口重命名
ctrl + a + d:detach当前会话
ctrl + a + [1-9]: 切换到指定窗口(1-9为窗口号)
ctrl + d:退出(关闭)当前窗口
安装miniconda
1 | $ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh |
cd ngrok
修改jupyter配置
1 | $ vim ~/.jupyter/jupyter_notebook_config.py |
远程拷贝
1 | $ scp -i "Documents/kanopri.pem" ubuntu@ec2-3-112-234-229.ap-northeast-1.compute.amazonaws.com:/root/ngrok/bin/ngrok /home/kano/ngrok |
unraid虚拟机挂载
1 | $ sudo mount -t 9p -o trans=virtio /unraidvault /unraidvault -oversion=9p2000.L |