课程: Building an Ubuntu Server

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Monitoring the server with Cockpit

Monitoring the server with Cockpit - Linux教程

课程: Building an Ubuntu Server

Monitoring the server with Cockpit

- [Instructor] Cockpit is a web-based dashboard that provides a high-level view of a Linux system status and which allows some basic system management tasks to be performed with visual tools rather than the command line interface. On Ubuntu, we can install it with apt install cockpit. And then to allow other systems to be able to view the dashboard, we need to open up port 9090 on the firewall. To do that, I'll write ufw allow 9090. Then in a web browser, we can visit the server's address on port 9090. Out of the box, Cockpit uses a self-signed certificate, which means we need to jump through the warning hoops here on Firefox. In a production environment or if you have the interest in doing so, you can generate legitimate certificates for Cockpit, but we won't do that here. In Firefox, I'll click Advanced. I'll scroll down, and then I'll choose Accept the Risk and Continue. Once I'm at the login screen, I'll log in…

内容