直接从github下载最新的deb包,然后用dpkg -i命令安装就行了
更新完打开,发现报错,WebSocket close with status code 1006

这是nginx反向代理没配置好
location / {
proxy_pass http://localhost:8080/;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
proxy_set_header Accept-Encoding gzip;
}