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

Many times users connect to remote Windows systems, do work, and close the remote session without properly logging off the account. In that case, multiple applications, which are still running with that login session use system resources. Sometimes it causes a slow response of our servers and creates pain for us. So this will be good to auto log off disconnected sessions from the Windows system. This tutorial will help you to log all the disconnected remote sessions on the Windows system. This tutorial has been tested with Windows Server 2019. Setup Auto Log Off Disconnected Sessions We are making…

Read More

The common way to run PHP with Nginx is the FastCGI module. The PHP-FPM (FastCGI Process Manager) dramatically increases the performance of your Nginx/PHP environment. So this is useful for high load websites. This tutorial will help you to configure PHP-FPM with Nginx on CentOS 8 and RHEL 8 Linux system. Prerequsities The newly installed system’s recommended to follow initial server setup. Shell access to the CentOS 8 system with sudo privileges account. Step 1 – Install Nginx The Nginx packages are available under the default AppStream repository. You can simply update the DNF cache and install Nginx web server…

Read More

The docker system prune command is used to remove all unused objects on Docker. This command will remove any stopped container, unused images, and all the unused networks. You may like: How to Import and Export Docker Containers? How to Create, List and Delte Docker Containers? Docker Remove Unused Objects Log in to the Docker host and open the command prompt. Then execute the following command to remove stopped container, dangling images, and all the unused networks. docker system prune WARNING! This will remove: – all stopped containers – all networks not used by at least one container – all…

Read More

The common way to run PHP with Apache is the mod_php module. But PHP-FPM has several advantages over this. The PHP-FPM (FastCGI Process Manager) dramatically increases the performance of your Apache/PHP environment. So this is useful for high load websites. This tutorial will help you to configure PHP-FPM with Apache on CentOS 8 and RHEL 8 Linux system. Prerequsities Shell access to the CentOS 8 system with sudo privileges account. Complete initial server setup for newly installed systems. Step 1 – Install Apache The Apache packages are available under the default AppStream repository. You can simply update the DNF cache…

Read More

The FastCGI Process Manager (FPM) is an alternative to the FastCGI configuration with multiple enhancements. This is useful for high load websites. This tutorial will help you with the installation and configuration of PHP-FPM with Nginx on your Debian 10 Buster Linux system. Prerequsities You must have SSH access to the Debian 10 system with Sudo privileges. Nginx Installation Nginx packages are available under default repositories. SSH to your Debian 10 system with sudo privileges accounts and install the Nginx web server from the official repository. sudo apt update sudo apt install nginx PHP Installation For the PHP installation we…

Read More

The FastCGI Process Manager (FPM) is an alternative to the FastCGI configuration with multiple enhancements. This is useful for high load websites. This tutorial will help you with the installation and configuration of PHP-FPM with Apache on your Debian 10 (Buster) Linux system. Prerequisites You must have SSH access to the Debian 10 system with Sudo privileges. Apache Installation Apache packages are available under default Apt repositories on all Debian systems. You can update the Apt cache and install Apache web server packages using the following command: sudo apt update sudo apt install apache2 PHP Installation For the PHP installation…

Read More

The LAMP stack is a combination of Linux, Apache, MySQL & PHP. Here Apache is the popular web server, MySQL is the relation database management system and PHP is programming language generally used for developing web applications. Most of the websites are built with PHP and MySQL, which is hosted with LAMP environment. For example, the popular blogging web platforms WordPress, Drupal are developed with PHP and MySQL. Both are widely hosted over the LAMP environment. This how-to guide helps you to install and configure LAMP Stack on a Debian 10 Linux system. Prerequisites You must have sudo privileges account…

Read More

Sometimes you need to adjust the permissions of files. By default, Git considers changes to file permissions as updates and marks these files as modified. This can be problematic if you want to keep your commits clean and focused solely on content changes, rather than on alterations to file permissions. To help streamline your workflow and prevent Git from cluttering your commit history with these types of changes, you can configure Git to ignore file permission changes. This simple adjustment in your Git settings ensures that only the actual content changes are tracked, making your version control process more efficient…

Read More

CentOS 8 is the latest release available for CentOS operating system. Our previous tutorial has the instructions for the installation of Apache on CentOS 8. This tutorial will help you to install PHP 7 on CentOS 8 and RHEL 8 Linux systems. PHP 7.4 is the latest stable version available for the installation. Setup Yum Repository For this tutorial, we will use the REMI repository for PHP installation on CentOS 8 Linux system. So add the REMI repository on your system using the following command. sudo dnf install dnf-utils http://rpms.remirepo.net/enterprise/remi-release-8.rpm REMI repository contains the PHP packages. You just need to…

Read More

This tutorial helps you to install and Use multiple Node.js versions on a single Linux machine. In this tutorial, we use the Node Version Manager (NVM) tool for the installation of Node.js. NVM Installation NVM install and Manage Node.js version in the user’s home directory. So you don’t need any root-level privileges. Simply login as a non-root user and follow tutorial. The NVM team provides a Bash script for the installation of NVM on the Linux system. You can simply execute this script on your machine to install NVM. curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash The installer makes an entry to the…

Read More