How To Debian/Ubuntu Linux Auto Mount Windows NTFS File System [ntfs-3g]

To automatically mount a Windows NTFS file system on Debian/Ubuntu Linux, follow these steps: Install the ntfs-3g package, which provides NTFS support for Linux: sudo apt-get update sudo apt-get install ntfs-3g Create a mount point for the NTFS file system, for example: sudo mkdir /mnt/ntfs Identify the device name for the NTFS file system, for … Read more

RHEL / CentOS Linux 7 Enable Ping Access In Docker Container

To enable ping access in a Docker container on RHEL/CentOS Linux 7, you can use the following steps: Start a new Docker container: docker run -it –name <container_name> <image_name> /bin/bash Install the iputils package inside the Docker container: yum install iputils -y Modify the firewall rules to allow ICMP (ping) traffic: firewall-cmd –permanent –zone=public –add-rich-rule=’rule … Read more

HowTo Block Internet Explorer Browser With Squid Proxy Server on a Linux/Unix Server

To block Internet Explorer browser access with Squid proxy server on a Linux/Unix server, follow these steps: Install Squid proxy server if it’s not already installed on your server. Open the Squid configuration file, usually located at “/etc/squid/squid.conf” using a text editor. Add the following lines to the end of the file: acl blocked_browser browser … Read more

CentOS/RHEL Use yum Command To Downgrade or Rollback Updates

To downgrade or rollback updates on CentOS/RHEL, you can use the following steps: Install the yum-plugin-versionlock package to enable yum to lock packages at a specific version: yum install yum-plugin-versionlock Lock the current version of a package by using the following command: yum versionlock [package_name] To downgrade a package, use the yum downgrade command along … Read more

RHEL / Centos Linux 7: Change and Set Hostname Command

To change the hostname of a CentOS/RHEL 7 system, you can use the following commands: # hostnamectl set-hostname newhostname Replace “newhostname” with the desired hostname for your system. In addition to changing the hostname, you may also need to edit the /etc/sysconfig/network file to set the hostname permanently: # nano /etc/sysconfig/network Update the line that … Read more

Linux / Unix: OpenSSH Multiplexer To Speed Up OpenSSH Connections

The OpenSSH Multiplexer is a feature of the OpenSSH client that allows multiple SSH connections to be multiplexed over a single network connection. This can reduce the overhead of creating and maintaining multiple connections, leading to faster and more efficient connections. To enable the OpenSSH Multiplexer, you need to edit the OpenSSH client configuration file, … Read more

How To Patch and Protect Linux Server Against the VENOM Vulnerability # CVE-2015-3456

The VENOM vulnerability (CVE-2015-3456) is a security vulnerability that affects some Linux and Unix virtualization systems, including QEMU and KVM. To protect your Linux server against this vulnerability, you need to patch your system and apply the necessary security updates. Here are the steps to patch and protect your Linux server against the VENOM vulnerability: … Read more

What does the sleep command do in Linux?

The sleep command in Linux is used to pause the execution of a script or process for a specified amount of time. It is often used in shell scripts or other automation tasks. The syntax of the sleep command is: sleep NUMBER[SUFFIX]… Where NUMBER is the number of seconds to pause the execution, and SUFFIX … Read more