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…
Author: Rahul
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…
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…
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.…
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…
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…
In the contemporary digital world, the seamless synchronization of files between local storage and cloud-based storage systems like Amazon’s Simple Storage Service (S3) is paramount. Whether you’re a business seeking to ensure data redundancy, a developer looking to streamline your workflows, or an individual aiming to back up your precious files, understanding the nuts and bolts of synchronization can be a game-changer. This article walks you through the step-by-step process of synchronizing files between your local storage and S3 buckets. Preparation To successfully perform this operation, you will need to have an AWS account with necessary IAM (Identity and Access…
Crontabs are very useful in Linux for scheduling repeated jobs. We can schedule any script or command to run on particular time interval. All the jobs executed by cron runs in background. As a system admin, we know the importance of backups of system or application configuration files and we do it through cronjob but most of time to forget to take back of cronjobs. This article will describe you to how to take backup of scheduled jobs for specific user or all users in system. To install or know more about Crontab refer our earlier articles. How to Install…
MariaDB is an relational database management system (RDBMS). Generally we use single node of database server for small application but think about application which have thousands of users keep online at a time, In that situation we need a structure which will capable to handle this load and provides high availability. So we need to add multiple database servers interconnected with each other and keep synchronized, so in case any server goes down other servers can take place of them and provide services to users. MariaDB Galera Cluster is an synchronous Active-Active multi-master cluster of MariaDB databases. Which keeps all…
S3cmd is created for managing S3 buckets on Linux servers. But we also use this tool on windows servers as well. This article will help you to setup s3cmd in windows systems. If you are searching here to setup s3cmd on Linux system read next article install s3cmd on Linux. S3cmd System Requirements: s3cmd required Python 2.7 or greater version to run. We also need to install GPG. Step 1 – Install Python Download and install python 2.7 or the higher version from python official site and install it. https://www.python.org/downloads/ After installing python, append the Python in Path environment variable.…