Re: [SLUG] downgrading from Centos 5 to 4 ?

2012-09-02 Thread Piers Rowan

On Sun, September 2, 2012 2:42 pm, James Linder wrote:

James,

yes, I've been thinking of that, what sort of minimum hardware would you
guesstimate I'd need ?
all I need for Centos is apache php mysql, single cms that has perhaps 5
users at most, if that, just to retrieve docs from doc repository



Set your apache max clients to 6. If the CMS is memory hungry then check 
the log files for:


PHP Fatal error:  Allowed memory size of  bytes exhausted (tried to 
allocate  bytes)


And update the PHP ini file accordingly.

I suspect that you could get a usable system for 5 users in 256MB of RAM 
/ 1 CPU 1.7 is fine or lower) and what ever image size that covers your 
install + growth.


If a CMS is being used for 5 people then it must be a wiki / KB or 
something similar? You could just dump the db and write a PHP navigation 
tool and be done with it.


Cheers

P
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] downgrading from Centos 5 to 4 ?

2012-09-01 Thread lists
On Sun, September 2, 2012 2:42 pm, James Linder wrote:

> Why not run your 'older' version as a VM

James,

yes, I've been thinking of that, what sort of minimum hardware would you
guesstimate I'd need ?
all I need for Centos is apache php mysql, single cms that has perhaps 5
users at most, if that, just to retrieve docs from doc repository

I have an old Proliant DL380 running Centos 4 P3 1.4GHz 2GB, suspect
that's not quite enough ? also, that's way too noisy longer term for where
it's located, even if it had the oomph.

so, I can retrofit C4 on the desktop machine with C5, and, use that (low
on resources, but, whisper quiet)
or, get a better system, have up to date system, and, run CM4 as VM,

I'd prefer the latter option, if I can procure a low cost, low noise,
sufficient ooomph system



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] downgrading from Centos 5 to 4 ?

2012-09-01 Thread James Linder

On 02/09/2012, at 10:00 AM, slug-requ...@slug.org.au wrote:

>>> I have a machine running Centos 5, I'd like to downgrade to Centos 4 in
>>> order to run an older PHP CMS that require 'older' PHP, (it seems
>>> easier to run older system that upgrade the CMS
>> 
>> Going backwards often has security implications and is not recommended.
>> 
>> 
>> Upgrading the CMS would be a safer option.
> 
> Marty,
> 
> ofcourse, but, it's a custom CMS  it's no longer used in production, only
> used as legacy for 5 users only, and, requires login to access (and,
> hopefully login doesn't have security vunerability...), and, is the only
> application on this host
> 
> I've tried putting it on newer system (Centos 5 and 6), it print php code
> to browser (or, won't display page), some of it is might do with code page

Why not run your 'older' version as a VM

James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] downgrading from Centos 5 to 4 ?

2012-09-01 Thread lists
On Sat, September 1, 2012 7:44 pm, Marty Richards wrote:
> On 1/09/2012 4:49 PM, li...@sbt.net.au wrote:
>
>> I have a machine running Centos 5, I'd like to downgrade to Centos 4 in
>>  order to run an older PHP CMS that require 'older' PHP, (it seems
>> easier to run older system that upgrade the CMS
>
> Going backwards often has security implications and is not recommended.
>
>
> Upgrading the CMS would be a safer option.

Marty,

ofcourse, but, it's a custom CMS  it's no longer used in production, only
used as legacy for 5 users only, and, requires login to access (and,
hopefully login doesn't have security vunerability...), and, is the only
application on this host

I've tried putting it on newer system (Centos 5 and 6), it print php code
to browser (or, won't display page), some of it is might do with code page



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] downgrading from Centos 5 to 4 ?

2012-09-01 Thread Marty Richards

On 1/09/2012 4:49 PM, li...@sbt.net.au wrote:

I have a machine running Centos 5, I'd like to downgrade to Centos 4 in
order to run an older PHP CMS that require 'older' PHP, (it seems easier
to run older system that upgrade the CMS


Going backwards often has security implications and is not recommended.

Upgrading the CMS would be a safer option.

Cheers,
Marty

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html



Re: [SLUG] downgrading from Centos 5 to 4 ?

2012-09-01 Thread miloska
>
> do I simply boot from Centos 4 media and run install?
>

I have never tried to do such thing, but I guess the installer would
fail and/or delete everything.

Here is how I would do it (which is probably not the best way ever):
- if there is live data already in the system create backup to two
location and check if you really have the data in both
- see how you get on with the installer
- try to install the CentOS4 php under CentOS 5 or 6
- run CentOS 4 environment in chroot / virtual machine

Good luck!
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] downgrading from Centos 5 to 4 ?

2012-08-31 Thread lists
I have a machine running Centos 5, I'd like to downgrade to Centos 4 in
order to run an older PHP CMS that require 'older' PHP, (it seems easier
to run older system that upgrade the CMS)

do I simply boot from Centos 4 media and run install?

# /sbin/fdisk /dev/hda

The number of cylinders for this disk is set to 3649.

Disk /dev/hda: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   *   1  13  104391   83  Linux
/dev/hda2  14364929206170   8e  Linux LVM


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html