Is there a shell script to install Magento 2.3 and it’s dependencies (Apache, PHP, MySQL)?

Installing and setting up Magento is complex and sometimes frustrating (at least for beginners). One of the main issue is the specific versions, modules and configs that are required of Apache, PHP and MySQL.

 

The only i could find is https://bitnami.com/stack/magento/installer but having issues with this as well on Linux VM’s. Some lib files missing, php configs missing, apache not running (these can be issues to Bitnami dev/community).

 

A script like this https://github.com/teddysun/lamp/blob/master/lamp.sh (with Magento), this way we can control and fix what is installed.

 

Is there any such for Magento?