コードサーバのインストール


code-serverは、Vscodeをオンラインで行うことができるプログラムである.
インストールコマンド
curl -fsSL https://code-server.dev/install.sh | sh
インストール後、code-serverコマンドでcode-serverを実行します.
CTRL-Cでプログラムを閉じた後、ユーザフォルダの.configフォルダのcode-serverフォルダのconfig.yamlを編集する.config.yamlには、0.0.0:[自分が使用するポート]としてbind-addrを入力します.
例)
...
bind-addr: 0.0.0.0:80
...
passwordも自分のパスワードで値を変えます.
例)
...
password: password
...
その後、code-serverコマンドでサーバを開くと、外部接続が可能になります.