安装并打开 Linux 服务器的演示:服务器上的终端安装并启动 Octoboard 并输出其地址,然后自己电脑上的终端用 SSH 转发端口,浏览器打开该地址并显示 Octoboard 界面。安装指南说明了每个步骤。
you@server: ~
01在服务器上:安装、启动并获取地址。
you@server:~$curl --proto '=https' --tlsv1.2 -fsSL https://octoboard.dev/install.sh | sh
Downloading octoboardd 0.1.0 for x86_64...
Installed octoboardd 0.1.0 to /home/you/.local/bin/octoboardd.
Start it with `octoboardd start` (port 3369; `--port N` picks another), then run `octoboardd address`: it prints the address to open and the SSH forward to open it through.
you@server:~$octoboardd start
octoboardd listening on 127.0.0.1:3369 with key 3f9c…
forward it to your own machine with `ssh -N -o ExitOnForwardFailure=yes -L 127.0.0.1:3369:/home/you/.octoboard/browser.sock you@<server>`, then open the address there