Hello All
I need to install Python 2.4.2 for installing Zope. What is the location for python that should be given in the ./configure --prefix directive?
/usr/lib is for python libraries..isn't it and thats where I find most of python installed except for the python binary in /sbin
Should I uninstall the normal python installed in Centos 4.2 by default before installing from source?
Can someone guide me about how to create a source rpm for Python & Zope and where to find the spec files? Please note that this is my first attempt at building rpm of any kind, so please give me links accordingly. I would like to maintain latest stable release of Python & Zope and if possible, build their rpm and contribute the same to centos contrib repo, since I will be building it anyway. Please guide. I will also need someone to test the rpm, before releasing into contrib, if it is wanted.
With regards. Sanjay.
On Thu, Mar 09, 2006 at 08:24:01PM +0530, Sanjay Arora enlightened us:
I need to install Python 2.4.2 for installing Zope. What is the location for python that should be given in the ./configure --prefix directive?
/usr/lib is for python libraries..isn't it and thats where I find most of python installed except for the python binary in /sbin
Should I uninstall the normal python installed in Centos 4.2 by default before installing from source?
Can someone guide me about how to create a source rpm for Python & Zope and where to find the spec files? Please note that this is my first attempt at building rpm of any kind, so please give me links accordingly. I would like to maintain latest stable release of Python & Zope and if possible, build their rpm and contribute the same to centos contrib repo, since I will be building it anyway. Please guide. I will also need someone to test the rpm, before releasing into contrib, if it is wanted.
First, messing with Python on a Redhat system is likely to break lots of things like the system-config-* scripts, yum, and a handful of other things. Generally not a good idea.
Second, you might check out pyvault (http://www.python.org/pyvault/) as they've already done the hard part for you.
Matt
Sanjay Arora wrote:
Hello All
I need to install Python 2.4.2 for installing Zope. What is the location for python that should be given in the ./configure --prefix directive?
/usr/lib is for python libraries..isn't it and thats where I find most of python installed except for the python binary in /sbin
Should I uninstall the normal python installed in Centos 4.2 by default before installing from source?
Can someone guide me about how to create a source rpm for Python & Zope and where to find the spec files? Please note that this is my first attempt at building rpm of any kind, so please give me links accordingly. I would like to maintain latest stable release of Python & Zope and if possible, build their rpm and contribute the same to centos contrib repo, since I will be building it anyway. Please guide. I will also need someone to test the rpm, before releasing into contrib, if it is wanted.
consider this -> there are a lot of apps that require and are bound to the python version distributed within centos itself. An updated python will almost never make it into any of the centos repositories. if you really really need an updated python, look at the pyvault repo. And remember, you will move a significant number of system components from centos away to pyvault's repo. Your upgrade path and security fix patch for these pkgs and components will also no longer be centos.
On 3/9/06, Karanbir Singh mail-lists@karan.org wrote:
consider this -> there are a lot of apps that require and are bound to the python version distributed within centos itself. An updated python will almost never make it into any of the centos repositories. if you really really need an updated python, look at the pyvault repo. And remember, you will move a significant number of system components from centos away to pyvault's repo. Your upgrade path and security fix patch for these pkgs and components will also no longer be centos.
I did not consider this. CentOS was a delibrate choice as it offered a tested system. Now, requirement of Plone is getting me to upgrade to Python 2.4
My question is: - Pyvault Repo - as the repository is offering the latest Python, the focus must be on introducing the latest software, it would become vulnerable to untested bugs, just as Fedora would be?
- Regarding Leonel's suggestion of installing a second copy of Python into /opt from source & zope/plone into the same...what security risk would I be inviting? I don't want to compromise the entire machine, as it would be on the web & prone to at least the automated probe based attacks, assuming I am not important enuff to be attacked for my own sake.
- I am currently experimenting with Xen. Would moving the machine to a Xen Kernel build & using the standard Centos version for mail & web in one dom and the newer python with zope/plone on second, be a better security model? I am assuming Xen based kernel won't introduce any new vulnerabilities into the Centos...am I correct?
- Or should I get a seperate machine for the Plone CMS altogether, though it would be a waste of resources, because both machines will have little load for at the very least a year.
- Can anyone suggest a Distro, that is has latest python but has a slower release schedule than Fedora & is solid from the point of view of releasing only stable versions of softwares. I want to consider this as an option for a seperate Plone machine.
-OR can anyone suggest a CMS that works with postgreSQL and offers a full workflow model like plone & is as versatile. I would not mind replacing proposed installation plone & remain with Centos, if I can find something as good. I already don't like Plone's half-heated support of postgreSQL and its trying to invent its own web-server instead of using apache, which is rock-solid.
Please comment.
With regards. Sanjay.
On Thu, 2006-03-09 at 23:58 +0530, Sanjay Arora wrote:
On 3/9/06, Karanbir Singh mail-lists@karan.org wrote:
consider this -> there are a lot of apps that require and are bound to the python version distributed within centos itself. An updated python will almost never make it into any of the centos repositories. if you really really need an updated python, look at the pyvault repo. And remember, you will move a significant number of system components from centos away to pyvault's repo. Your upgrade path and security fix patch for these pkgs and components will also no longer be centos.
I did not consider this. CentOS was a delibrate choice as it offered a tested system. Now, requirement of Plone is getting me to upgrade to Python 2.4
My question is:
- Pyvault Repo - as the repository is offering the latest Python, the
focus must be on introducing the latest software, it would become vulnerable to untested bugs, just as Fedora would be?
Absolutely, it would be would only be as secure as the people providing the patches.
- Regarding Leonel's suggestion of installing a second copy of Python
into /opt from source & zope/plone into the same...what security risk would I be inviting? I don't want to compromise the entire machine, as it would be on the web & prone to at least the automated probe based attacks, assuming I am not important enuff to be attacked for my own sake.
This is the only way I would do it ... you do not want to try to upgrade python on a RH based distro. Yum, up2date, rpm, all the system-config-* packages, etc. would fail to funtino properly unless python 2.3 is present.
It would still present security problems ... you will need to track and add all the security updates yourself for this directory.
- I am currently experimenting with Xen. Would moving the machine to a
Xen Kernel build & using the standard Centos version for mail & web in one dom and the newer python with zope/plone on second, be a better security model? I am assuming Xen based kernel won't introduce any new vulnerabilities into the Centos...am I correct?
That would be a good idea ... people might still compromise the other section, but they would not have access to your other install.
- Or should I get a seperate machine for the Plone CMS altogether,
though it would be a waste of resources, because both machines will have little load for at the very least a year.
- Can anyone suggest a Distro, that is has latest python but has a
slower release schedule than Fedora & is solid from the point of view of releasing only stable versions of softwares. I want to consider this as an option for a seperate Plone machine.
Not that I know of ... Enterprise is Enterprise ... cutting edge is cutting edge :)
-OR can anyone suggest a CMS that works with postgreSQL and offers a full workflow model like plone & is as versatile. I would not mind replacing proposed installation plone & remain with Centos, if I can find something as good. I already don't like Plone's half-heated support of postgreSQL and its trying to invent its own web-server instead of using apache, which is rock-solid.
On 3/9/06, Karanbir Singh mail-lists@karan.org wrote:
consider this -> there are a lot of apps that require and are bound to the python version distributed within centos itself. An updated python will almost never make it into any of the centos repositories. if you really really need an updated python, look at the pyvault repo. And remember, you will move a significant number of system components from centos away to pyvault's repo. Your upgrade path and security fix patch for these pkgs and components will also no longer be centos.
atrpms.net also offers a python24 RPM. It installs alongside CentOS's python (just begin your scripts with "#! /usr/bin/python24"), so there shouldn't be any concern of it interfering with other apps that expect CentOS's python. Adding a "includepkgs = python24" to /etc/yum.repos.d/atrpms.repo will prevent other packages from being upgraded.
I'm not sure how this compares to pyvault; much of the same info probably applies there.
Josh Kelley
Sanjay Arora wrote:
Hello All
I need to install Python 2.4.2 for installing Zope. What is the location for python that should be given in the ./configure --prefix directive?
/usr/lib is for python libraries..isn't it and thats where I find most of python installed except for the python binary in /sbin
Should I uninstall the normal python installed in Centos 4.2 by default before installing from source?
Can someone guide me about how to create a source rpm for Python & Zope and where to find the spec files? Please note that this is my first attempt at building rpm of any kind, so please give me links accordingly. I would like to maintain latest stable release of Python & Zope and if possible, build their rpm and contribute the same to centos contrib repo, since I will be building it anyway. Please guide. I will also need someone to test the rpm, before releasing into contrib, if it is wanted.
With regards. Sanjay. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
You can install python 2.4 from source and installit on /opt/python-2.4 then when install zope tell that python is on /opt/python-2.4 this way you don't touch your system files wich can be broken after python install
leonel