I installed Python this way on
Plesk Obsidian
Version 18.0.52
with Rocky Linux 8.8 (Green Obsidian)
To install the Apache Passenger module on Rocky Linux 8.8, follow these steps. Note that you need root privileges (via sudo or su) to run these commands:
- Add EPEL Repository
Passenger is available in the Extra Packages for Enterprise Linux (EPEL) repository. If you haven't already added this repository, you can do so with:
sudo dnf install
https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf update
- Enable the Passenger Repository
Next, enable the Phusion's passenger repository:
sudo dnf install
https://oss-binaries.phusionpassenger.com/yum/passenger/el/8/passenger-release.noarch.rpm
- Install Apache (If it's not installed)
Before installing the Apache module for Passenger, ensure you have Apache installed:
sudo dnf install httpd
- Install mod_passenger
Now, you can install the Passenger Apache module with the following command:
sudo dnf install -y mod_passenger
- Check the Installation
After the installation completes, verify that Passenger is installed correctly with the following command:
/usr/bin/passenger-config validate-install
And also check whether Apache correctly loads the Passenger module:
/usr/sbin/apachectl -t -D DUMP_MODULES
You should see passenger in the output list if it's correctly loaded.
- Start Apache
Finally, if Apache isn't already running, start it with:
sudo systemctl start httpd
And to ensure it starts on boot:
sudo systemctl enable httpd
Note: You should replace httpd with your actual Apache service name if it's different on your system.