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

PHP

Email sending functionality is a crucial part of many web applications. From account verification emails to forgotten password reminders, email helps build communication bridges between your application and its users. One of the most popular libraries for sending emails from PHP applications is PHPMailer. It has a host of features that make it a robust and flexible solution for managing your application’s email functionality. This article will provide a practical approach to implementing PHPMailer in your applications. What is PHPMailer? PHPMailer is an open-source library in PHP that provides a simple and flexible way to send emails from within PHP…

Read More

This article will help you to Install MongoDB with NodeJs and configure their connectivity using Mongoose node app on Ubuntu and Debian systems. For PHP users use our previous article to configure MongoDB with PHP and Apache2 on Ubuntu servers. Prerequsities We assume you already have Node.js and MongoDB installed on your system. If not installed follow our below tutorial first to complete the required installation. MongoDB Installation: Install MongoDB on Ubuntu Install MongoDB on Debian Node.js Installation: Install Node.js on Ubuntu Install Node.js on Debian Install “mongoose” Module Mongoose provides a straight-forward, schema-based solution to modeling your application data…

Read More

MongoDB is an open source NoSQL database. These days mongodb is getting more popularity between web developers for their processing speed. And for PHP5 we all are aware that it is use widely use for faster development. In this article we are installing Latest MongoDB database with PHP5 and Apache2 web server on Ubuntu 14.04 LTS. This article will also work with other Ubuntu versions. Step 1: Install Apache2 First install Apache2 web server on our system using following command, this is available under default repositories of Ubuntu. $ sudo apt-get install apache2 After installing Apache2 it will by default…

Read More

Most of the Sysadmins don’t prefer to use / directory to store their files or databases. So if they have installed MongoDB database server, by default it stored all data in /var/lib/mongo (version/os specific). In this tutorial, we will change the MongoDB default data path to other directories where we have attached a new disk (EBS volume in AWS). Instruction’s to Change MongoDB Default Data Path: 1. Before making any changes, stop mongodb service sudo systemctl stop mongod.service 2. Now change the location mongo directory to elsewhere on the filesystem as per need. For this tutorial, create a data directory…

Read More

The CASE statement is a powerful conditional statement in Bash that allows you to test a variable against a list of values. It is a more concise and efficient alternative to using multiple if-then statements. Many times it is a good alternative to if-else statements. You can also use it for processing the command line arguments in a shell script. In this article, we will introduce you to the CASE statement in Bash and provide examples of how it can be used in Bash scripts. The syntax of the CASE statement in Bash The syntax of the CASE statement in…

Read More

What is GPT Partition ? GPT (GUID Partition Table) is a standard for the layout of the partition table on a physical hard disk, using globally unique identifiers (GUID). GPT is a part of the EFI standard that defines the layout of the partition table. GPT is useful for creating filesystem on disk larger than 2TB. For smaller size of disks generally we use MBR but it does not support disk over 2TB. sgdisk is a command-line GUID partition table (GPT) manipulator for Unix like systems. In this article we are using sgdisk command to Clone/Copy a GPT Partition Table…

Read More

In this comprehensive tutorial, we will delve into the Bash if elif else statement, a crucial control structure in shell scripting. Bash, an acronym for Bourne-Again SHell, is a Unix shell and command-line interpreter that has become the default shell for many Linux distributions and macOS. Mastering the if elif else statement will greatly enhance your ability to write efficient and flexible shell scripts. 1. Understanding Bash if elif else Statement The if elif else statement is a control structure that allows you to execute a block of code based on whether a given condition is true or false. It…

Read More

When using Linux, it’s common to work with servers that are not nearby. To handle files and folders on these distant servers, you need a way to reach their files securely. One good way to do this is by connecting to the remote file system over SSH (Secure Shell). SSHFS is a tool that lets you connect to folders on a remote server through SSH, right from your own computer. To get SSHFS, you simply install it using the package manager specific to your Linux distribution. Once installed, SSHFS allows you to access and manage remote directories as if they…

Read More

VNC ( Virtual Network Computing ) Servers enables remote desktop access for Linux systems similar to MSTSC in windows. Generally Linux administrators doesn’t prefer to use windows access, But some times we required to have access remote desktop of Linux. In that case we need to install vnc server on our Linux system. This tutorial will help you to Setup VNC Server and configure remote access for users on CentOS, RHEL and Fedora Users. Step 1: Install Required Packages Most of Linux servers doesn’t have desktop installed on their system. So make sure you have installed else use following command…

Read More

Installing Apache OpenOffice on Fedora is a simple process that allows you to use a powerful, free office suite on your computer. OpenOffice includes programs like a word processor, spreadsheet, and presentation maker, which are similar to Microsoft Office. In this guide, we will explain how to install Apache OpenOffice on your Fedora system in easy steps. Whether you are new to Fedora or installing software for the first time, this guide will help you get started quickly and easily. System Requirements: Operating System: Fedora 30 or higher. Processor: 64-bit (x86-64) or higher. Memory: At least 256 MB of RAM,…

Read More