[Herefordshire] Re: Upgrading PHP on remote red hat server
Ben Stephens
foolfodder at gmail.com
Thu Feb 10 08:54:32 GMT 2005
Thanks Julian, that's great,
I have a few questions to follow on,
1. how do I find out what version of redhat i'm running? I know i've
got a file called vmlinux-2.2.19-6.2.16 which i'm going to assume
gives the kernel version.
2. Change log? Readme file?
I don't seem to have yum, at least, I typed in yum and not much
happened, no man page either.
I typed in rpm -q -a and got a list of the installed packages (I
think) and php didn't seem to be in the list, so can I assume that php
is installed along with a different package?
After some research:
NSApache-1.0-120 is the installed package which is the webserver. I
searched for this and I'm fairly sure that this was installed on
Intel® NetStructure™ 1010/1020 Web Hosting Appliances and from the
manual on the site it says that the Webserver is Intel's custom
version of apache which includes PHP, and ssl support. Unfortunately
they don't seem to have released any updates to this package and have
stopped supporting the product. This appliance, according to the
manual, is running a modified version of redhat 6.2.
Any ideas?
Ben
On Wed, 09 Feb 2005 22:41:28 +0000, Julian Robbins <joolsr at fastmail.fm> wrote:
> Hi ben
>
> I'm by no means an expert but a couple of comments :-
>
> You would need to 'Upgrade' your rpm with the -u option not -i for install.
>
> Generally the smaller than incremental cahnge the more likely taht
> something will not break! Going from 4.0.2 to 4.3 may be ok. Going up to
> a version 5 may be different. You may find that you have linked
> dependanicies too, ie php 4.3 may only work with apache vers 'X'. These
> days, 'yum' for redhat/fedora, 'apt-get', or 'urpmi' (Mandrake) can
> handle dependencies pretty well. If you do the old fashioned rpm -U then
> you will have to sort out dependencies (if any) yourself.
>
> Regarding file locations, etc. If it's an rpm rolled for your particular
> distro, ie redhat, fedora and version level, it will be much more likely
> to be ok. If you goto rpmseek.net or rpm.pbone.net then you can select
> the rpm from the distro and specific version you have.
>
> More importantly, if in doubt, on a production server, read the change
> log, and /or readme file. If there are changes to the structure (or a
> slight change in the config file) than its likely they will be
> documented fully.
>
> Just in case, you should possibly consider making a backup or an 'image
> ' of your Linux Distro installation. (like Norton Ghost).
>
> I will be doing some imaging of disks during the next meeting with g4u -
> more details to follow...
>
> Julian
>
>
> Ben Stephens wrote:
> > i've found an rpm called php-4.3.10-3.2.i386.rpm and put it on the
> > server, if I type in
> >
> > rpm -i php-4.3.10-3.2.i386.rpm
> >
> > will that work?
> >
> > Is it dangerous? Could it install things to the wrong place, or
> > overwrite things it shouldn't, i'm not sure how standard the linux
> > setup is on this box.
> >
> > later,
> > Ben
> >
> > On Wed, 9 Feb 2005 09:07:09 +0000, Ben Stephens <foolfodder at gmail.com> wrote:
> >
> >>Hi Guys,
> >>I need to upgrade the php installation on a remote linux server and
> >>don't really no where to start finding out what I need to know to do
> >>this.
> >>
> >>The system has rpm v. 4.0.2 if that's any help but I have no idea how
> >>to use this, or most of the rest of linuxy type stuff.
> >>
> >>Any help / ideas / pointers to places where I can find information
> >>about this appreciated.
> >>
> >>Btw. I've got loads of gmail invites if anyone wants one.
> >>
> >>Ben
> >>
> >
> >
> > _______________________________________________
> > Herefordshire mailing list
> > Herefordshire at mailman.lug.org.uk
> > http://mailman.lug.org.uk/mailman/listinfo/herefordshire
>
More information about the Herefordshire
mailing list