lost and found ( for me ? )

Fedora 21 : install cockpit on single machine

about cockpit
cockpit is a server management, you can manage servers via web browser.

install cockpit via yum
# yum install cockpit

start cockpit
[root@localhost ~]#
[root@localhost ~]# systemctl enable cockpit.socket
[root@localhost ~]# systemctl start cockpit.socket

[root@localhost ~]# systemctl | grep cockpit
 cockpit.socket                                                                            loaded active listening Cockpit Web Server Socket

[root@localhost ~]# systemctl status cockpit.socket
* cockpit.socket - Cockpit Web Server Socket
  Loaded: loaded (/usr/lib/systemd/system/cockpit.socket; enabled)
  Active: active (listening) since Sun 2014-12-21 02:22:20 JST; 24min ago
    Docs: man:cockpit-ws(8)
  Listen: [::]:9090 (Stream)

[root@localhost ~]# ls /etc/systemd/system/sockets.target.wants/cockpit.socket
/etc/systemd/system/sockets.target.wants/cockpit.socket


configure firewall
[root@localhost ~]# firewall-cmd --add-service=cockpit

[root@localhost ~]#
[root@localhost ~]# firewall-cmd --list-all
FedoraServer (default, active)
 interfaces: eth0
 sources:
 services: cockpit dhcpv6-client ssh
 ports:
 masquerade: no
 forward-ports:
 icmp-blocks:
 rich rules:

access to https:// < IP> :9090

login to cockpit with Linux  user accounts registered in your machine.

looks good.

You can manage multiple servers with cockpit.




No comments:

Post a Comment

Note: Only a member of this blog may post a comment.