OVH Community, votre nouvel espace communautaire.

Upgrade python centos 5.8


gtraxx
03/04/2013, 09h07
Bonjour, j'ai un VPS avec Centos + cpanel dernière version.
Je souhaite installé Trimage (http://trimage.org/) mais celui-ci requiert une version de python au minimum de 2.6.

Seul problème Centos 5 intègre la version 2.4, en faisant un yum impossible de mettre à jour, je pense que les dépôts sont ceux d'ovh.

Donc je m'en retourne à vous même si j'ai trouvé un tuto intéressant (http://fixyourserver.com/update-pyth...entos-servers/), j'ai besoin de de vos conseils.
Ensuite je regarderai pour l'installation de trimage

J'ai installer la version 2.7.3 de python :

Code:
cd /usr/local/src/
wget  http://python.org/ftp/python/2.7.3/Python-2.7.3.tgz
tar -xzvf Python-2.7.3.tgz 
cd Python-2.7.3
./configure -prefix=/usr/local/python.2.7.3/
make
make install
2) Configure cpanel for latest Python as follows in cpanel.config
Code:
python=/usr/local/python.2.7.3/bin/python2.7
Mais si je fais python -V j'ai toujours la version 2.4.3 -_-
Une idée ?