Showing results for 
Search instead for 
Did you mean: 

Choosing an OS and Web Server and Database

Choosing an OS and Web Server and Database

I recently opened a digital ocean account and there is a Magento 2.4 installation on the Marketplace including ElasticSearch 7 which is now required with 2.4


I started a web store with my shared hosting on shared hosting and already have some issues including inode limits and the last of ability to install ElasticSearch.


As a result, I explored additional options and had intended to install MAgento 2.4 with ElasticSearch on Centos8 using this link: from


However, I now see there are so many options. The DigitalOcean Marketplace installer is using Ubuntu, the article on github above use CentOS


              One uses Apache and the other uses Nginx


              One uses mysql or mariadb and the other uses Percona


I’ve also seen many tutorials on a basic install of magento including just the web server, database and mysql. They all uses different options for the OS, database engine and web server.


I am familiar enough with SSH commands to do this install on my own. But I am more familiar with CentOS commands then Ubuntu.


Nonetheless, given all the options and starting a new online store I want to make the right choices to start.


Can anyone offer and comparisons or recommendations that would help?


Re: Choosing an OS and Web Server and Database

Hello @joe_masciangelo 


Here you go to official Magento document for technical requirements:


I have most of experience with Ubuntu instead of CentOS. 

Manish Mittal

Re: Choosing an OS and Web Server and Database

@joe_masciangelo I will prefer you to choose Ubuntu as it is a way familiar to magento developers and if you got around any issue then you can easily find the solutions on search.


Hope it helps.



Re: Choosing an OS and Web Server and Database

  1. Ubuntu + Apache + MySQL/MariaDB: This combination is widely used, well-documented, and offers good performance. It is a reliable choice for Magento installations, and the DigitalOcean Marketplace installer provides a convenient starting point.

  2. CentOS + Nginx + Percona: If you are more comfortable with CentOS and prefer Nginx's performance benefits, you can choose this combination. Percona can be considered an alternative database engine for improved performance.

Ultimately, the choice depends on your familiarity, requirements, and specific preferences. You may also consider factors like community support, available resources/tutorials, and the expertise of your development team when making your decision.