cancel
Showing results for 
Search instead for 
Did you mean: 

How to install Magento 2.4.2 community from it's Zip file in Ubunto 20.04LTS

How to install Magento 2.4.2 community from it's Zip file in Ubunto 20.04LTS

Once I created my Magento Account I was able to download the zip file for 2.4.2 for Ubuntu 20.04LTS and I cannot figure out how to install it.

I have read that there are two methods of installing Magento 2.4.2 one using Composer and the other via Terminal.

I am new to Ubuntu 2.4.2 and have not figured out how to install a zip file.

Any help will be appreciated.

Thank you

2 REPLIES 2

Re: How to install Magento 2.4.2 community from it's Zip file in Ubunto 20.04LTS

Hi, there's tutorial on how to install magento 2.4 on Magento website using composer, you may check it here:

https://devdocs.magento.com/guides/v2.4/install-gde/composer.html

  • Note 1: Magento 2.4.2 require elasticsearch, so remember to install it to ubuntu before installing Magento 2.4.2
  • Note2: there maybe some errors during installation, please post it in this forum, I will help you resolve it.

 

Good luck!

Re: How to install Magento 2.4.2 community from it's Zip file in Ubunto 20.04LTS

Thank you for your response.


I have elasticsearch installed and when I run composer, despite not providing the 2.4.2 version I am looking for and it shows it is trying to install 2.3, it then asks for a user Id and password and none of them work.

 

It is unclear as to what the user Id and password to use is.I tried the non root admin user, the root user, the MySQL and other component passwords etc (meaning all Id and passwords I created during the LAMP). No joy. Plus the ID and password for the root admin and non root admin.

 

The only DB I have not installed is Maria and I don’t know if I should dump everything I have installed and start over with all the same IDs and passwords (since you can never see the password you are installing in terminal). This is a Test localhost server for us to learn about Magento and how to manage it once we pick a web host.

 

Apache 2, Php 8.0, MySQL all working. The Php directories for magento are created. ElasticSearch is installed as is the addins for PHP. Composer 2 is installed and I ran it from the none root admin user. Just no idea as to what ID and Password to use when prompted by Composer.

 

Any help is appreciated