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




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



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.



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



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.




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




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.




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 software developer with a specialization in the MEAN stack. He is skilled in a wide range of web technologies, including Angular, Node.js, PHP, AWS, and Docker.Throughout his career, Harsh has demonstrated a strong commitment to delivering high-quality software solutions that meet the unique needs of his clients and organizations. His proficiency in Angular and Node.js has allowed him to build dynamic and interactive user interfaces, leveraging the power of modern front-end frameworks. Harsh's expertise also extends to cloud computing and infrastructure management using AWS, enabling him to design and deploy scalable applications with ease. Additionally, his knowledge of Docker has enabled him to streamline the development and deployment process, enhancing efficiency and reducing time-to-market. He excels at analyzing complex technical challenges and devising efficient strategies to overcome them, ensuring the successful completion of projects within deadlines.

Request For Proposal

[contact-form-7 404 "Not Found"]

Ready to innovate ? Let's get in touch

Chat With Us