In this tutorial you’ll learn different Magento 2 Modes. Earlier, Magento 1 was operated with a single mode for development as well as production. However, the Magento 2 came with below modes. Magento 2 Modes : Default, Developer Production and Maintenance. Let’s review through each of them in detail. (01) Default : As the name suggests, the default mode is…
Installing LAMP (Linux, Apache, MySQL and PHP) On Linux Mint
In this tutorial you’ll learn how to install how to Install Apache, MySQL and PHP. In this guide I will show you how to install a LAMP system. LAMP stands for Linux, Apache, MySQL, PHP. The guide is definitely help you. We will not cover how to install Linux the L of LAMP, because Linux Mint is already installed in…
Important Linux Command
pwd : The pwd command is a command line utility for printing the current working directory. It will print the full system path of the current working directory to standard output. rm command is used to delete the files and directories in Linux. rm stands for remove. Syntax : rm [options] [-r directories] filenames Options : -i : is used…
When Composer Cannot Allocate Memory
Error : nmap() failed can no allocate memory. When Composer Cannot Allocate Memory Sollution 1 : Increasing the limit in your php.ini file (ex. /etc/php/7.2/apache2/php.ini) Sollution 2 : Now if you still run out of memory you can enable swap. sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024 sudo /sbin/mkswap /var/swap.1 sudo /sbin/swapon /var/swap.1 The first command may take a few seconds…
Permission Commands in Linux
Linux is a multi-user operating system, so it has security to prevent people from accessing each other’s confidential files. For effective security, Linux divides authorization into 2 levels. Ownership 2. Permission Linux File Ownership : Every Linux system have three types of owner. User : A user is the one who created the file. By default, whosoever, creates the file…
How to use grunt in Magento 2?
In this tutorial, I will explain how to use grunt in Magento 2. Before starting the installation, Please rename the existing files package.json.sample and Gruntfile.js.sample in your root folder as package.json and Gruntfile.js respectively. Follow the below steps to use grunt in Magento 2 : Step 1 : Install Node.js First, we need to install a stable version of Node.js.…
How to create and extract zip,tar file in Linux?
In this tutorial, I will explain how to create zip, tar and tgz file. Also how to extract zip, tar and tgz file. What is ZIP file extension? The Zip file extension does not have a full form. A file with the ZIP file extension is a ZIP Compressed file and is the most widely used archive format you’ll run…
Add ReCAPTCHA V2 And Form Validation Using Custom JQuery
In this tutorial, I will explain to you about how to setup Google ReCAPTCHA in custom form using jQuery form validation. Let’s start with our custom validation form with Google’s ReCAPTCHA v2 bot verification. There is also an element with ID google_recaptcha to load Google ReCAPTCHA. To load ReCAPTCHA v2 you need your own key which you need to place…
Chrome Browser Extensions
In this blog, I have listed out the all Important Chrome Browser Extension which are mainly used for debugging and developers tools. Awesome Screenshot: Screen Video Recorder Full Page Screen Capture Loom – Video Recorder: Screen, Webcam and Mic Wappalyzer Screencastify – Screen Video Recorder ChromeiQL Home
How to install Magento 2?
In this tutorial,I will explain to you about how to install Magento 2, installation of Magento 2. You can install Magento by using composer as well as command line and web setup wizard. 1.0 Install Magento 2 via Composer : Composer : Composer is an application-level package manager for the PHP programming language that provides a standard format for managing…