How to Find and Kill Processes in Linux: A Practical Guide

Managing processes efficiently is a fundamental skill for any Linux user. There are instances, such as when an application becomes unresponsive or is consuming too much memory, where terminating processes becomes necessary. This post builds on the basics covered in a previous article, “Monitoring Processes in Linux with the ps Command: checking web server Apache … Continue reading How to Find and Kill Processes in Linux: A Practical Guide

How to fix pass store is uninitialized on Ubuntu Linux in Docker setup

The error message you’re seeing, “pass store is uninitialized“, indicates that the `pass` utility, which Docker uses for secure password storage, hasn’t been set up yet. To initialize `pass` and resolve this error, follow these steps: **Install Pass**: If you haven’t already, ensure that the `pass` password manager is installed on your system. You can … Continue reading How to fix pass store is uninitialized on Ubuntu Linux in Docker setup

Secure Your Web Development Workflow: Generating and Using PGP Keys in phpStorm IDE on Linux

In today’s digital age, security is paramount, especially when it comes to web development. As developers, we handle sensitive information regularly, from user credentials to proprietary code. One way to enhance the security of your development workflow is by using Pretty Good Privacy (PGP) keys. In this guide, we’ll walk through the process of generating … Continue reading Secure Your Web Development Workflow: Generating and Using PGP Keys in phpStorm IDE on Linux

Counting the Number of Files in a Folder with Efficiency

Managing folders with a massive number of files can be a daunting task, especially when you need to quickly assess how many files are contained within. Thankfully, there are efficient ways to tackle this challenge using command-line tools. Using `ls` and `wc` One approach is to leverage the combination of `ls` and `wc` commands. By … Continue reading Counting the Number of Files in a Folder with Efficiency

Linux IPTables: limit the number of HTTP requests from one IP per minute (for CentOs, RHEL and Ubuntu)

Protecting Your Web Server: Implementing IP-based Request Limiting with IPTables on Linux In the face of relentless cyber attacks, safeguarding your web server becomes paramount. Recently, our server encountered a barrage of requests from a single IP address, causing severe strain on our resources. To mitigate such threats, we employed IPTables, the powerful firewall utility … Continue reading Linux IPTables: limit the number of HTTP requests from one IP per minute (for CentOs, RHEL and Ubuntu)

How to Identify IP Addresses Sending Many Requests in Ubuntu Linux

In today’s interconnected world, network security is paramount. One aspect of network security involves identifying and monitoring IP addresses that may be sending an unusually high volume of requests to your system. In Ubuntu Linux, several tools can help you accomplish this task effectively. Using netstat One of the simplest ways to identify IP addresses … Continue reading How to Identify IP Addresses Sending Many Requests in Ubuntu Linux

Linux OpenSSL generate self-signed SSL certificate and Apache web server configuration

In a previous post, we covered the creation of a CSR and key for obtaining an SSL certificate. Today, we’ll focus on generating a self-signed SSL certificate, a useful step in development and testing environments. Follow along to secure your website with HTTPS. Generating the SSL Certificate To create a self-signed SSL certificate, execute the … Continue reading Linux OpenSSL generate self-signed SSL certificate and Apache web server configuration

Linux chkconfig and service: managing autostart and service state

In Red Hat-like Linux systems such as Red Hat Enterprise Linux, CentOS, Fedora (up to version 15), and similar distributions, service management often involves the use of the /sbin/chkconfig command. To view the status of the NFS (Network File System) service, you can use the following command: This command displays a list indicating whether the … Continue reading Linux chkconfig and service: managing autostart and service state