Author: Rahul

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

The modern application uses Websockets to update application data in real time like live updates or chat. If the application is deployed with Apache, it needs to be set up correctly to manage WebSocket (wss://) requests. In this simple guide, we will show you how to configure Apache to handle these requests. You’ll learn how to enable the right modules and adjust your VirtualHost settings. By the end, your Apache server will be ready to handle WebSocket connections, keeping your application running smoothly. For example, I have an Next.JS application running on url https://example.com but the websocket requests looks like…

Read More

Customizing your Bash prompt to show the current Git branch name can make your coding life easier. When you work on different branches in Git, it’s helpful to see which branch you’re on directly in your terminal. This simple guide will show you how to add the Git branch name to your Bash prompt. You don’t need to be an expert; just follow the easy steps provided. A Guide to Show Git Branch Names in Your Bash Prompt Step 1: Open Your Terminal First, you need to open your terminal. Make sure you are logged in with correct user to…

Read More

Keeping your Ubuntu system clean and efficient is crucial for maintaining optimal performance and prolonging its lifespan. Over time, clutter such as unnecessary files, outdated packages, and residual configurations can accumulate, potentially slowing down your system and causing issues. Regular maintenance ensures that your system runs smoothly and stays secure. In this guide, we will walk you through 10 simple yet effective steps to clean your Ubuntu system. These steps are designed to help you free up space, improve system responsiveness, and enhance overall stability. Whether you’re a professional Ubuntu user or a beginner, these practical tips will empower you…

Read More

Flutter is a powerful framework developed by Google that allows developers to build high-quality, natively compiled applications for mobile, web, and desktop from a single codebase. If you’re new to Flutter and want to set it up on your macOS system, this beginner-friendly guide will walk you through the process step by step. Table of Contents What You Need Before You Start Installing Homebrew Installing Flutter Running Flutter Doctor Installing Additional Tools Setting Up the Android Environment Running Flutter Doctor Again Conclusion What You Need Before You Start Before starting the installation process, make sure you have the following: A…

Read More

RStudio is a powerful integrated development environment (IDE) for R, a programming language used mainly for statistical computing and data analysis. Anyone working on data science projects or any other similar tasks that involve R, RStudio can make your work much easier. This guide will walk you through the process of installing RStudio on an Ubuntu system. I tried to keep steps simple and beginners friendly, so even if you are new to Ubuntu or R, you will be able to follow along without any issues. Step 1: Update Your System Before installing anything, it’s a good idea to update…

Read More

When working with the Linux find command, you might need to search for files or directories while excluding certain directories from your search results. This can be especially useful when dealing with large file systems or directories with many subdirectories. By using the -prune option or combining the find command with the ! (negation) operator, you can efficiently exclude specific directories, streamlining your search process. In this guide, we’ll walk you through simple steps to exclude directories in your find command, helping you save time and avoid unnecessary search results. 1. Using -prune Option The -prune option prevents find from…

Read More

Securing your SSH server is important to keep your system safe from unauthorized access. One of the best tools to protect your SSH server is Fail2Ban. It monitors your server logs and automatically blocks IP addresses that show signs of malicious activity, like too many failed login attempts. In this article, we’ll guide you through securing your SSH server in 5 easy steps using Fail2Ban on Debian and RHEL-based systems. Step 1: Install Fail2Ban First, you need to install Fail2Ban on your server. For Debian-based systems (like Ubuntu): Open your terminal and run the following command: sudo apt update sudo…

Read More

Keeping your Ubuntu 24.04 server secure is crucial, especially if it’s exposed to the internet. One common threat is unauthorized access attempts, particularly through SSH. Fail2ban is a powerful tool that can help protect your server by automatically blocking suspicious activity. In this guide, we’ll walk you through the steps to install and configure Fail2ban on your Ubuntu 24.04 server. This guide is designed for beginners, so we’ll keep everything straightforward and easy to follow. Step 1: Update Your System Before installing anything, it’s a good idea to update your system to make sure all your packages are up to…

Read More

UFW, which stands for Uncomplicated Firewall, is a user-friendly tool for managing firewall rules on Linux systems. It simplifies the process of controlling network traffic, making it easier for users to allow or block ports. This guide will walk you through the steps to open ports 80 (HTTP) and 443 (HTTPS) using UFW. By following these instructions, you will learn how to enable these ports, check the status of your firewall rules, and how to remove these rules when they are no longer needed. Allow Port 80 and 443 in UFW With UFW, you can allow ports either temporarily or…

Read More

Ubuntu is a popular Linux operating system known for its ease of use and powerful features. One useful tool for managing your clipboard is pbcopy, a command that makes copying and pasting text in the terminal very easy. However, pbcopy is not available by default on Ubuntu. This guide will show you, step by step, how to install and use pbcopy on Ubuntu. Even if you are a beginner, you will find these instructions simple and easy to follow. Installing pbcopy Open the Terminal: You can open the terminal by pressing Ctrl+Alt+T on your keyboard. Update Your Package List: Before…

Read More