Techolac - Computer Technology News
  • Home
  • Internet
  • Business
  • Computers
  • Gadgets
  • Lifestyle
  • Phones
  • Travel
  • Tech
  • More
    • Automotive
    • Education
    • Entertainment
    • Health
    • SEO
    • Linux
    • WordPress
    • Home Improvement
    • How to
    • Games
No Result
View All Result
  • Home
  • Internet
  • Business
  • Computers
  • Gadgets
  • Lifestyle
  • Phones
  • Travel
  • Tech
  • More
    • Automotive
    • Education
    • Entertainment
    • Health
    • SEO
    • Linux
    • WordPress
    • Home Improvement
    • How to
    • Games
No Result
View All Result
Techolac - Computer Technology News
No Result
View All Result
Home Linux

How to install and activate Cockpit web console on RHEL 8

by Editorial Staff
November 22, 2018
in Linux
Reading Time: 3 mins read

[ad_1]

How do I install and enable Cockpit that makes GNU/Linux and RHEL 8 for web management purpose? How do I see and manage my RHEL 8 based server in a web browser and perform system tasks with a mouse?

Introduction: The Cockpit is a free and open source web-based server management tool. By default, Cockpit comes preinstalled on an RHEL 8 server. But, it is not activated. A sysadmin must enable it. One can see the server in a web browser and perform system tasks with a GUI/mouse. It is easy to start containers, administer storage or users, configure networks, and inspect log files on RHEL 8. The Cockpit web interface is user-friendly for new to Linux users and seasoned sysadmins too.

 

The Cockpit web interface is user-friendly for new to Linux users and seasoned sysadmins too. Of course, you can use ssh to manage your server or use the web interface at any time. There is even an embedded terminal in Cockpit web GUI.
Embedded terminal shell session in Cockpit web interface on RHEL 8

How to install Cockpit web console on RHEL 8

Cockpit is included in the Red Hat Enterprise Linux Extras repository in versions 7.1 and later. It is installed by default on RHEL 8. Here is how to installed it on RHEL 8 using the yum command
$ sudo yum install cockpit
Install and activate Cockpit web console on RHEL 8
Open the firewall ports:
$ sudo firewall-cmd --add-service=cockpit
$ sudo firewall-cmd --add-service=cockpit --permanent

Sample outputs:

Created symlink /etc/systemd/system/sockets.target.wants/cockpit.socket ? /usr/lib/systemd/system/cockpit.socket.

How to activate Cockpit web console on RHEL 8

Once installed, enable and activate Cockpit web console on RHEL 8, by running the following systemctl command:
$ sudo systemctl enable --now cockpit.socket
By default, Cockpit accepts connections on port TCP port # 9090. Use the ss command to view open port:
$ sudo ss -tulpn | grep :9090
Sample outputs:

tcp    LISTEN   0        128                     *:9090                 *:*      users:(("cockpit-ws",pid=4278,fd=3),("systemd",pid=1,fd=27))

How to use Cockpit web console on RHEL 8

Now that you have Cockpit installed and enabled on RHEL 8, it is time to start using it. All you have to do is fire a web browser and type the following url:
https://ip-address-of-rhel8-server:9090
OR use FQDN:
https://server1.cyberciti.biz:9090
When prompted use your RHEL 8 system user account and password to log into the system:
How to use Cockpit in RHEL 8
Press Login button and voila:

See also  How to install htop on Ubuntu Linux using apt
RHEL 8 Cockpit screenshot
Once logged in you will see the Cockpit Dashboard (click to enlarge)

Let us take a quick tour of rest of the Cockpit web UI that one can use manage RHEL 8 box (click to enlarge image):

Conclusion

The Cockpit software is entirely free to use and available under the GNU LGPL. It is perfect for managing the server based upon RHEL 8. However, for a large number of servers or VMs you better use something like Ansible. For more info see Cockpit project home page here.

[ad_2]

Related Posts

Top Commands to Check the Running Processes in Linux
Linux

Top Commands to Check the Running Processes in Linux

May 27, 2022
4 Tips to Prevent and Troubleshoot the ImagePullBackOff Kubernetes Error
Linux

4 Tips to Prevent and Troubleshoot the ImagePullBackOff Kubernetes Error

March 30, 2022
How Common Signals are Used in Kubernetes Pod Management
Linux

How Common Signals are Used in Kubernetes Pod Management

November 20, 2021

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

30 HBOGO Alternatives To Watch Movies And TV Shows Online

30 HBOGO Alternatives To Watch Movies And TV Shows Online

August 19, 2022
managed service provider

Top 15 Benefits of Using a Managed Service Provider

August 18, 2022
Top 25 Best AnimeFLV Alternatives To Watch Anime Free

Top 25 Best AnimeFLV Alternatives To Watch Anime Free

August 17, 2022
Veepy

Top 15 Best Veepy Alternatives In 2022

August 17, 2022
IT Staff Augmentation: Best Practices, Different Types, and Challenges

IT Staff Augmentation: Best Practices, Different Types, and Challenges

August 17, 2022
  • DashTech
  • TechDaddy
  • Terms and Conditions
  • Disclaimer
  • Write for us

© Techolac © Copyright 2019 - 2022, All Rights Reserved.

No Result
View All Result
  • Home
  • Internet
  • Business
  • Computers
  • Gadgets
  • Lifestyle
  • Phones
  • Travel
  • Tech
  • More
    • Automotive
    • Education
    • Entertainment
    • Health
    • SEO
    • Linux
    • WordPress
    • Home Improvement
    • How to
    • Games

© Techolac © Copyright 2019 - 2022, All Rights Reserved.