You are on page 1of 12

Assignment 3

System and Network Administration

D. N. A. Jayamaha
MS21900754
IT5060
22 February 2021

Assignment 3 1

Cockpit

As mentioned in [1], Cockpit is an easy-to-use, lightweight and simple yet powerful


remote manager for GNU/Linux servers, it’s an interactive server administration user
interface that offers a live Linux session via a web browser.
It can run on several Linux distributions including Debian, Ubuntu, Fedora, CentOS,
RHEL, Arch Linux among others.
Cockpit makes Linux discoverable thereby enabling system administrators to easily
and reliably carry out tasks such as starting containers, managing storage, network
configurations, log inspections coupled with several others.

According to [2], Cockpit allows you to manage Linux devices on your network
remotely. You can add or remove users, connect Network File System (NFS) shares, and
start and stop services. One of my favorite simple Cockpit tasks is doing updates. I no
longer have to walk around the office or house to collect each device to log in, update,
reboot, and wait. Enterprise administrators don't need to badge into a data center; instead,
they can manage devices from the comfort of their office.

Assignment 3 2

Installing Cockpit

You need root privileges to install Cockpit.


You can install Cockpit by entering the “dnf -y intall cockpit” command.

Assignment 3 3

Enter “y” to install the packages.

Assignment 3 4

You can start Cockpit by entering the “systemctl start cockpit” command

Assignment 3 5

.

Then you need to enable Cockpi

Command : systemctl enable cockpi

You can check the status of Cockpit by giving the command “systemctl status
cockpit” as shown on the picture

Assignment 3 6
t

After con rming that the cockpit is running you can access it’s dashboard by
opening the internet browser. Ender 127.0.0.1:9090 to access localhost on port
number 9090

Enter your username and password of your fedora user account to login.

Assignment 3 7
fi
.

Then the Cockpit Dashboard is shown as in the given picture.

You can nd the System Settings as shown.

You can see the Services

Assignment 3 8
fi
.

You can see the Logs

You can see the Storage

Assignment 3 9
.

In the Dashboard Tab you can nd the CPU, Memory, Network and Disk I/O
usages.

You can nd Network Details

Assignment 3 10
fi
.

fi
You can nd the terminal and execute commands

Also you can nd Applications, Software Updates in Tools and Account Details

Assignment 3 11
fi
fi
.

Reference

[1] “Cockpit – A Powerful Tool to Monitor and Administer Multiple Linux Servers
Using a Web Browser” [Online]. Available: https://www.tecmint.com/cockpit-
monitor-multiple-linux-servers-via-web-browser

[2] “Cockpit Server Management” [Online]. Available: https://opensource.com/


article/20/11/cockpit-server-managemen

Assignment 3 12

You might also like