Tuesday, May 23, 2023

Cockpit – Powerful Tool to Monitor and Administer Linux Server

Cockpit – Powerful Tool to Monitor and Administer Linux Server 



check cockpit package status 


[root@i10.1.1.1]#

[root@i10.1.1.1]# rpm -qa | grep -i cockpit

[root@i10.1.1.1]#

[root@i10.1.1.1]#



Install cockpit package 


[root@i10.1.1.1]# yum install cockpit

Updating Subscription Management repositories.

Unable to read consumer identity


This system is not registered with an entitlement server. You can use subscription-manager to register.


Last metadata expiration check: 0:01:14 ago on Tue 23 May 2023 10:55:23 PM IST.

Dependencies resolved.

==============================================================================================================================

 Package                               Architecture    Version                      Repository                           Size

==============================================================================================================================

Installing:

 cockpit          



check cockpit service status 


[root@i10.1.1.1]#

[root@i10.1.1.1]#

[root@i10.1.1.1]# systemctl status cockpit

● cockpit.service - Cockpit Web Service

   Loaded: loaded (/usr/lib/systemd/system/cockpit.service; static; vendor preset: disabled)

   Active: inactive (dead)

     Docs: man:cockpit-ws(8)

[root@i10.1.1.1]#

[root@i10.1.1.1]#

[root@i10.1.1.1]# systemctl start  cockpit

[root@i10.1.1.1]#

[root@i10.1.1.1]#

[root@i10.1.1.1]# systemctl status cockpit

● cockpit.service - Cockpit Web Service

   Loaded: loaded (/usr/lib/systemd/system/cockpit.service; static; vendor preset: disabled)

   Active: active (running) since Tue 2023-05-23 22:57:42 IST; 6s ago

     Docs: man:cockpit-ws(8)

  Process: 7009 ExecStartPre=/usr/libexec/cockpit-certificate-ensure --for-cockpit-tls (code=exited, status=0/SUCCESS)

 Main PID: 7034 (cockpit-tls)

    Tasks: 1 (limit: 48777)

   Memory: 1.4M

   CGroup: /system.slice/cockpit.service

           └─7034 /usr/libexec/cockpit-tls


May 23 22:57:41 ip-172-31-19-40.ec2.internal systemd[1]: Starting Cockpit Web Service...

May 23 22:57:42 ip-172-31-19-40.ec2.internal systemd[1]: Started Cockpit Web Service.

[root@i10.1.1.1]#

[root@i10.1.1.1]#

[root@i10.1.1.1]#




Cockpit URL : https://10.1.1.1:9090/users







No comments:

Post a Comment