Magento2 Setup On VmWare

Blog
Spread the love

Expertise over technologies, commitment to deadlines, experienced corporate trainers and more makes us an ideal IT solution provider to your enterprise. Isn’t it the right time to work together?

Install VMware WorkStation 16 Player (Non Commercial)

Install VMware Workstation Player 16 pro for Windows Link:
https://www.vmware.com/go/getplayer-win
Download ubuntu from ubuntu LTS from:
https://ubuntu.com/download/desktop. (Version: 20 .04 LTS)
Create Virtual Machine for Ubuntu. (Video Link):
https://www.youtube.com/watch?v=9rUhGWijf9U

  1. Disk Capacity: 100 GB
  2. Memory: 8 GB
  3. Processor: 4 cores

Step 1: Installing Apache


Enable auto startup for apache

Checking apache2 Version

Step 2: Installing MySQL


Login with root user.

Grant all privileges to magento2 users.

Create Magento 2 database

Install PHP 7.4


command to open the dir.conf file in a text editor with root privileges

Check Whether to change or not

Check Php Version

Change Php Version (If Php version is not 7.4)

Install Php Extension

Enable Php Rewite Mode

Install ElasticSearch


Enable auto startup of Elasticsearch

Check If elasticsearch Status

If curl is not installed

Create Virtual host


Change and Add below content

Enable Site

Add Virtual host

Add below content

Reload apache2

Downloading Composer

Make sure you’re in your home directory, then retrieve the installer using curl:

Next, we’ll verify that the downloaded installer matches the SHA-384 hash for the latest installer found on the Composer Public Keys / Signatures page

If you want to verify the obtained value, you can run:

Now execute the following PHP code, as provided in the Composer download page, to verify that the installation script is safe to run:

You’ll see the following output:

If the output says Installer corrupt, you’ll need to download the installation script again and double check that you’re using the correct hash. Then, repeat the verification process. When you have a verified installer, you can continue.
To install composer globally, use the following command which will download and install Composer as a system-wide command named composer, under /usr/local/bin:

Check composer version

If want to use specific composer version then run

Change php.ini setting

Change below values

For New Magento Projects

Go to html folder using

Run this to download magento2

(Change to version 2.4.3-p2 to version you want to download)
Use username and password as public and private key from magento2 marketplace
After successful composer install goto magento 2 folder by below comand

Run these command to install magento2

After successfully runing magento install command, run the below commands in the root of Project Folder

Now go to browser
Hit URL: http://local.magento.com – (For frontend)
Hit URL: http://local.magento.com/admin – (For Magento admin)
If admin url shows 404 error

Modify

To

Restart Apache2

Run all commands.

bluethinkinc_blog

bluethinkinc_blog

2022-06-30

1

One Reply to “Magento2 Setup On VmWare”

  • Avatar
    S Pandey

    Excellent! Saved my lots of time.

    2022-06-30 at 11:21 pm Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Find More Blogs

How to Add a Custom Tab to the Customer Order Detail Page in Magento 2

Spread the love Adding a custom tab to the Order Detail

Exception Handling in Java

Spread the love Introduction – Exception:An unwanted

How to add custom less file in Magento2

Spread the love Source files *.css included into layout

Spring Boot Microservices

Spread the love Microservices architecture has become

Implementation of WireMock for better testing

Spread the love WireMock is a flexible and powerful tool

Magento 2: How to selected default option in configurable options?

Spread the love Configurable products in Magento 2 allow

How To Implement Simple JWT Authentication in Django Rest Framework

Spread the love We’ll learn how to use simple JWT

Optimizing Search: Integrating Elasticsearch in Django Applications

Spread the love What is Elasticsearch? Elasticsearch is a

How to create Customer Segments

Spread the love In Magento 2, “customer

Proxy Design Pattern and Requisition List in Magento 2

Spread the love Requisition List in Magento 2 Requisition

bluethinkinc Blogs