安装Cockpit

下载cockpit

yum -y install cockpit

下载相关环境

yum install qemu-kvm libvirt libvirt-daemon virt-install virt-manager libvirt-dbus

启动libvirtd

systemctl start libvirtd.service

systemctl enable libvirtd.service

设置开机自启动

systemctl enable --now cockpit.socket

查看服务和端口

可以看到服务已经启动,并且9090端口启动

[root@nginxlave251 ~]$ netstat -ntpl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      821/nginx: master p 
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1/systemd           
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      773/sshd: /usr/sbin 
tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN      5966/dnsmasq        
tcp6       0      0 :::80                   :::*                    LISTEN      821/nginx: master p 
tcp6       0      0 :::111                  :::*                    LISTEN      1/systemd           
tcp6       0      0 :::22                   :::*                    LISTEN      773/sshd: /usr/sbin 
tcp6       0      0 :::9090                 :::*                    LISTEN      1/systemd   

登录cockpit

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值