当前位置: 首页 > Linux

Linux管理工具Cockpit安装与使用

时间:2023-04-06 01:53:42 Linux

Cockpit安装#RHEL8系统已经默认安装cockpityumlist|grepcockpit#查看是否设置cockpit启动systemctllist-unit-files|grepcockpit#设置cockpit启动systemctlenable--nowcockpit.socket#查看cockpit运行状态systemctlstatuscockpit.service#启动服务systemctlstartcockpit.service#查看cockpit运行状态systemctlstatuscockpit.service#查看cockpit9090端口是否监听netstat-nltp|grep9090#添加系统防火墙Releaseservicefirewall-cmd--add-service=cockpit--permanent#重启防火墙firewall-cmd--reload访问:https://IP:9090,需要更高版本的浏览器才能正常使用。本地账号的用户名和密码都可以登录,Cockpit常用的操作是关闭防火墙。配置网络。配置网络需要通过localhost访问,否则不生效。点击Network-ens160-IPv4:Address:Manual192.168.1.3255.255.255.0192.168.1.2关闭SELinux。