• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Question upgrade python and Django installation

EduardoM

New Pleskian
Server operating system version
CentOS Linux 7.9.2009 (Core)
Plesk version and microupdate number
Plesk Obsidian Version 18.0.57 Update #5, last updated on Dec 20, 2023 03:52 AM
Hello, I have a VPS contract with Contabo (Germany) with the Plesk panel, and I also have SSH root access to the server.

I would like to deploy an API in Django/PostgreSQL, I already created the Postgre 15 database and I don't know how to do it to deploy the Django app (4.2.8)
The server has version 2.7.5 and 3.6.8 of Python installed and I installed mod_python via SSH according to the tutorials on this forum.
1707510192455.png
1707510244863.png
1707510312663.png


Can I install a third version of Python like 3.10.12, which is the one I worked with locally? Or should I update the 3.6.8 I already have?

Will it be necessary to apply the update to Alma8 as offered?
1707509833967.png

Once you have the correct version of Python on the server, how do you proceed to get Django (4.2.8.) to work correctly?

I am grateful in advance for your great support.
EM
 
Back
Top