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

Set Up SSH Tunneling on a Linux / Unix / BSD Server To Bypass NAT

Here’s how you can set up SSH tunneling on a Linux/Unix/BSD server to bypass NAT (Network Address Translation): Connect to the remote server with ssh: ssh [user]@[remote_server_IP] -L [local_port]:[remote_server_IP]:[remote_port] For example, if you want to connect to a remote MySQL server running on remote_server_IP on port 3306, you would use the following command: ssh [user]@[remote_server_IP] … Read more