sky-ai

centos7,8安装cockpit 并修改端口

yum install cockpit* -y
systemctl start cockpit.service
systemctl enable cockpit.service
修改默认端口9090 >>>8090
vim /usr/lib/systemd/system/cockpit.socket

然后重启
sudo systemctl daemon-reload
sudo systemctl restart cockpit.socket
systemctl restart cockpit.service
ok!!!

web访问(安装cockpit会自动生成ssl证书,所有可以直接使用https,安全)
https://ip:8090

修改端口:

发表于 2020-03-29 10:31  skyone1  阅读(2472)  评论(0编辑  收藏  举报
 

分类:

技术点:

相关文章: