How to install Magento 2.3 (from scratch) - Magento 2 Beginner Tutorials

How to install Magento 2.3 (from scratch) – Magento 2 Beginner Tutorials

install magento 2 shared hosting

►Claim free DigitalOcean credit:
►Follow along with this article:
►Alternative hosting (Nexcess):

During this video tutorial, I’ll be showing you How to setup a web server from scratch and install Magento 2.3. The video will be split into several chapters:
►Chapter 1: Build a basic server 02:08
►Chapter 2: Convert to a web server for Magento 2.3 17:35
►Chapter 3: Download Magento 2.3 with Composer 34:55
►Chapter 4: Create a database for installing Magento 2.3 46:50
►Chapter 5: Install Magento 2.3 via the Setup Wizard 49:04
►Chapter 6: Bonus – Install Sample Data 55:36

You will also find a link to an article in the Description below. The article is designed to help you follow along with the video at your own pace. It will also contain any commands that I use in the video, so that you can easily copy and paste them. This means that you won’t have to keep squinting at the screen to see what I’m typing. To make it even easier, each of these commands that you can copy & paste will also contain a timestamp next to it, so that you know exactly at what point in the video I’m using them.

But before I start, I just want to acknowledge that this tutorial is not for everyone. The topics are aimed at nerds like myself who want to install Magento 2.3 from scratch. However, the tutorial has actually been designed for any skill level to follow.

If you’re interested in using Magento but would rather skip all of the nerdy stuff, then I would highly recommend the SIP-100 Package from They will build you a web server and install Magento 2.3 so you can just get straight on with setting up your store and adding your products. And if you ever run into any technical issues, you can always get in touch with their 24/7 support. I’ve put a link to that in the description below just in case you’d like to check it out.

► Magento 2 Tutorials for Beginners:
► Magento 2 Quick Tips:
► Let’s Build a Magento 2 Store (Series 1):
► Let’s Build a Magento 2 Store (Series 2):


► 20% off Managed Hosting (Cloudways): (Promo: DS20)
► Claim Credit on Unmanaged Hosting (DigitalOcean):
► Up to 30% off Extensions:


#magento #magentotutorials

34 thoughts on “How to install Magento 2.3 (from scratch) – Magento 2 Beginner Tutorials

  1. For those that are having trouble downloading Magento 2.3 with composer. Try downgrading your version to 1.8.0 by running: sudo composer self-update 1.8.0

    Running the latest version of composer creates some problems regarding which package composer is using to install the magento/composer. Hope this helps!

  2. Got this error code: 'mysql said: ERROR 1819 (HY000) at line 1: Your password does not satisfy the current policy requirements
    ' While attempting the phpMyAdmin.
    Same as you got apparently but I don't know how to fix. I tried a few different ways but keep gettin the same error. How do we fix?

  3. composer create-project –repository-url= magento/project-community-edition=2.3.5-p2 .

    kindly update the Follow Along document to install magento 2.3.5-p2 using composer with the above command as with the previous command, 2.4 installs automatically, as there is no mention of version number… i am new to this, I think this will help others like me…

    Besides, thanks for this awesome tutorial and the walkthrough.. they are so detailed… 🙂

  4. For some reason, I'm not being prompted to supply my Magento2 access keys when beginning the download of Magento2. It just starts right away without presenting the prompts. Any ideas?

  5. Hi Craig, I ran into a the same problem you spoke about in the video while installing phpMyAdmin. Please how can I downgrade and reinstall it? I am so mad at myself right now.

  6. I installed Mage2.3.5 on Docker CentOS 7 but it's very slow as I am using 2G internet to load website. Everything such as command line, loading web, clicking button are very slow. It happens both on my Mac 16GB of RAM and my Desktop Win 10 16GB of RAM. Can you give an advise about this. I have no clue to fix it right now.

  7. Hi Craig! First of all, I wanted to thank you very much for all the effort in producing such a great quality and helpful content. It really have lighten up my way. I was just wondering what would you suggest after setting up this server architecture to manage the emails. After setting up the development server with just the IP address, a second step would pointing the domain to this so then Apache2 is able to handle emails as well? I am not an expert on the matter so I am trying to figure out how Magento will work out the automated emails is there is no mail server service set on the same server, if any is necessary of course. Appreciate if you can give me some thoughts on that. Take care! 🙂

  8. Hi Craig, regards from Chile. I spent 3 weeks of my time trying to install magento in my server, using a lot of tutorials from google but all finish in a error on my magento store. Today I used your video and I can have my magento store in only 1 hour. Great job! and thanks for share your knowledge and experience here!

  9. I have error for this part
    find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + && find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} + && chown -R :www-data . && chmod u+x bin/magento
    find : 'Var' no such var or directory
    find: 'generated' no such var or directory
    find: 'vendor' no such var or directory
    find: 'pub/static' no such var or directory
    find: 'pub/static' no such var or directory
    find: 'pub/media' no such var or directory
    find: 'app/etc' no such var or directory

  10. This tutorial is excellent. However, I did my M2 install an almost completely different way! I used a cPanel host and installed via Softaculous. Which enabled me to install without a CLI. However, this created an issue with the CRONtab which this video covered. Well done on creating a truly useful video in a comprehensive and clear manner. Probably the best video for M2 on YouTube!

  11. Thank you very very much. After a couple days of google searches and tutorials you made setting up Magento without errors a piece of cake.
    I use VirtualBox with Ubuntu Live Server LTS 18.04 on Windows 10.
    One issue I encountered was during the configuration of phpmyadmin. I was not able to log in as root but I could log in with phpmyadmin account. (Access denied for user 'root'@'localhost')
    In order to fix this, I logged in as root in mysql cli and created a new user with full privileges. I then logged in phpmyadmin with this new user and followed through the rest of your tutorial.

  12. This is one of the most comprehensive tutorials on Magento I have ever come across. It is extremely well explained and very accurate. Thank you for a fantastic contribution.

  13. Thank you for this fantastic tutorial! It's absolutely the best to get Magento up and running. Now, I'll add my domain and an SSL certification to the shop.
    BTW: DigitalOcean is awesome. However, do you think, It's also meant to be used as a productive system e.g. for customer projects? Or would you consider it's rather for testing and lab purposes?

  14. AMAZING WORKK!! I just have a problem. I installed Magento 2.3.4 and i have XAMPP running PHP 7.2.27 and i ran a local host server. I installed Magento and no issues whatsoever occurred. once i signed in , the loading page is being stuck once i log in into admin. Do you happen to know what the issue might be ? Thanks ^^

Leave a Reply

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