👋 歡迎來到 Link 幫助中心
在這裏可以找到你想要的答案~
幫助中心 / 音視頻部署與使用 / 常用運維命令
常用運維命令
1. LiveKit 服務管理
cd /opt/twt-link-server/livekit
sudo ./server.sh status
sudo ./server.sh restart
sudo ./server.sh stop
sudo ./server.sh start
2. Caddy 狀態和日誌
先透過容器列表確認安裝指令碼建立的 LiveKit Caddy 容器名稱:
sudo docker ps --filter name=livekit
sudo docker logs --tail 200 <livekit-caddy-container>
<livekit-caddy-container> 替換為上一條命令顯示的 Caddy 容器名稱。
3. DNS 和 TLS 檢查
host livekit.example.com
curl -v https://livekit.example.com/
openssl s_client -connect livekit.example.com:443 -servername livekit.example.com
4. 網路監聽檢查
sudo ss -lntup | grep -E ':(80|443|7880|7881|3478|5349)\b'