We are strongly any VPS Server with ubuntu OS. Because it is quite easy to setup and maintain.
To Create an instance please follow the below link.
Create Instance in AWS https://docs.aws.amazon.com/efs/latest/ug/gs-step-one-create-ec2-resources.html
Create Droplets in Digitalocean https://docs.digitalocean.com/products/droplets/how-to/create/
To create security groups in AWS https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html
To enable ports in VPS except AWS https://www.cyberciti.biz/faq/how-to-open-firewall-port-on-ubuntu-linux-12-04-14-04-lts/
Open the ssh terminal using pemfile of your aws instance
Run "sudo apt install apache2" to install an apache2
Run "sudo apt update"
Run "sudo nano /etc/apache2/sites-available/000-default.conf" to edit the config follow next step.
Options -Indexes AllowOverride All Require all granted ErrorDocument 403 "You Don't have a permission to access this URL" ErrorDocument 404 "Requesting Page not Found. Contact admin for further details" </Directory>
Run "sudo service apache2 restart" to restart the apache2.
Please follow the instrctions from the reference link below. And Install the php extensions below. bcmath,bz2,intl,gd,mbstring,mysql,zip,fpm,curl,xml
Reference Link : https://computingforgeeks.com/how-to-install-php-on-ubuntu/
Run the below commands one by one
To create a new user for mysql
Open the path "var/www/html". and dowonload the phpmyadmin package using below command.
Unzip the downloaded package and rename it to "pma".
Please follow the instructions from the reference link below.
jenkins is used to upload the backend app code to the server via git repo.
To install jenkins you need to install JAVA. to install java run this command "sudo apt install openjdk-8-jdk ".
Follow the instructions from the reference link below. and skip the firewal setup.
Follow the instructions from the reference link below. install nodejs & npm as well.
Follow the instructions from the reference link below.
Reference Link: https://laravel.com/docs/8.x/queues#supervisor-configuration
Follow the instructions below & from the reference link.
Install the file
Run the server by below command
Reference Link: https://www.emqx.com/en/downloads?product=broker