Security is the first priority for any production applications. If your site is providing payment option, then we recommend to must have an SSL certificate on your site. This article is for Node.js users, in this article we are describing SSL configuration with a node.js application. Step 1: Create Self Signed SSL For the production applications, you would required to purchase a verified SSL from certificate authorities. In this tutorial we are using a self signed ssl certificate which is enough for development applications. First create a CSR for you domain, Provide the desired values to asked questions. # cd…
Author: Rahul
An array is a collection of similar types of data. It is a data structure that can store a fixed-size sequential collection of elements of the same type. Arrays are particularly useful when there is a need to store a large number of data of the same type. In C programming, array is a powerful and complex tool that is used in various scenarios for different purposes. Understanding the Basics of Arrays An array is defined as finite ordered collection of homogenous data, stored in contiguous memory locations, which can be accessed individually by adding an index to a unique…
MongoDB is a popular, open-source NoSQL database that provides high performance, high availability, and automatic scaling. As a document-based database, it stores data in flexible, JSON-like documents, making it easy to work with and integrate into various applications. In this article, we’ll cover the fundamentals of creating and dropping databases in MongoDB, allowing you to confidently manage your data. Table of Contents Prerequisites Understanding MongoDB Structure Creating a MongoDB Database Listing Databases Dropping a MongoDB Database Conclusion 1. Prerequisites Before diving into creating and dropping databases, ensure that you have MongoDB installed on your system. You can download it from…
In the world of database management, flexibility and organization are key. MySQL, as one of the most popular database management systems, is no exception to this rule. One critical aspect of managing a MySQL database is knowing how to change its default data directory. This article guides you through the steps to efficiently and safely move your MySQL data to a new location. Why Change the Default Data Directory? Before diving into the how, let’s understand the why. There are several reasons to change the default data directory in MySQL: Storage Management: As your database grows, you might run out…
s3.exe is a standalone windows command line utility available for managing s3 buckets and EC2 environments. this file don’t required any installation. To work with this script, we just need to have installed .Net framework 2.0 or above version. As much as I know, this script has limited options but it will be helpful for you for s3 bucket tasks and managing snapshots of EBS volumes. Download s3.exe Utility To Download s3.exe file visit s3.codeplex.com and download it. After downloading this file, you can put it under C:WindowsSystem32, so we can use it from any path in system. http://s3.codeplex.com Setup…
VsFTPd stands for Very Secure FTP Daemon. VSFTPD is the most popular ftp server. Also probably the most secure and fastest FTP server for UNIX-like systems. If you are searching an FTP server which can provide you Security, Performance and Stability then your searching is finished here, vsFTPd can be best suitable option for you. This article will help you to setup vsFTPd server on CentOS/RHEL and Fedora systems Features of vsFTPd Despite being small for purposes of speed and security, many more complicated FTP setups are achievable with vsftpd! By no means an exclusive list, vsftpd will handle: Configure…
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…
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…
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…
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…