LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-16-2004, 02:28 AM   #1
igbe
LQ Newbie
 
Registered: Jul 2004
Location: San Diego, CA
Posts: 6

Rep: Reputation: 0
Mandrake 10 upgrade Apache


All,

Running apache 2.0.48 that came with the Mandrake 10 install, but looking over some of the fixes I would like to upgrade to 2.0.51 but keep all my modules and settings in tact. Would an RPM do this on its own? Is one available to do this? If not.....

1) Can this be done?
2) How can it be done? (Anyone got a site with details that would help out)

Thanks!

John
 
Old 09-16-2004, 06:50 PM   #2
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Rep: Reputation: 30
You can do it two ways when using URPMI (if not, tell me):

1st way:

urpmi.updatemedia -a;
urpmi --update --auto --autoselect

This isn't specific for apache, but updates your whole box (if you've defined an updated mirror (please tell if you don't know how to do that)).
urpmi apache2 --update should work if you'd like to upgrade apache only.

If that doesn't work, you can uninstall apache and reinstall the new version:


go to the console, login as root (su) and type rpmdrake-remove
then remove apache. Aftre that type urpmi apache2 .... that's all
 
Old 09-16-2004, 08:01 PM   #3
igbe
LQ Newbie
 
Registered: Jul 2004
Location: San Diego, CA
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Boudewijn
You can do it two ways when using URPMI (if not, tell me):

1st way:

urpmi.updatemedia -a;
urpmi --update --auto --autoselect

This isn't specific for apache, but updates your whole box (if you've defined an updated mirror (please tell if you don't know how to do that)).
urpmi apache2 --update should work if you'd like to upgrade apache only.

If that doesn't work, you can uninstall apache and reinstall the new version:


go to the console, login as root (su) and type rpmdrake-remove
then remove apache. Aftre that type urpmi apache2 .... that's all
I get all updates are installed but Apache remains 2.0.48. The urpmi apache2 --update command also says everything is installed. Am I setup for the wrong mirror or something?

Thanks,

John
 
Old 09-16-2004, 08:21 PM   #4
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Rep: Reputation: 30
I just took a look at rpm.pbone.net and rpmfind.net --> both did not have a recent apache

SuSE 9.X ftp.suse.com/pub/suse/i386/9.0/suse/i586/apache2-2.0.48-9.i586.rpm
SuSE 9.X ftp.suse.com/pub/suse/i386/9.1/suse/i586/apache2-2.0.49-23.i586.rpm
SuSE 9.X ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/apache2-2.0.49-27.11.i586.rpm
SuSE 9.X ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/apache2-2.0.49-27.14.i586.rpm
SuSE 9.X ftp.suse.com/pub/projects/apache/apache2/9.1-i386/apache2-2.0.50-6.1.i586.rpm
SuSE 9.X ftp.suse.com/pub/people/poeml/apache2/9.1-i386/apache2-2.0.50-6.1.i586.rpm
SuSE 8.X ftp.suse.com/pub/people/poeml/apache2/8.2-i386/apache2-2.0.50-7.i586.rpm
SuSE 8.X ftp.suse.com/pub/projects/apache/apache2/8.1-i386/apache2-2.0.50-7.i586.rpm
SuSE 9.X ftp.suse.com/pub/people/poeml/apache2/9.0-i386/apache2-2.0.50-7.i586.rpm
SuSE 8.X ftp.suse.com/pub/people/poeml/apache2/8.1-i386/apache2-2.0.50-7.i586.rpm
SuSE 8.X ftp.suse.com/pub/projects/apache/apache2/8.2-i386/apache2-2.0.50-7.i586.rpm
SuSE 9.X ftp.suse.com/pub/projects/apache/apache2/9.0-i386/apache2-2.0.50-7.i586.rpm
ALTLinux ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/apache2-2.0.50-alt3.i586.rpm

Is from rpm.pbone.net (this is the newest). So I guess almost no mirrors containt apache 2.0.51

You can do 2 things:

Compile it yourself (it isn't hard, i can help you if you like)

or wat for the RPM to be released (can take some time , and is slower)
 
Old 09-16-2004, 08:28 PM   #5
igbe
LQ Newbie
 
Registered: Jul 2004
Location: San Diego, CA
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Boudewijn
I just took a look at rpm.pbone.net and rpmfind.net --> both did not have a recent apache

SuSE 9.X ftp.suse.com/pub/suse/i386/9.0/suse/i586/apache2-2.0.48-9.i586.rpm
SuSE 9.X ftp.suse.com/pub/suse/i386/9.1/suse/i586/apache2-2.0.49-23.i586.rpm
SuSE 9.X ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/apache2-2.0.49-27.11.i586.rpm
SuSE 9.X ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/apache2-2.0.49-27.14.i586.rpm
SuSE 9.X ftp.suse.com/pub/projects/apache/apache2/9.1-i386/apache2-2.0.50-6.1.i586.rpm
SuSE 9.X ftp.suse.com/pub/people/poeml/apache2/9.1-i386/apache2-2.0.50-6.1.i586.rpm
SuSE 8.X ftp.suse.com/pub/people/poeml/apache2/8.2-i386/apache2-2.0.50-7.i586.rpm
SuSE 8.X ftp.suse.com/pub/projects/apache/apache2/8.1-i386/apache2-2.0.50-7.i586.rpm
SuSE 9.X ftp.suse.com/pub/people/poeml/apache2/9.0-i386/apache2-2.0.50-7.i586.rpm
SuSE 8.X ftp.suse.com/pub/people/poeml/apache2/8.1-i386/apache2-2.0.50-7.i586.rpm
SuSE 8.X ftp.suse.com/pub/projects/apache/apache2/8.2-i386/apache2-2.0.50-7.i586.rpm
SuSE 9.X ftp.suse.com/pub/projects/apache/apache2/9.0-i386/apache2-2.0.50-7.i586.rpm
ALTLinux ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/apache2-2.0.50-alt3.i586.rpm

Is from rpm.pbone.net (this is the newest). So I guess almost no mirrors containt apache 2.0.51

You can do 2 things:

Compile it yourself (it isn't hard, i can help you if you like)

or wat for the RPM to be released (can take some time , and is slower)
I don't mind doing a compile, allows me to learn more that way I think. I just want to make sure my current Vhost, websites, config files to export stats and stuff, and installed modules are not changed or update to work with version .51. If it goes 100% I can do a ghost restore as well.

Thanks!

John
 
Old 09-17-2004, 02:22 AM   #6
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Rep: Reputation: 30
Ok, then download the sources (apache.org) and follow the instructions (usually in the INSTALL file)
 
Old 09-17-2004, 08:21 PM   #7
igbe
LQ Newbie
 
Registered: Jul 2004
Location: San Diego, CA
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Boudewijn
Ok, then download the sources (apache.org) and follow the instructions (usually in the INSTALL file)
Ok easy enough, it wants me to run ./configure --prefix= path to apache

Is this /etc/httpd or the /etc/httpd/2.0 sub directory. Not sure what path it means. It also talks about a config.nice file, that is not on my system anywhere.

Think I am getting close to trying just want to make sure, thanks for the help.

John
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache upgrade mabus92920 Linux - Newbie 8 01-18-2005 08:08 PM
Apache upgrade Spyiish Slackware 11 11-04-2004 12:12 PM
Apache upgrade on Mandrake 10.0 questions Biggen Linux - Software 1 10-01-2004 08:33 AM
apache upgrade 2.0.46 to 2.0.48 xfurious_mindx Linux - Software 0 03-10-2004 06:46 PM
Apache upgrade 1.3.27 to 1.3.28 (HELP!) thebrothaulv2h8 Linux - Software 0 09-10-2003 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration