CentOS / RHEL 7: Install GCC (C and C++ Compiler) and Development Tools

To install GCC (GNU Compiler Collection) and development tools on CentOS/Red Hat Enterprise Linux (RHEL) 7, follow these steps: Install the Development Tools package group: sudo yum groupinstall “Development Tools” This will install GCC, as well as other commonly used development tools such as make, automake, and others. Verify the installation by checking the version … Read more

How to install and enable EPEL repository on a CentOS/RHEL 7

The Extra Packages for Enterprise Linux (EPEL) repository provides additional software packages for CentOS and Red Hat Enterprise Linux (RHEL) systems. To install and enable the EPEL repository on CentOS/RHEL 7, follow these steps: Download the EPEL repository RPM: wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm Install the RPM: sudo yum install epel-release-latest-7.noarch.rpm Verify that the EPEL repository is enabled: … Read more

CentOS / RHEL 7 Restart / Stop / Start Networking Command

On CentOS/RHEL 7, you can manage the networking service using the systemctl command. Here are some common commands to start, stop, and restart networking: Start networking: sudo systemctl start network Stop networking: sudo systemctl stop network Restart networking: sudo systemctl restart network Check the status of the networking service: sudo systemctl status network These commands … Read more

How to install dig on Debian Linux 11/10

You can install dig on Debian Linux 11/10 using the package manager apt. Here’s the process: Update the package lists: sudo apt update Install dig: sudo apt install dnsutils The dnsutils package contains a collection of DNS utilities, including dig. After the installation, you can use the dig command to query DNS servers and retrieve … Read more