From dae589f32fd0fd6f4d2ea2225271fc293d7b295a Mon Sep 17 00:00:00 2001 From: dqos <8611981+dqos@users.noreply.github.com> Date: Wed, 23 Nov 2022 21:46:45 +0100 Subject: [PATCH] Add POSIX installation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 51eeaa8..5d8dfbf 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ For this installation we will assume that we are working on AlmaLinux 8 or 9. Wa Note: These steps also work with AlmaLinux 9, but it will install PHP 8 instead of 7. 1. Install the required network tools: `dnf install mtr traceroute -y`. -2. Install the web server with PHP (by default it will install 7.2): `dnf install httpd mod_ssl php -y`. +2. Install the web server with PHP (by default it will install 7.2 on RHEL 8): `dnf install httpd mod_ssl php php-posix -y`. 3. Enable and start Apache/PHP-FPM: `systemctl enable httpd; systemctl enable php-fpm` and `systemctl start httpd; systemctl start php-fpm`. 4. Let's help MTR to work, execute the following command: `ln -s /usr/sbin/mtr /usr/bin/mtr` and also mtr helper called mtr-packet: `ln -s /usr/sbin/mtr-packet /usr/bin/mtr-packet`. 5. You *must* configure SELinux before this all works, or you can disable SELinux using `setenforce 0` and possibly make it permanent: `nano /etc/selinux/config` change to `SELINUX=disabled`.