Kilian / Trimage

A cross-platform tool for optimizing PNG and JPG files.
http://trimage.org
MIT License
706 stars 55 forks source link

Trimage install centos 5.8 with cpanel 11.36.x #23

Closed wsw-aurelien closed 11 years ago

wsw-aurelien commented 11 years ago

Hello, I installed python version 2.7.3 in centos 5.8 with script :

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

If python -V it displays 2.4.3 :(

Do you have any idea? I would like to install Trimage !! There he is an example installation on centos?

Best regards

Kilian commented 11 years ago

Hi wsw-aurelien, cpanel is not the place to configure python for your system (It's the layer for configuring your webserver, not the computer itself), A sysadmin can hlp you further with this.

However, Trimage requires an X-server, if you just want to set up imagecompression on your webserver, you should work with the commandline options themselves (optiping, jpegoptim etc.)

wsw-aurelien commented 11 years ago

ok thank you, I'll follow your advice :)