Found 1437 Articles for Linux

How to Edit Hosts File in Linux, Windows, or Mac?

Satish Kumar
Updated on 11-Jul-2023 16:37:58

219 Views

Introduction Have you ever wondered how your computer connects to a website? The answer lies in the Domain Name System (DNS), which translates domain names into IP addresses. But did you know that you can actually edit this process by modifying your computer's hosts file? The hosts file is a simple text file that maps IP addresses to domain names, allowing you to bypass DNS and specify exactly where your computer should look for a website. Editing Hosts File in Linux Where is the hosts file located in Linux and how to access it? The hosts file in ... Read More

How to Drop a Git Stash?

Satish Kumar
Updated on 11-Jul-2023 16:30:06

3K+ Views

Introduction Have you ever found yourself in a situation where you have made progress on a specific branch and need to switch over to another branch immediately? If the answer is yes, this is where Git Stash comes into play. Git Stash is a powerful feature that allows developers to temporarily store changes that they have made, without needing to commit them. It's perfect for situations where developers need to change branches or work on other tasks, but don't want to lose their progress. Importantly, it enables users to return later and pick up right where they left off. Definition ... Read More

How to Download and Install RHEL 9 for Free?

Satish Kumar
Updated on 11-Jul-2023 16:27:28

3K+ Views

Introduction Red Hat Enterprise Linux (RHEL) is a popular distribution of the Linux operating system designed for enterprise use. It is widely used in data centers, cloud computing environments, and mission-critical applications due to its robustness, reliability, and scalability. RHEL 9, the latest version released in May 2021, includes several new features and enhancements that make it an attractive option for businesses seeking a secure and stable operating system. Some of the key features of RHEL 9 include improved container capabilities with Podman and Buildah, enhanced security with OpenSCAP integration, better performance with XFS file system improvements, simplified application ... Read More

How to Downgrade RHELCentOS to Previous Minor Release?

Satish Kumar
Updated on 11-Jul-2023 16:19:48

113 Views

Introduction In the world of enterprise-level Linux operating systems, Red Hat Enterprise Linux (RHEL) and its derivative, CentOS, are two of the most widely used distributions. They offer a stable and robust platform that is trusted by many organizations worldwide. However, sometimes it may become necessary to downgrade to a previous minor release due to compatibility issues or other reasons. In this article, we will show you how to downgrade RHELCentOS to a previous minor release safely. Preparing for Downgrade Backing up data and configurations Before beginning the process of downgrading your RHEL/CentOS system, it is essential to ... Read More

How to Do Security Auditing of Linux System Using Lynis Tool?

Satish Kumar
Updated on 11-Jul-2023 16:18:46

128 Views

Introduction In today's world, where cyber threats and attacks have become more sophisticated and frequent, it is imperative to secure computer systems against malicious activities. A security audit is a systematic evaluation of the security of a computer system or network, which involves identifying potential vulnerabilities and addressing them before they are exploited by attackers. In this article, we will discuss how to perform a security audit on a Linux system using the Lynis tool. Definition of Security Auditing Security auditing refers to the process of evaluating the security posture of a computer system or network by examining its configuration ... Read More

How to do Canary Deployments on Kubernetes?

Satish Kumar
Updated on 11-Jul-2023 16:15:51

99 Views

Introduction Deploying applications to production without proper testing or validation can lead to disastrous consequences. In today's fast-paced software development environment, it is imperative to have a reliable and efficient way of releasing new features and updates, while minimizing the risk of downtime or failure. This is where Canary Deployments come into play. Canary Deployment is a technique used in software deployment for rolling out new versions of an application in small increments, rather than deploying the whole update at once. The term "canary" refers to using a small group of users as test subjects for new releases before rolling ... Read More

How to Disconnect Inactive or Idle SSH Connections in Linux?

Satish Kumar
Updated on 11-Jul-2023 16:14:56

11K+ Views

Introduction Secure Shell or SSH is a protocol that enables secure communication between two systems. In Linux, SSH is widely used to remotely access and manage servers. The tool establishes a secure connection between the client and server, encrypting the information being transmitted so that it can’t be intercepted by unauthorized entities. In Linux, SSH connections are created when a user logs in to a remote machine via the command-line interface. The user can execute commands on the remote host as if they were physically present on that machine. This way, system administrators and network engineers can manage multiple machines ... Read More

How to Disable Suspend and Hibernation Modes In Linux?

Satish Kumar
Updated on 11-Jul-2023 16:14:08

7K+ Views

Introduction Linux is a popular operating system used by millions of people around the world. It offers a wide range of features and tools that are highly customizable, making it an excellent choice for power users who want to optimize their system performance. One of the most commonly used features in Linux is suspend and hibernation modes. Suspend mode is a power-saving feature that allows you to put your computer into a low-power state without shutting it down completely. In this mode, your computer will continue to consume some power, but at a much lower rate than when it ... Read More

How to Disable SSH Root Login in Linux?

Satish Kumar
Updated on 11-Jul-2023 16:13:20

434 Views

Introduction In Linux systems, SSH (Secure Shell) is a common protocol used to connect and manage remote servers. It allows users to securely access and control their servers from anywhere in the world. The use of SSH is critical for system administrators and developers as it enables them to perform various tasks such as editing configuration files, transferring files, and managing services remotely. However, allowing root login via SSH creates significant security risks that can lead to unauthorized access and malicious attacks on your system. By disabling this feature, you can significantly reduce the chances of your Linux server ... Read More

How to Disable SELinux on CentOS 8?

Satish Kumar
Updated on 11-Jul-2023 16:12:23

404 Views

Introduction SELinux, or Security-Enhanced Linux, is a security mechanism that is built into most modern Linux distributions, including CentOS 8. SELinux works by providing a set of mandatory access control policies that restrict access to various system resources and files. The purpose of this feature is to enhance the overall security of the system by limiting the scope of potential attacks. While SELinux is an effective tool for protecting your system, some users may want to disable it for various reasons. For instance, some applications may not work well with SELinux enabled, or it might be challenging to ... Read More

Advertisements