Server & CI/CD Set-up

Owner: Project Lead Last revision: 22.07.2022

A guide to installing LEMP Stack (Linux - nginx - MariaDB - PHP) on VPS and setting up a continuous deployment process from a Github repository.

Linode#

Our preferred VPS provider is Linode. The below pages are taken from their guidelines, but should apply to any VPS provider.

Firewall#

nginx#

DNS#

Our preferred DNS provider is Cloudflare.

SSL#

PHP#

MariaDB#

PhpMyAdmin#

Never leave it installed for projects in production!

Composer#

GIT#

NPM#

Jenkins#

Backups#

All the following step shall be done on the CI/CD server: