IT19115962 Lab-5 Cockpit
IT19115962 Lab-5 Cockpit
COCKPIT Lab
Submitted to
Sri Lanka Institute of Information Technology
2021-06-30
Declaration
I certify that this report does not incorporate without acknowledgement, any material
previously submitted for a degree or diploma in any university, and to the best of my knowledge
and belief it does not contain any material previously published or written by another person,
except where due reference is made in text.
2
1. Install the cockpit software on the server with the following command on the centos. #
sudo yum install cockpit
3
4
2. After the installation is complete, use the following two commands to start and enable
the Cockpit service.
5
3. Finally, double-check that the firewall is turned on. We shouldn't have any trouble
getting to Cockpit right out of the box, but if we do, we can open up the firewall with
the following commands:
# sudo firewall-cmd --add-service=cockpit
# sudo firewall-cmd --add-service=cockpit –permanent
# sudo firewall-cmd –reload
6
4. Give the command
7
5. Getting into the Cockpit At this point, we can navigate to https://SERVER IP:9090
and log into Cockpit using the root user and the root password we generated. We can
start utilizing Cockpit after we've been verified.
8
9
Cockpit is an interactive server management user interface that delivers a live Linux session
via a web browser. It's an easy-to-use, lightweight, and simple yet powerful remote manager
for GNU/Linux servers.
It works with a variety of Linux distributions, including Debian, Ubuntu, Fedora, CentOS,
RHEL, and Arch Linux.
Cockpit makes Linux discoverable, allowing system administrators to do operations such as
launching containers, managing storage, network setups, and log inspections, among others,
with ease and reliability.
Cockpit features
10