Found 1436 Articles for Linux

How to Enable PM2 to Auto Start Node.js App at System Boot?

Satish Kumar
Updated on 08-Jun-2023 17:30:26

2K+ Views

Introduction PM2 is a process manager for Node.js applications. It is capable of automatically restarting an application when it crashes, managing multiple applications at once, and providing detailed logs and error information. This tool has been widely adopted by Node.js developers due to its ease of use and powerful features. One of the most significant benefits of using PM2 is that it simplifies the management of Node.js applications by automating common tasks such as starting, stopping, and restarting processes. PM2 also provides monitoring capabilities that allow developers to track application performance metrics in real-time. The Importance of Auto ... Read More

How to Enable or Disable SELinux Boolean Values?

Satish Kumar
Updated on 08-Jun-2023 17:27:37

942 Views

Introduction SELinux (Security-Enhanced Linux) is a security module that provides mandatory access control (MAC) to Linux-based systems. The SELinux module works by ensuring that each process and user on the system only has access to the resources they need. It does this by defining security contexts for processes, files, and other system resources. One of the key features of SELinux is its use of boolean values. These are binary options that can be set to either "on" or "off". Explanation of SELinux Boolean Values SELinux boolean values are binary options that determine whether a specific policy is enforced ... Read More

How to Enable NUX Dextop Repository on RHEL/CentOS 8

Satish Kumar
Updated on 08-Jun-2023 17:25:56

367 Views

Introduction NUX Dextop is a third-party repository that provides a wide range of multimedia and desktop packages for Red Hat Enterprise Linux (RHEL) and CentOS. It is an essential repository for users who need to install various multimedia applications, such as media players, codecs, and video editors. NUX Dextop also offers packages for desktop environments like GNOME, KDE, and Xfce. The importance of NUX Dextop lies in the fact that RHEL/CentOS does not provide multimedia software support out of the box due to licensing restrictions. Therefore, users who require these packages need to rely on third-party repositories like NUX ... Read More

How to Enable NGINX Status Page?

Satish Kumar
Updated on 08-Jun-2023 17:23:42

665 Views

Introduction Web servers are at the heart of the internet, and as technology grows faster and more complex, modern web servers need to be able to handle a multitude of requests. One of the most popular open-source web servers is NGINX, a high-performance software that offers scalability, security, and reliability. NGINX is widely used because it's easy to use, deploy, and configure for different purposes. In this article we will discuss what NGINX status page is all about; why it's important; how you can enable it; customize it; monitor server performance using data generated from status page after enabling. ... Read More

How to Delete Old Unused Kernels in CentOS, RHEL and Fedora?

Satish Kumar
Updated on 07-Jun-2023 16:25:05

3K+ Views

Introduction When you install a new kernel, the old ones are not automatically removed. After a few updates, your system could end up with a lot of unused kernels taking up valuable disk space. This can cause your system to slow down, and even worse, it can prevent important system services from starting properly. In the worst-case scenario, your system may not even be able to boot at all. Deleting old unused kernels frees up disk space and ensures that your system runs smoothly. It also reduces the risk of security vulnerabilities that may exist in older versions ... Read More

How to Delete Line in Vim on Linux?

Satish Kumar
Updated on 07-Jun-2023 16:23:34

16K+ Views

Vim (Vi IMproved) is one of the most popular text editors used in the Linux environment. It is a command-line based editor that was initially developed as a free and open-source alternative to the widely-used Vi editor. However, Vim has evolved to be much more than just an alternative. It has become an indispensable tool for programmers, system administrators, and power users who work with text files regularly. One of the primary reasons why Vim is so important for Linux users is its efficiency and flexibility. Unlike traditional graphical user interface (GUI) editors, Vim focuses on quick navigation ... Read More

How to Delete Iptables Rule?

Satish Kumar
Updated on 07-Jun-2023 16:21:10

4K+ Views

Introduction As a network administrator or system administrator, you will likely come across iptables at some point in your career. Iptables is a firewall and an essential part of Linux kernel-based operating systems. It acts as a packet filter by monitoring incoming and outgoing network traffic to and from your system. Iptables rules are used to determine how packets should be filtered, forwarded, or blocked based on their source, destination, ports, protocols, and other parameters. Knowing how to delete iptables rules is an important skill for any Linux system administrator because it allows you to modify the firewall settings ... Read More

How To Delete Helm Deployment And Namespace?

Satish Kumar
Updated on 07-Jun-2023 16:17:20

5K+ Views

Introduction Kubernetes is a container orchestration platform that automates the deployment, scaling, and management of containerized applications. Helm is a package manager for Kubernetes that allows users to easily install, upgrade, and manage applications on top of Kubernetes clusters. Helm provides a simple way to package applications as charts, which are collections of files that describe the resources needed to deploy an application on Kubernetes. While deploying applications using Helm is straightforward, it's essential to ensure that unwanted deployments and namespaces are removed from your cluster when they're no longer needed. Failing to delete unused deployments or namespaces can ... Read More

How To Delete Git Tag?

Satish Kumar
Updated on 07-Jun-2023 16:13:17

2K+ Views

Introduction Git is a version control system that allows developers to keep track of changes made to a codebase over time. Git tags are labels assigned to specific points in the history of a repository. They serve as markers that identify important milestones such as releases, versions, or checkpoints in the development process. Git tags are different from branches in that they are not meant to be updated or changed once they have been created. They provide an easy way to reference specific commits without having to remember the exact hash value associated with each commit. Why Delete ... Read More

How to Delete all Text in a File Using Vi/Vim Editor?

Satish Kumar
Updated on 07-Jun-2023 16:09:22

28K+ Views

Introduction Vi and Vim are text editors that are widely used in the Unix/Linux environment. These editors allow you to edit plain text files, system configuration files, and programming source code. Vi stands for visual editor, while Vim stands for Vi Improved. The editors were originally developed by Bill Joy in 1976 and have since undergone various improvements. Vi/Vim is a powerful editor with extensive functionality that can be utilized through command-line interface. Both editors offer features such as syntax highlighting, search-and-replace functionality, macros, and more. One of the main advantages of using Vi/Vim is its ability to ... Read More

Advertisements