This article explains how to open HTTP port 80 and HTTPS port 443 on RHEL 8 / CentOS 8 system with the firewalld firewall. HTTP and HTTPS protocols are primarily used by web services such as, but not limited to, Apache or Nginx web serves.

For more information about the firewalld firewall visit our introduction guide to firewalld syntax and usage guide.

In this tutorial you will learn:
  • How to open HTTP port 80 and HTTPS port 443.
  • How to open HTTP port 80 and HTTPS port 443 permanently.
  • How to list currently open ports/services.
  • How to close/remove HTTP port 80 and HTTPS port 443.

In this tutorial we will learn how to install Apache Tomcat 8 application container to RHEL 8 / CentOS 8. We will be using the zip package available to download from the Apache Tomcat website. As this package will not handle setting up the environment, we will create it from the command line.

In this tutorial you will learn:
  • How to install Apache Tomcat from zip file
  • How to create the environment for the Tomcat server from command line
  • How to add basic service file to systemd
  • How to enable autostart, start and stop the Tomcat server
  • How to verify Tomcat is reachable

Firewalld is a powerful and yet simple to use tool to manage a firewall on RHEL 8 / CentOS 8 Server or GNOME workstation. Firewalld allows to manage open or close ports using predefined services as well as open and close user custom ports.

In this tutorial you will learn:
  • How to open and close ports on RHEL 8 / CentOS 8 with Firewalld.
  • How to open and close services on RHEL 8 / CentOS 8.
  • How to reload firewall configuration.
  • How to list open ports or services.

The firewall on RHEL 8 / CentOS 8 Linux system is enabled by default allowing for only few services to receive incoming traffic. FirewallD is the default daemon responsible for firewall security feature onRHEL 8 / CentOS 8 Server.
NOTE
The nftables framework replaces iptables as a default network packet filtering feature on RHEL 8.
The following is a list of default firewall opened ports and configured settings on RHEL 8 / CentOS 8 Linux system using the firewalld dynamic firewall daemon:
# firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: enp0s3
  sources: 
  services: cockpit dhcpv6-client ssh
  ports: 
  protocols: 
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 
In this tutorial you will learn:
  • How to check the firewall status onRHEL 8 / CentOS 8.
  • How to stop firewall on RHEL 8 / CentOS 8.
  • How to start firewall on RHEL 8 / CentOS 8.
  • How to permanently disable firewall on RHEL 8 / CentOS 8.
  • How to enable firewall to start after reboot.

There are several ways on how to check what version of CentOS is running on your system. The simplest way to check for the CentOS version number is to execute the cat /etc/centos-release command. Identifying the accurate CentOS version may be required to help you or your support team to troubleshoot your CentOS system.

The CentOS version consists of three release versions as illustrated below:

This guide will show how to install and configure a DNS Server in RHEL 8 / CentOS 8 in caching mode only or as single DNS Server, no master-slave configuration. A reverse and forward zone example is provided.

In this tutorial you will learn:
  • How to install a DNS server in RHEL 8 / CentOS 8
  • How to configure a server as caching only DNS Server
  • How to configure a server as single DNS Server

Minecraft is still a popular game these days. The simplicity of its graphics had an appeal on gamers of all ages and there are many hundreds of thousands of players worldwide, most of them playing on online servers. But did you know you can create your own Minecraft server using RedHat Enterprise Linux 8? Here is a how to teaching you exactly how to do it.

In this tutorial you will learn:
  • How to install Java
  • How to download and run a Minecraft server
  • How to create a user for the Minecraft server
  • How to open the Minecraft port

Most IPs these days are automatically assigned through DHCP by either your ISP or your home router. But there may come a time when you wish to opt for a static IP address and you will want to change it. It may be that you are configuring a home LAN and you don't want to use DHCP or simply want a static IP address that you can access from outside your home. In this tutorial we will learn how we can change the IP address in RHEL 8 / CentOS 8 Linus system.

In this tutorial you will learn:
  • How to change the IP address in RHEL 8 / CentOS 8 using GNOME
  • How to change the IP address by editing configuration files
  • How to manually change your DNS server
  • How to restart networking in RHEL 8 / CentOS 8

Virtualization and emulation software is big these days. With cheaper RAM memory comes the possibility to ditch dual-booting and install several operating systems in QEMU or VMWare and use them alternatively whenever you feel like it. Since Red Hat Enterprise Linux 8.0 is fresh you might want to test it in VMWare before installing it on its own partition. So here is a guide to do just that.

In this tutorial you will learn:
  • How to configure a virtual machine in VMWare Workstation 15
  • How to prepare the partition for Red Hat Linux 8.0
  • How to install Red Hat Enterprise Linux 8.0 in VMWare Workstation 15

Node.js is a Javascript runtime environment based on the V8 open source engine made by Google and originally used in Chrome. Thanks to Node.js we can run Javascript outside of the browser context, and use it also like a server-side scripting language, thus creating an entire web application around it. In this tutorial we will see how to install Node.js in the RHEL 8 / CentOS 8 distribution.

In this tutorial you will learn:
  • How to list the available Node.js versions on RHEL 8 / CentOS 8
  • How to install a specific version of Node.js
  • How to switch between Node.js versions on RHEL 8 / CentOS 8
node-logo
The Node.js - RHEL 8

Xdebug is great for debugging your PHP code in real time. There are a few ways to install it on RHEL 8 / CentOS 8, but the simplest and most straightforward one utilizes packages found right in RHEL's repos.

In this tutorial you will learn:
  • How to Install the Dependencies
  • How to Install Xdebug with PECL
  • How to Configure PHP to Use Xdebug
  • How to Make Sure Xdebug is Loaded

IT admins rely on Puppet to manage complex deployments every day. If your network is built on Red Hat systems, you're going to need to install Puppet on RHEL 8 / CentOS 8. Puppet Labs provides a repository and packages, so the whole thing should be relatively hassle free.

In this tutorial you will learn:
  • How to Enable the Puppet Repo
  • How to Install Puppet for Servers/Puppet Masters
  • How to Update Servers/Puppet Masters
  • How to Install Puppet for Clients
  • How to Update Puppet Clients

There are plenty of reasons why you'd need to set up virtual network interfaces on a RHEL 8 / CentOS 8 server or workstation. The process has changed a bit since RHEL 7, but it's still fairly straightforward.

In this tutorial you will learn:
  • How to Locate Your Network Interfaces
  • How to Edit Your Main Network Configuration
  • How to Duplicate Your Network Configuration
  • How to Create The Virtual Interface Confg

FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in: