Re: [CentOS-docs] Doc for the Wiki

2008-04-09 Thread John
On Wed, 2008-04-09 at 11:10 -0400, Chris Mauritz wrote:
> John wrote:
> > I just skimed through reading it. I would like to know if you can do
> > this install on CentOS 5.1 pulling all the packages from the centos yum
> > repos? Watch out that install of Python2.4.5. A user may have both
> > versions installed at once.  /usrbin/python2.4.4
> > and /usr/bin/python2.4.5 sudo make altinstall?? I assume we are not
> > breaking original apps?
> > 
> > Not for the beginner at heart. Can you do it all from Originality?
> > Instead of following another article?
> 
> I dealt with having multiple instances of Python by placing the newer 
> version in /usr/local.  It all seems to work without any problem.
> 
> Hah.  If those packages were available, I would not have wasted any time 
> to compile them by myself.  :)  Creating custom packages is a bit beyond 
> my skill level, I think...or at least I've never had the time to spend 
> trying to do one by myself.  If someone wanted to help me with creating 
> rpms from the tarballs, I'd be happy to re-do the proposed wiki document.
> 
Just a to clarify for me.
Just asking how many *.rpms would have to be built from the tar.gz's.
Guess I could reread your How To.:-( 

Is there a reason it want run on the install base of Python on 5.0 and
5.1? Just wanting to also know for myself when you done it did any of
the system-config tools break? Or I am confusing my self?
All of redhats config tools ran on the original install of python
correct? Plone and Zope ran on the Alternate Install of 2.4.5 right?

> Cheers,
> 
> Chris
> ___
> CentOS-docs mailing list
> CentOS-docs@centos.org
> http://lists.centos.org/mailman/listinfo/centos-docs
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] becoming root

2008-04-09 Thread Rafał Ślubowski
2008/4/9, Alan Bartlett <[EMAIL PROTECTED]>:
>
> I seem to recall  from the Gnome desktop brings up a "run menu".
> Whether one can run a command with enhanced powers, I'm not sure.

Yes,  brings "run menu", but there is no place to tell which
user should run that command. Of course, one can type 'sudo -s' and
pick checkbox "Run in terminal".

Regards,
Rafal
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Doc for the Wiki

2008-04-09 Thread Alan Bartlett
On 09/04/2008, Daniel de Kok <[EMAIL PROTECTED]> wrote:
>
> Which is a bad idea anyway, since it defies the goal of an enterprise
> distribution. If there is a serious need for this (e.g. because a
> major application requires it), we should consider looking into
> providing Python packages that can be installed in parallel (like we
> did for C3).
>
> The thing is that we can't support it. And people will mess up their
> systems with manual installation of things. And such problems are hard
> to "debug".


That is exactly what we told the OP on the forum. And to this day I don't
know if he resolved his problem or just re-installed the OS.

Alan.
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] becoming root

2008-04-09 Thread John
On Wed, 2008-04-09 at 18:19 +0100, Alan Bartlett wrote:
> On 09/04/2008, John <[EMAIL PROTECTED]> wrote:
> As I remember Gnome did have an Application Launcher "run
> cmd". It is
> not in the current or last versions. I do not know when it was
> took out.
> Create Launcher is similiar. Ther's Lauch App in app picker?
> 
> 
> I seem to recall  from the Gnome desktop brings up a "run
> menu". Whether one can run a command with enhanced powers, I'm not
> sure.
> 

Yep that would be it. I think it used to be in the Application Menu. I
guess it is a ALT-F2 now instead of a click click app.
> Alan.
> ___
> CentOS-docs mailing list
> CentOS-docs@centos.org
> http://lists.centos.org/mailman/listinfo/centos-docs
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Doc for the Wiki

2008-04-09 Thread Daniel de Kok
On Wed, Apr 9, 2008 at 7:45 PM, Alan Bartlett <[EMAIL PROTECTED]> wrote:
> On 09/04/2008, Ralph Angenendt <[EMAIL PROTECTED]> wrote:
>
> > My second problem is with the source build of all those packages.
> > Building from source is something that we strongly advocate against in
> > all other support venues (irc, mailing lists, probably also forums).
> >
> > And now I let others chime in.
>
> Dong. We had a case in the fora a short while ago of someone deciding to
> build, from source, the latest version of python.

Which is a bad idea anyway, since it defies the goal of an enterprise
distribution. If there is a serious need for this (e.g. because a
major application requires it), we should consider looking into
providing Python packages that can be installed in parallel (like we
did for C3).

The thing is that we can't support it. And people will mess up their
systems with manual installation of things. And such problems are hard
to "debug".
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Doc for the Wiki

2008-04-09 Thread Alan Bartlett
On 09/04/2008, Ralph Angenendt
<[EMAIL PROTECTED]<[EMAIL PROTECTED]>>
wrote:
>
> My second problem is with the source build of all those packages.
> Building from source is something that we strongly advocate against in
> all other support venues (irc, mailing lists, probably also forums).
>
> And now I let others chime in.


Dong. We had a case in the fora a short while ago of someone deciding to
build, from source, the latest version of python.
Dong. Completely wreaked his system and wanted help in attempting to recover
it.
Dong. I see no problem with a guide offering instructions in building from
source as long as it is thoroughly tested (as I'm sure it will be) and a
warning/disclaimer along the lines of "This is an unapproved technique . . .
blah, blah, . . . and if it breaks your system, you get to keep all the
pieces.", etc, displayed prominently at its head.

Just my £0.02/$0.04.

Alan.
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] becoming root

2008-04-09 Thread Alan Bartlett
On 09/04/2008, John <[EMAIL PROTECTED]> wrote:
>
> As I remember Gnome did have an Application Launcher "run cmd". It is
> not in the current or last versions. I do not know when it was took out.
> Create Launcher is similiar. Ther's Lauch App in app picker?


I seem to recall  from the Gnome desktop brings up a "run menu".
Whether one can run a command with enhanced powers, I'm not sure.

Alan.
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Doc for the Wiki

2008-04-09 Thread Daniel de Kok
On Wed, Apr 9, 2008 at 5:51 PM, Akemi Yagi <[EMAIL PROTECTED]> wrote:
[snip]
>  alternative methods to get the desired program/software.  There are,
>  however, situations in which compiling from the source is the only
>  way.  In this case, I will try to make sure the procedure does not
>  touch any distro-provided files.

It seems plone is in RPMForge?
http://dries.ulyssis.org/apt/packages/plone/info.html

Maybe someone can help Dag and Dries updating this to the latest Plone?

Take care,
Daniel
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Doc for the Wiki

2008-04-09 Thread Akemi Yagi
On Wed, Apr 9, 2008 at 5:26 AM, Ralph Angenendt <[EMAIL PROTECTED]> wrote:
> Chris Mauritz wrote:

>  My second problem is with the source build of all those packages.
>  Building from source is something that we strongly advocate against in
>  all other support venues (irc, mailing lists, probably also forums).

Well, I can probably speak for the forums :-)  Yes, whenever someone
asks how to compile from source, we discourage it and provide possible
alternative methods to get the desired program/software.  There are,
however, situations in which compiling from the source is the only
way.  In this case, I will try to make sure the procedure does not
touch any distro-provided files.

If the software is popular and its addition to "CentOS-approved"
repository is not on the horizon, I think we should offer the correct
instructions on how to install it.  Otherwise, users would go ahead
and do it anyway on their own just to mess up their systems.  We just
have to make clear on the wiki that the procedure is not supported by
CentOS.  Good example are seen in the Custom Kernel /Modules wiki
articles.  A big warning sign is presented on those pages.  The fact
is that quite a few people come to these articles for various reasons
and are being helped.

Akemi

>  And now I let others chime in.
>
>  Cheers,
>
>  Ralph
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Doc for the Wiki

2008-04-09 Thread Chris Mauritz

John wrote:

I just skimed through reading it. I would like to know if you can do
this install on CentOS 5.1 pulling all the packages from the centos yum
repos? Watch out that install of Python2.4.5. A user may have both
versions installed at once.  /usrbin/python2.4.4
and /usr/bin/python2.4.5 sudo make altinstall?? I assume we are not
breaking original apps?

Not for the beginner at heart. Can you do it all from Originality?
Instead of following another article?


I dealt with having multiple instances of Python by placing the newer 
version in /usr/local.  It all seems to work without any problem.


Hah.  If those packages were available, I would not have wasted any time 
to compile them by myself.  :)  Creating custom packages is a bit beyond 
my skill level, I think...or at least I've never had the time to spend 
trying to do one by myself.  If someone wanted to help me with creating 
rpms from the tarballs, I'd be happy to re-do the proposed wiki document.


Cheers,

Chris
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Doc for the Wiki

2008-04-09 Thread Daniel de Kok
On Wed, Apr 9, 2008 at 2:34 PM, Ralph Angenendt <[EMAIL PROTECTED]> wrote:
> Chris Mauritz wrote:
>  > Building from source wasn't my preference either, but there aren't any up
>  > to date packages available.  Anyhow, I modified the document for my own use
>  > in case I need to do it again.  If you'd like to exclude it for the
>  > "compiled from source" reason alone, that's fine with me.
>
>  That's why I'd like to wait for others to chime in >:)

I have to agree, I don't think we should discourage on one hand, and
then advocate it. If the necessary packages are missing, we should try
to get them in one of the repositories that we recommend.

-- Daniel
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-docs] CentOS Build

2008-04-09 Thread John
Johnny, or any one to answer.

http://www.linuxhelp.net/forums/How_to_Build_Enterprise_Srpms_t3384.html

As it seems this was done in 2004. Is there an updated version to it?
Also the required pckages needed. I have the info from WBL site and
various scripts from the centos site.

What i am really interested in is the main os rebuild with anaconda
runtime. I'm not after creating a live image. 

Great article.
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Doc for the Wiki

2008-04-09 Thread John
On Wed, 2008-04-09 at 08:32 -0400, Chris Mauritz wrote:
> Ralph Angenendt wrote:
> > Chris Mauritz wrote:
> >> Daniel de Kok wrote:
> >>> On Wed, Apr 9, 2008 at 12:00 AM, Chris Mauritz <[EMAIL PROTECTED]> wrote:
>  I've modified/updated an existing HowTo (for RHEL) I found on the net
>  detailing how to install the following on a "virgin" CentOS 5.1 install:
> >>> Can the original HOWTO can be redistributed, preferably under the
> >>> Creative Commons Attribution-Share Alike 3.0 license?
> >> I don't know.  I've included a link to the original (which itself seems to 
> >> be a "refresher" of yet another person's version) in the doc.
> > 
> > I have two problems with this. a) I don't see that we can "just take"
> > this document and put it under a "Creative Commons Attribution-Share
> > Alike 3.0 license" - which is our wiki license. This should be cleared
> > by the original author.
> > 
> > My second problem is with the source build of all those packages.
> > Building from source is something that we strongly advocate against in
> > all other support venues (irc, mailing lists, probably also forums).
> > 
> > And now I let others chime in.
> 
> Building from source wasn't my preference either, but there aren't any 
> up to date packages available.  Anyhow, I modified the document for my 
> own use in case I need to do it again.  If you'd like to exclude it for 
> the "compiled from source" reason alone, that's fine with me.  If not, 
> and you'd like me to request permission from the original author(s), I 
> am happy to do that.

I just skimed through reading it. I would like to know if you can do
this install on CentOS 5.1 pulling all the packages from the centos yum
repos? Watch out that install of Python2.4.5. A user may have both
versions installed at once.  /usrbin/python2.4.4
and /usr/bin/python2.4.5 sudo make altinstall?? I assume we are not
breaking original apps?

Not for the beginner at heart. Can you do it all from Originality?
Instead of following another article?


> Best regards,
> 
> Chris
> ___
> CentOS-docs mailing list
> CentOS-docs@centos.org
> http://lists.centos.org/mailman/listinfo/centos-docs
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] becoming root

2008-04-09 Thread John
On Wed, 2008-04-09 at 00:10 +0200, Rafał Ślubowski wrote:
> 2008/4/8, Ned Slider <[EMAIL PROTECTED]>:
> 
> >  I've put up a draft page here to get us started:
> >
> >  http://wiki.centos.org/TipsAndTricks/BecomingRoot
> >
> >  Do you have edit permissions? If not, hopefully Ralph can get you fixed up.
> 
> No, I have edit permissions only for Laptops. My username is
> RafalSlubowski - Ralph, could you give me rights to TipsAndTricks?
> 
> > > There is a gnomesu (http://xsu.sourceforge.net/) project.
> >
> >  Is this included on a standard CentOS gnome install?

NO.. It states that on the Project Page...
> 
> I don't think so - yum cannot find it.
> 
> Regards,
> Rafal
> ___
> CentOS-docs mailing list
> CentOS-docs@centos.org
> http://lists.centos.org/mailman/listinfo/centos-docs
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] becoming root

2008-04-09 Thread John
On Tue, 2008-04-08 at 17:30 +0100, Ned Slider wrote:
> Rafał Ślubowski wrote:
> > 2008/4/6, Alan Bartlett <[EMAIL PROTECTED]>:
> > 
> >> Perhaps a mention of sudo and sudoers could also be made?
> > 
> > And consolehelper for GUI users.
> > 
> > Regards,
> > Rafal
> 
> Hi Rafał,
> 
> I've had a quick look at consolehelper, and I'm still not sure I fully 
> understand how it works, at least enough to be able to write a section 
> on it. I understand it uses pam authentication when running a program 
> that requires root privileges and requests the root password 
> (system-config-services being an example), but I don't fully understand 
> how a user would use it, although I see any application could 
> potentially be configured in /etc/pam.d/
> 
> My initial intent was to write a short article to be useful to beginners 
> explaining how they could become root in order to achieve common tasks 
> (as opposed to logging in to the GUI desktop as root!) and highlight 
> some of the common pitfalls ('su' vs 'su -'), as much to serve as a 
> quick FAQ for forum helpers to link to rather than explaining it over 
> and over again. I fear it is beyond my abilities/knowledge to expand the 
> article much further than this.
> 
> How far such an article should be expanded, and whether we wish to cover 
> every conceivable method for launching something with root privileges is 
> probably not something for me to answer. That said, if you'd (or anyone) 
> like to expand on my initial remit and write an additional section, 
> please feel free :)
> 
> On an additional note, whilst investigating consolehelper, I also 
> noticed the "Run Command..." option on the KDE Menu (for those who don't 
> use KDE, it's a graphical run box that also allows one to specify a 
> different users credentials). I could see how that would be useful to 
> new users who are afraid of the command line, and should maybe be 
> included, but again I have no knowledge of the underlying mechanism by 
> which it works. Perhaps a gnome user could advise if gnome has similar 
> functionality?

As I remember Gnome did have an Application Launcher "run cmd". It is
not in the current or last versions. I do not know when it was took out.
Create Launcher is similiar. Ther's Lauch App in app picker?


> 
> Regards,
> 
> Ned
> 
> 
> ___
> CentOS-docs mailing list
> CentOS-docs@centos.org
> http://lists.centos.org/mailman/listinfo/centos-docs
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Wiki Link

2008-04-09 Thread John
On Tue, 2008-04-08 at 10:53 +0200, Ralph Angenendt wrote:
> John wrote:
> > Mention of The Xen-Kernel:
> > 
> > Just a thought here. I never used the proprietary nvidia driver with the
> > xen kernel on any install of it I've done. But I beg to know why would
> > you even want to run that when you running Xen? If your running Xen then
> > your not after video acceleration correct? You after I/O and Memory
> > Bandwidth.
> 
> I'd like to have xen on my Desktop machine, which has 4GB of RAM. The nv
> driver doesn't really work with the card in my machine when using 2
> monitors.
> 
> But: Don't even bother to test, the nvidia driver does not work with a
> xen kernel. There have been patches floating around, which lead to a
> very unstable system.

Noted Thanks... As a side note VM-Ware does work with it. The Graphics
response time is much better. 
This does bring a thought to my mind I have a dual output ATI in my
sisters machine. Wonder how that works? I'll check that out later on.
> 
> Cheers,
> 
> Ralph
> ___
> CentOS-docs mailing list
> CentOS-docs@centos.org
> http://lists.centos.org/mailman/listinfo/centos-docs
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Doc for the Wiki

2008-04-09 Thread Ralph Angenendt
Chris Mauritz wrote:
> Building from source wasn't my preference either, but there aren't any up 
> to date packages available.  Anyhow, I modified the document for my own use 
> in case I need to do it again.  If you'd like to exclude it for the 
> "compiled from source" reason alone, that's fine with me. 

That's why I'd like to wait for others to chime in >:)

Cheers,

Ralph


pgpBxsVRSJG6q.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Doc for the Wiki

2008-04-09 Thread Chris Mauritz

Ralph Angenendt wrote:

Chris Mauritz wrote:

Daniel de Kok wrote:

On Wed, Apr 9, 2008 at 12:00 AM, Chris Mauritz <[EMAIL PROTECTED]> wrote:

I've modified/updated an existing HowTo (for RHEL) I found on the net
detailing how to install the following on a "virgin" CentOS 5.1 install:

Can the original HOWTO can be redistributed, preferably under the
Creative Commons Attribution-Share Alike 3.0 license?
I don't know.  I've included a link to the original (which itself seems to 
be a "refresher" of yet another person's version) in the doc.


I have two problems with this. a) I don't see that we can "just take"
this document and put it under a "Creative Commons Attribution-Share
Alike 3.0 license" - which is our wiki license. This should be cleared
by the original author.

My second problem is with the source build of all those packages.
Building from source is something that we strongly advocate against in
all other support venues (irc, mailing lists, probably also forums).

And now I let others chime in.


Building from source wasn't my preference either, but there aren't any 
up to date packages available.  Anyhow, I modified the document for my 
own use in case I need to do it again.  If you'd like to exclude it for 
the "compiled from source" reason alone, that's fine with me.  If not, 
and you'd like me to request permission from the original author(s), I 
am happy to do that.


Best regards,

Chris
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Doc for the Wiki

2008-04-09 Thread Ralph Angenendt
Chris Mauritz wrote:
> Daniel de Kok wrote:
>> On Wed, Apr 9, 2008 at 12:00 AM, Chris Mauritz <[EMAIL PROTECTED]> wrote:
>>> I've modified/updated an existing HowTo (for RHEL) I found on the net
>>> detailing how to install the following on a "virgin" CentOS 5.1 install:
>>
>> Can the original HOWTO can be redistributed, preferably under the
>> Creative Commons Attribution-Share Alike 3.0 license?
>
> I don't know.  I've included a link to the original (which itself seems to 
> be a "refresher" of yet another person's version) in the doc.

I have two problems with this. a) I don't see that we can "just take"
this document and put it under a "Creative Commons Attribution-Share
Alike 3.0 license" - which is our wiki license. This should be cleared
by the original author.

My second problem is with the source build of all those packages.
Building from source is something that we strongly advocate against in
all other support venues (irc, mailing lists, probably also forums).

And now I let others chime in.

Cheers,

Ralph


pgpMjDKqeeT1n.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Doc for the Wiki

2008-04-09 Thread Chris Mauritz

Daniel de Kok wrote:

On Wed, Apr 9, 2008 at 12:00 AM, Chris Mauritz <[EMAIL PROTECTED]> wrote:

I've modified/updated an existing HowTo (for RHEL) I found on the net
detailing how to install the following on a "virgin" CentOS 5.1 install:


Can the original HOWTO can be redistributed, preferably under the
Creative Commons Attribution-Share Alike 3.0 license?


I don't know.  I've included a link to the original (which itself seems 
to be a "refresher" of yet another person's version) in the doc.  I only 
made enough relatively minor changes to account for the fact that it's 
CentOS (instead of RHEL) and updated the versions of the bits to be the 
latest as of yesterday.


Here it is:

= Install Plone on CentOS 5.1 =

This process will help you build a usable Zope 2.10.5/Plone 3.0.6 
install on Centos 5.1 for development purposes. The Zope instance will 
be created in a production-like environment.


These instructions will provide you with the following software:

 * Python 2.4.5
 * Python Imaging Library 1.1.6
 * Zope 2.10.5
 * Plone 3.0.6

These instructions were adapted/edited/updated from the excellent 
instructions at 
https://weblion.psu.edu/trac/weblion/wiki/InstallPloneThreeOnRedHatEnterpriseLinuxFive. 
 The installation was performed on a "virgin" 5.1 install with all the 
latest updates as of April 08, 2008.


== Step 1: Development Tools ==

We can use yum to install some of the prerequisites in advance.  It 
would be nice if someone packaged up more modern incarnations of Plone, 
Zope, and Python 2.4.5 (that lives in /usr/local so it doesn't break a 
lot of the tools that ship with CentOS) if anyone feels the urge.  A 
typical package install from cli is 'yum install  
[optional version-number]'.


If you're starting with a stock CentOS install, make sure the 
development tools are installed. A quick way to test this is to open a 
terminal window and type:


$ gcc

...will yield a response something like this if development tools are 
installed:


   gcc: no input files

...or, if development tools are not installed, the response will be...

   -bash gcc: command not found

You'll need to install the developer package RPMs from your installation 
CDs or via yum before continuing. Installing the following packages via 
RPM should get you going:


 * gcc
 * gcc-c++

These two packages will install several others on which they depend.

PIL (Python Imaging Library) has a few prerequisites.

 * zlib
 * zlib-devel
 * libjpeg
 * libjpeg-devel
 * freetype
 * freetype-devel

Make sure these packages are installed on your system (via 'yum list 
zlib zlib-devel libjpeg libjpeg-devel freetype freetype-devel'). If 
they're missing, you can install them via 'sudo yum install 
'. If you selected the Development option when installing 
CentOS they should already be installed.



== Step 2: Python version ==

Upgrading Python will be our first task. CentOS5 ships with Python 
2.4.3.  WARNING: Redhat uses Python for many of their system management 
tools (including yum) so CentOS does too.  As a result, you want to make 
sure you don't overwrite the existing Python installation.


The best method as of this writing is to install Python 2.4.5 from 
source. While RPMs for Python are available from the 
[http://www.python.org/download/releases/2.4/rpms Python Web site], 
these RPMs are a bit dated, and may contain bugs and security 
vulnerabilities.


Change your directory to your preferred download directory. We'll use 
/usr/local/src for this procedure.


$ cd /usr/local/src

Download the archive file.

$ sudo curl -v -O 
http://www.python.org/ftp/python/2.4.5/Python-2.4.5.tgz


Unpack the source archive (.tgz).

$ sudo tar -zxvf Python-2.4.5.tgz

Change directory into the Python-2.4.5 directory:

$ cd Python-2.4.5

Run the typical configure/make/make install sequence.

$ sudo ./configure

(By default, Python will configure installation in /usr/local. This 
should be sufficient to keep it from conflicting with your existing 
stock Python installation. If you want the Python 2.4 files to live 
somewhere else, use the --prefix directive to configure  - this is left 
as an exercise to the reader).


If the configuration step completes successfully, type:

   $ sudo make

This will compile the C source code to the Python interpreter and all of 
the Python libraries into the form needed to run it on this system.


When the 'make' command completes, install the files to your file 
system. NOTE: If you're installing Python to a central directory (like 
/usr/local as in the default case), you'll need to do this as the 
superuser, as non-privileged users can't generally write to that part of 
the filesystem. The install command is:


$ sudo make altinstall

WARNING: If just do 'make install', the default install will place a 
copy of the Python 2.4.5 interpreter at /usr/local/bin/python. If 
/usr/local/bin is in your path ahead of /usr/bin, any Python programs 
you run (such as CentOS utiliti

Re: [CentOS-docs] Doc for the Wiki

2008-04-09 Thread Daniel de Kok
On Wed, Apr 9, 2008 at 12:00 AM, Chris Mauritz <[EMAIL PROTECTED]> wrote:
> I've modified/updated an existing HowTo (for RHEL) I found on the net
> detailing how to install the following on a "virgin" CentOS 5.1 install:

Can the original HOWTO can be redistributed, preferably under the
Creative Commons Attribution-Share Alike 3.0 license?

-- Daniel
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Doc for the Wiki

2008-04-09 Thread Ralph Angenendt
Chris Mauritz wrote:
> I've modified/updated an existing HowTo (for RHEL) I found on the net 
> detailing how to install the following on a "virgin" CentOS 5.1 install:
>
> Python 2.4.5
> Python Imaging Library 1.1.6
> Zope 2.10.5
> Plone 3.0.6 Content Management System
>
> Do I just email it to this list?  It's about 6 pages long.

Why not? You can also put it on the wiki (afterwards), but why not let
us see what you have beforehand? >:)

Cheers,

Ralph


pgp8ihOhdxaJl.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] becoming root

2008-04-09 Thread Ralph Angenendt
Rafał Ślubowski wrote:
> 2008/4/8, Ned Slider <[EMAIL PROTECTED]>:
> 
> >  I've put up a draft page here to get us started:
> >
> >  http://wiki.centos.org/TipsAndTricks/BecomingRoot
> >
> >  Do you have edit permissions? If not, hopefully Ralph can get you fixed up.
> 
> No, I have edit permissions only for Laptops. My username is
> RafalSlubowski - Ralph, could you give me rights to TipsAndTricks?

Go ahead. I gave you permissions on that page.

Cheers,

Ralph


pgp6CSIbnnbgv.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs