• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.

Question Plesk with django and python

Caps

New Pleskian
Server operating system version
Windows server 2019
Plesk version and microupdate number
18.0.44
I have dedicated Windows server with plesk and i need to add django and python.
I tried to search in Internet and no one said if there is way to install them with plesk
And if i need to host app need django what can I do ?
 
No one in the community seems to have tried this.
It would be helpful if you could share your experiences.
 
Hi @IgorG , i tried this manual, which you recommend: https://support.plesk.com/hc/en-us/...-How-to-install-Django-applications-in-Plesk-

Plesk Obsidian
Version 18.0.52
with Rocky Linux 8.8 (Green Obsidian)
My target: Have to run Django and Python.

The manual says that you have to activate passenger module.
Problem is that in Tools & Settings -> Apache Web Server -> There is no passenger module ( RHEL = mod_passenger)
THERE IS NO PASSENGER MODULE.

How to solve this please?
Regards, Martin
 
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:

  1. 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

  1. 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

  1. Install Apache (If it's not installed)
Before installing the Apache module for Passenger, ensure you have Apache installed:


sudo dnf install httpd

  1. Install mod_passenger
Now, you can install the Passenger Apache module with the following command:


sudo dnf install -y mod_passenger

  1. 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.

  1. 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.
 
Hi @IgorG , i tried this manual, which you recommend: https://support.plesk.com/hc/en-us/...-How-to-install-Django-applications-in-Plesk-

Plesk Obsidian
Version 18.0.52
with Rocky Linux 8.8 (Green Obsidian)
My target: Have to run Django and Python.

The manual says that you have to activate passenger module.
Problem is that in Tools & Settings -> Apache Web Server -> There is no passenger module ( RHEL = mod_passenger)
THERE IS NO PASSENGER MODULE.

How to solve this please?
Regards, Martin

If you install the Node.js Toolkit, Passenger will be installed.
 
Back
Top