php-fpm

Caddy + Drupal 7 on Rocky Linux 8

Let me introduce you guide about deployment of Drupal 7 on VDS/VPS with Caddy web-server. Assume that server has about 500 megabytes of RAM and Rocky Linux 8 is pre-installed (most likely, it will be the same under Alma or Oracle). In my opinion RHEL 9.x family is too "heavy" for such setup.

Since we are talking about VDS/VPS console commands most likely will be executed as root, so there will be a # sign in examples. If you are not root, then most or even all commands must be led by sudo.

Drupal & CentOS 7 LEMP (Linux, Nginx, MariaDB, php-fpm)

About installation of CentOS, Drupal and company.

CentOS 7

Install CentOS itself and then yum update or yum upgrade.

For your convenience install Midnight Commander:

# yum install mc

Usually I'm using VirtualBox with two ethernet adapters - NAT and Host-only. In than case second adapter doesn't start automatically. To enable:

/etc/sysconfig/network-scripts/ifcfg-enp0s8

ONBOOT=yes

firewalld is blocking access. You can disable it at all or add services (rules) like this: