1- Install cockpit

sudo apt install cockpit

2- Enable cockpit:

sudo systemctl start cockpit

3- To show the status:

sudo systemctl status cockpit

4-Open 9090 port in firewall:

first install ufw ( uncomplicated firewall)

sudo apt install ufw

5-Allow Cockpit Port:

sudo ufw allow 9090/tcp

6-Enable Firewall

sudo ufw enable

7-Show firewall status:

sudo ufw status

8-To get server-ip just type :

hostname -I

9-Access Cockpit:

to access Cockpit , open a web browser on another computer on the same network and browse:

http://<server-ip>:9090

security warning may occur , click advanced and proceed,  here it is!

 

 

 

Using Cockpit on Ubuntu Server

Leave a Reply