Difference between revisions of "CentOS 8.x cockpit install and enable"
From Notes_Wiki
(Created page with "<yambe:breadcrumb self="cockpit install and enable">CentOS 8.x cockpit|cockpit</yambe:breadcrumb> =CentOS 8.x cockpit install and enable= We can install and enable cockpit on...") |
m |
||
Line 1: | Line 1: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 8.x]] > [[CentOS 8.x System Administration|System Administration]] > [[CentOS 8.x cockpit|cockpit]] > [[CentOS 8.x cockpit install and enable|Install and enable]] | |||
We can install and enable cockpit on CentOS 8.x using: | We can install and enable cockpit on CentOS 8.x using: | ||
Line 36: | Line 35: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 8.x]] > [[CentOS 8.x System Administration|System Administration]] > [[CentOS 8.x cockpit|cockpit]] > [[CentOS 8.x cockpit install and enable|Install and enable]] |
Latest revision as of 03:33, 19 April 2022
Home > CentOS > CentOS 8.x > System Administration > cockpit > Install and enable
We can install and enable cockpit on CentOS 8.x using:
- Install cockpit packages:
- dnf -y install cockpit
- Enable cockpit socket in systemctl
- systemctl enable cockpit.socket
- systemctl start cockpit.socket
- Allow cockpit port (TCP/9090) in firewall
- firewall-cmd --add-service=cockpit --permanent
- firewall-cmd --reload
- Now it should be possible to connect on https://<ip-or-fqdn>:9090/ and login as root user to use cockpit
Note:
- There is also cockpit.service apart from cockpit.socket. The above steps are for starting and enabling cockpit.socket
- There is option to collect metrics and store them for historical graphs (CPU, Disk, Memory, etc.). This requires installing cockpit-pcp package
- yum -y install cockpit-pcp
- After this enable "Store metrics" option from cockpit web UI
Refer:
Home > CentOS > CentOS 8.x > System Administration > cockpit > Install and enable