1.添加backports存储库
echo 'deb http://deb.debian.org/debian stretch-backports main' | sudo tee /etc/apt/sources.list.d/backports.list
2.更新apt资源
sudo apt-get update
3.安装Cockpit
sudo apt-get install cockpit
4.启动cockpit服务
sudo systemctl start cockpit
5.在浏览器打开 主机ip地址:9090