Cockpit is a web-based server management tool available for CentOS and RHEL systems. In the recently released CentOS 8 and RHEL 8, cockpit is the default server management tool. Its packages are available in the default CentOS 8 and RHEL 8 repositories. Cockpit is a useful web-based GUI tool that allows system administrators to monitor and manage Linux servers. It can also be used to manage network and storage in servers, containers, virtual machines, and check system and application logs. In this article, we will demonstrate how to install and setup Cockpit in CentOS 8 and RHEL 8. Install and Setup Cockpit on CentOS 8 / RHEL 8 Log in to your CentOS 8 / RHEL 8, open the terminal and execute the following dnf command: [root@linuxtechi ~]# dnf install cockpit -y Run the following command to enable and start the cockpit service: [root@linuxtechi ~]# systemctl start cockpit.socket [root@linuxtechi ~]# systemctl enable cockpit.socket Allow the Cockpit port in the system firewall using the following command: [root@linuxtechi ~]# firewall-cmd --permanent --add-service=cockpit [root@linuxtechi ~]# firewall-cmd --reload To verify that the cockpit service is up and running, execute the following command: [root@linuxtechi ~]# systemctl status cockpit.socket [root@linuxtechi ~]# ss -tunlp | grep cockpit [root@linuxtechi ~]# ps auxf|grep cockpit cockpit-status-centos8-rhel8 cockpit-status-centos8-rhel8 Access Cockpit on CentOS 8 / RHEL 8 As we can see in the output of the above command, cockpit is listening on tcp port 9090, open your web browser and type the url: https://<Your-CentOS8/RHEL8-System-IP>:9090. Cockpit login page in RHEL 8: Use a username with administrator privileges or we can also log in using the root user's password. If you want to assign administrator privileges to any local user, execute the following command: Here pkumar is my local user, After entering the user password, select "Reuse my password for privileged tasks" and click "Log In", and then we see the following page: On the left sidebar, we can see what can be monitored and configured through the cockpit GUI, Assuming you want to check if there are any updates available in CentOS 8/RHEL 8, click on System Updates: To install all updates, click Install All Updates: If you want to modify the network and add a Bond interface and a bridge, click Networking: As you can see above, we have the option to create a Bond interface, a Bridge, and a VLAN Tag interface. Assuming we want to create a br0 bridge and add the enp0s3 port to it, click Add Bridge: Specify the bridge name as br0 and the port as enp0s3, then click Apply. On the next page we can see that the bridge is active and has been given the same IP as the enp0s3 interface: If you want to check the system logs, click on “Logs” and we can view the logs according to severity: Summarize The above is the method I introduced to you to install and use Cockpit on CentOS 8/RHEL 8. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Code analysis of synchronous and asynchronous setState issues in React
>>: Solve the pitfall of storing boolean type values in localstorage
1. Text around the image If we use the normal one...
When I was in the securities company, because the ...
Now if you want to use the video tag in a page, y...
1. Log in to MySQL database mysql -u root -p View...
Windows Server 2012 and Windows Server 2008 diffe...
Achieve resultsImplementation Code html <base ...
1. Add the following code to http{} in nginx.conf...
1. What is CSS Animations is a proposed module fo...
Table of contents 1. Computed properties Syntax: ...
1. Cause The official cerbot is too annoying. It ...
Linux has been loved by more and more users. Why ...
This article example shares the specific code of ...
View the installation information of mysql: #ps -...
useState useState adds some internal state to a c...
In the horizontal direction, you can set the alig...