Installing Magento2 on Ubuntu 16.04 and configuring on localhost

Posted By :Harsh Soni |26th February 2019

This tutorial is a continue part of my previous blog "Installing and configuring Magento 2.3 on Ubuntu". If you have not installed all the prior requirements before installing Magento2 please visit here and follow all the steps.

After you have installed all the above requirements and verified them, we are now going to download Magento2 Setup from its Git repository.

 

Search for "Magento 2 Git" and download the latest Magento Git zip.

 

Extract the downloaded zip in the var/www/html folder and change the extracted folder name to "magento2"

 

Now run the following command

 

cd var/www/html/magento2

composer install

 

The above command will install all the required files for Magento and create the required directories, make sure you have read and write permissions to the directories.

 

After the composer completes downloading all the required files, Go to the below URL to configure your Magento2 setup on your system

 

http://localhost/magento2/setup

 

If you have done everything correctly you will see a screen similar to this

step1

 

Magento will check for all of its requirements and dependencies, it will stop and provide you the error or hint if anything is missing in the above step.

 

Click Next to enter your DB details, As we have already created our DB "magento_shop" and user "root" , enter the required details here. Table Prefix can be anything, always add "_" at the end to make table name readable.

step2

 

Now we will move to next step and configure our shop route. 

step3

 

After configuring the admin and shop path, we will setup the store time and currency. You can also change this later as per your requirements.

 

step4

 

Now, its time to secure your Magento setup by creating an Admin account. Create a one by filling your username,  email address and password to complete the installation process

 

step5

 

Click next and Click on install button to complete your magento 2 installation process. It may take little time to complete as it has lots of files and directories.

 

step6

 

After installing you can visit the path of your magento folder and start exploring its functionalities and features. You may face some issues if you are installing it for first time, make sure you have right permission to magento folder and have followed all the steps in the first part of this tutorial

 


About Author

Harsh Soni

Harsh is an experienced Developer with multiple tech stack such as PHP, NodeJs, Javascript, Angular. He loves learning new technologies and experimenting on them.

Request For Proposal

Sending message..

Ready to innovate ? Let's get in touch


Notice: Undefined index: HTTP_REFERER in /var/html/www/AI/wp-content/themes/oxides-child/functions.php on line 272

Notice: Undefined index: HTTP_REFERER in /var/html/www/AI/wp-content/themes/oxides-child/functions.php on line 272

Notice: Undefined index: HTTP_REFERER in /var/html/www/AI/wp-content/themes/oxides-child/functions.php on line 272

Notice: Undefined index: HTTP_REFERER in /var/html/www/AI/wp-content/themes/oxides-child/functions.php on line 272

Chat With Us