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

Mencoder is a companion program to the MPlayer media player that can be used to encode or transform any audio or video stream that MPlayer can read. See the RestrictedFormats wiki page for instructions for enabling non-free formats in MPlayer and gmplayer. For more information visit the MPlayer web site. Step 1. Install MenCoder and MPlayer CentOS/RHEL and Fedora users, make sure that you have enabled ATrpms repository in system. Let’s begin installing MPlayer & Mencoder as per your operating system. For CentOS/RHEL and Fedora: # yum install mencoder For Ubuntu and Debian: $ sudo apt-get update $ sudo apt-get…

Read More
PHP

XCache is a fast, stable PHP opcode cacher. This relatively new opcode caching software has been developed by mOo. XCache optimizes performance caching the compiled state of PHP scripts into the RAM and uses the compiled version straight from the RAM. This may increase php execution 1-5 times faster than default installation. Read more about XCache. Step 1: Install XCache PHP Module in cPanel To install module in cPanel server, you must have root access using. Access your server using putty or other alternatives of putty with root user and run following command. # /scripts/phpextensionmgr install xcache [Sample Output on…

Read More

The Extra Packages for Enterprise Linux(EPEL) is an online repository that provides high-quality commonly used software packages for Enterprise Linux systems. These packages are developed and tested on Fedora, which is available for RHEL. The EPEL repository is available and used for the following Linux Distributions: Red Hat Enterprise Linux (RHEL) Fedora CentOS Stream AlmaLinux Rocky Linux Download and install the epel release package as per your system version and architecture. Basically, they provide noarch packages, which means they are architecture-independent but still EPEL provides different packages to download. So you can download it as per your choice. Configuring the…

Read More

Ubuntu 22.04 LTS (Jammy Jellyfish) has been released on Apr 21, 2022. This version will be supported till 2027. Whome to Upgrade? The Ubuntu desktop and development users can upgrade to the Ubuntu 22.04 LTS immediately. But the Ubuntu server users, especially the production server recommended waiting for a few months before upgrading to Ubuntu 22.04 LTS Jammy Jellyfish. Prerequsities You must have sudo privileges or root account access You must have running Ubuntu 21.10 or Ubuntu 20.04 LTS version It’s a good idea to take a backup of important data before upgrading. Keep the backup on a remote location…

Read More

Lighttpd is an alternative to Apache. It is a opensource web server. Lighttpd is popular for its low memory and cpu uses, This can be best option for high traffic sites. PHP is a programming language used server-side programming. MariaDB is an alternative of MySQL with various of enhancements. Step 1: Add Required Yum Repositories Before starting setup, make sure that we have required yum repositories added in our system. We recommend to add MariaDB, EPEL and REMI yum repositories in our system. https://downloads.mariadb.org/mariadb/repositories/#mirror=nus https://tecadmin.net/top-5-yum-repositories-for-centos-rhel-systems/#centalt-repo https://tecadmin.net/top-5-yum-repositories-for-centos-rhel-systems/#remi-repo Step 2: Install Lighttpd Lets start with the installation of lighttpd web server with…

Read More

Lighttpd is high performance web server created suitable for running on production environment. It is highly optimize, secure and very flexible web server. Lighttpd utilize very low Memory and CPU than other web servers. Its event-driven architecture is optimized for a large number of parallel connections (keep-alive) Lighttpd powers several popular Web 2.0 sites. It provides high speed io-infrastructure which allows them to scale several times better with the same hardware. This is developed with keeping future web in mind like: Faster FastCGI COMET meets mod_mailbox Async IO Follow the steps below to install Lighttpd on RHEL based systems. Step…

Read More

In this comprehensive guide, we’ll explore how to check if a file or directory exists in Bash. Bash, or the Bourne Again SHell, is a widely-used command language interpreter for the Unix operating system. One of the key features of Bash, and Unix-like systems in general, is its heavy reliance on files and directories. Therefore, knowing how to test if a file or directory exists is a crucial skill for anyone scripting or programming in this environment. Understanding Bash Test Constructs Before delving into how to check if a file or directory exists in Bash, it’s essential to understand what…

Read More

In the previous article we describe to how to Setup RAID-1 in RHEL/CentOS systems. Some times disks attached with the array get failed working, RAID simply mark it as faulty device and do not use it any more. In that situation we need to replace the faulty device with new working device. The below image is showing that /dev/sdc1 disk has been marked as faulty and new disk attached has taken place of that with complete data sync. In this article you will get to how to check which device is faulty and how to remove them from raid array.…

Read More

RAID stands for Redundant Array of Inexpensive (Independent) Disks. RAID-1 is also known as striping. RAID-1 required minimum two disks. The max data on RAID-1 can be stored to size of smallest disk in RAID array. In this article we are using CentOS 6.5 running with VMWare. I have added two virtual disks as /dev/sdb and /dev/sdc for configuring RAID-1 partition. Each disk size is 10GB and we will one partition on both disks of 5GB which will created as /dev/sdb1 and /dev/sdc1. Know few things about RAID-1 as below. Pros – Secure data from single disk failure as same…

Read More

SMTP (Simple Mail Transfer Protocol) is a protocol for sending email messages between servers. Most email systems that send mail over the Internet use SMTP to send messages from one server to another, and to deliver messages to local mail clients like Microsoft Outlook or Apple Mail. SSMTP is a simple and lightweight utility that allows users to send emails from the command line or shell scripts. It is especially useful for systems that don’t have a full-blown mail server installed, such as a headless server or a machine running on a cloud platform. In this article, we will show…

Read More