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..

This tutorial will help you to configure your IIS to redirect any URL from HTTP to HTTPS. This is a good practice to keep production URLs always-on secure page. After completing this tutorial your all the non-secure (HTTP) requests to your websites will be redirected to secure (HTTPS) in IIS on Windows. Useful tutorials: How to Setup Let’s Encrypt SSL on IIS How to Setup Reverse Proxy in IIS Before we start We assume you already have installed an SSL certificate in IIS. Also added the SSL binding to your websites with port 443 and installed certificate. Step 1 -…

Read More

Let’s Encrypt is Certificate Authority (CA), which provides free SSL certificates for your domains to secure data on the transport layer. This tutorial will help you to install and secure Apache with a free SSL certificate issued by Let’s encrypt. Prerequisites Running CentOS 8 machine with shell access Follow initial server setup steps for newly installed machine A domain/sub domain pointed to server IP address via public DNS server. For this tutorial, we use webhost.tecadmin.net. Step 1 – Install Apache First of all, Install the Apache server on your CentOS 8 machine. The Apache packages are available under the default…

Read More

The mod_wsgi Apache module is used for serving Python scripts over HTTP via the Apache web server. This tutorial helps you to how to install the Apache Python module (mod_wsgi) on CentOS 8 Linux. We will also create a sample page in Python and deploy it with the Apache web server. You may like: How to Install Django Python Framework on CentOS 8 Step 1 – Prerequisites Login to the CentOS 8 server console via SSH. Then must have python installed on our system. Use the following commands to install python as its dependencies on your system. sudo dnf install…

Read More

In the digital age, securing your server’s internet traffic is crucial, particularly for services like HTTP and HTTPS, which handle web traffic. FirewallD, a dynamic firewall management tool available on many Linux distributions, plays a vital role in safeguarding your system against unauthorized access. This guide will walk you through the process of enabling HTTP (port 80) and HTTPS (port 443) services in FirewallD, ensuring that your web services are secure and accessible. What is FirewallD? FirewallD is a firewall service native to many Linux distributions that provides a flexible and configurable way to manage network access to your system.…

Read More

The current phpMyAdmin version is compatible with PHP 7.1 and newer and MySQL 5.5 and newer. This tutorial will help you with the installation and configuration of phpMyAdmin on the CentOS 8 Linux system. Step 1 – Prerequisites We are assuming you already have installed the MySQL server on CentOS 8 operating system. So just install the other required packages to run and access phpMyAdmin. sudo dnf install httpd wget unzip sudo dnf install php php-pdo php-pecl-zip php-json php-mbstring php-mysqlnd Once the installation finished, enable and start httpd web server. sudo systemctl enable httpd.service sudo systemctl start httpd.service Step 2…

Read More

FirewallD is a tool used in many Linux systems to manage network traffic. It acts as an easy interface for iptables, which is a more complex underlying system that controls how data flows in and out of your computer. FirewallD offers both command line and graphical interfaces to make managing these rules simpler. This guide will teach you how to open ports 80 (HTTP) and 443 (HTTPS) using FirewallD. By the end, you will know how to allow and remove these ports temporarily and permanently, and how to check which ports are open. Open Port 80 & 443 in FirewallD…

Read More

Git, a distributed version control system, is integral to the workflow of developers worldwide. It tracks changes in source code during software development, with features that enhance collaboration and source code management. An essential part of this system is the identification of who makes each change to the codebase. This identification is facilitated through the configuration of a username and email address in Git. This article guides you through the process of changing your Git username and email address, both locally (for a single repository) and globally (for all repositories). Understanding Local and Global Configurations Before diving into the steps,…

Read More

Sometimes we need to find actual number of files available under a directory. But it directory contains multiple sub directories. Then it is hard to manually count number of files within a directory in Linux system using command line. find DIR_NAME -type f | wc -l find – Is a Linux/Unix command DIR_NAME – A directory path to search for. Use dot (.) to start search from current directory -type f – Search for files only (do not include directories) Pipe (|) – Pipe sends output of one command as input to other command wc -l – Count number of…

Read More

Laravel is a popular PHP framework that provides a range of tools and features for building web applications. In this tutorial, we will guide you through the process of installing Laravel on Fedora, a popular Linux distribution. We will cover the prerequisites for installing Laravel on Fedora, such as installing PHP and a web server, and we will walk you through the steps to install Laravel using Composer, a dependency manager for PHP. We will also provide some tips and best practices for configuring and optimizing Laravel on Fedora. By the end of this tutorial, you will have a fully…

Read More

This tutorial will help you to set up Selenium with ChromeDriver on Fedora systems. This tutorial also includes an example of a Java program that uses the Selenium standalone server and ChromeDriver and runs a sample test case. This tutorial described how to set up a selenium server with a chrome driver on a Fedora system. Also, you will get a sample Java program to run a small test over selenium with a headless chrome driver. Prerequisites Login to your Fedora system with Sudo privileged account. Launch a terminal and execute the following commands to install the required packages on…

Read More