安裝並開啟 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