LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-03-2004, 12:37 AM   #1
Spyiish
Member
 
Registered: Aug 2004
Location: Australia, Melbourne
Distribution: Slackware 10
Posts: 105

Rep: Reputation: 15
Apache upgrade


Hi all,

Does anyone know how to upgrade the new version over the current version of apache? (eg. apache 1.3 => apache 2.0)

I tried to do it, but dont seem to work. I followed the tut onhttpd.apache.org/docs.

Can someone please help me with this?

Cheers,
Spyiish
 
Old 11-03-2004, 08:14 AM   #2
ntgaston98
LQ Newbie
 
Registered: Nov 2004
Posts: 20

Rep: Reputation: 0
I think that youhave to remove the old one and install the new one.
either that or install the new one i a different directory and remove the old one from your start up script.
 
Old 11-03-2004, 08:24 AM   #3
OrphanedLand
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware
Posts: 26

Rep: Reputation: 15
You cannot upgrade the Apache from 1.3.x to 2.0.x

Upgrades works only between sub versions such as from 1.3.x to 1.3.y or from 2.0.x to 2.0.y
 
Old 11-03-2004, 08:21 PM   #4
Spyiish
Member
 
Registered: Aug 2004
Location: Australia, Melbourne
Distribution: Slackware 10
Posts: 105

Original Poster
Rep: Reputation: 15
Ah ok,

You serious? Damn man. Apache 1.3 is pre-installed with slackware 10.0, so how do I go about uninstalling it? Whats the command to uninstall it? And also, under what directory be best to install open source programs under slackware?

Cheers,
Spyiish
 
Old 11-03-2004, 08:23 PM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
removepkg apache

They're default installed under /usr/local which I find the best place to install it if (a security freak won't but I do :P ).
 
Old 11-03-2004, 08:36 PM   #6
Spyiish
Member
 
Registered: Aug 2004
Location: Australia, Melbourne
Distribution: Slackware 10
Posts: 105

Original Poster
Rep: Reputation: 15
Ah ok, thanks for that gbonvehi.

In terms of security, under what directory wud be best to install packages, either slackware or open source.

Btw, if I download apache 2.0, if I install it, the default directory wud be under /usr/local, or somewhere else? Someone told me its under a different directory.
 
Old 11-03-2004, 08:49 PM   #7
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Well, thinking about it, it wouldn't matter where you put it, it will be always in risk if someones breaks in, so I guess it's just a matter on how your organize your files.
Actually it doesn't matter the default directory, it can always be changed by passing a argument on ./configure normally it's --prefix=/path . Take a look at the readme or install of Apache to see more detailed and specific instructions.

Last edited by gbonvehi; 11-03-2004 at 08:53 PM.
 
Old 11-04-2004, 02:26 AM   #8
eelriver
Member
 
Registered: May 2004
Location: san francisco
Distribution: Slackware 10.2 kernel 2.6.13, Gentoo amd64, Some mish-mash of programs that started with slack 9.0
Posts: 165

Rep: Reputation: 30
A default Slackware apache package is installed in /usr NOT /usr/local.

If you want to replace it with 2.0 "removepkg apache-1.*.tgz" Compile your apache-2.0 using "./configure prefix=/usr", make, then finally use "checkinstall"

You can find the checkinstall package in the /extras directory at any Slackware mirror. This will make a slackware package out of any source compile that can be installed and removed with the package tools.
 
Old 11-04-2004, 07:31 AM   #9
Spyiish
Member
 
Registered: Aug 2004
Location: Australia, Melbourne
Distribution: Slackware 10
Posts: 105

Original Poster
Rep: Reputation: 15
so if I install apache2.0, if i ever wanna uninstall it? Do I also use the same command removepkg, or something else?I know apache 2.0 is an open soruce program whereas the preinstalled apache1.3 is a package that came with slackware.

Im not sure, but the apache1.3 that comes with slackware is the .tgz version, and the apahce2.0 is the .tar.gz version. They both different packages?
 
Old 11-04-2004, 08:01 AM   #10
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
A tar.gz package is not generally a slackware package but a source package, ie you have to
compile it yourself.
 
Old 11-04-2004, 10:49 AM   #11
eelriver
Member
 
Registered: May 2004
Location: san francisco
Distribution: Slackware 10.2 kernel 2.6.13, Gentoo amd64, Some mish-mash of programs that started with slack 9.0
Posts: 165

Rep: Reputation: 30
Compiling it from source (the *.tar.gz tarball) using "checkinstall" as the last step, instead of just "install", will install it as a .tgz Slackware package, provided you have installed the checkinstall package.
 
Old 11-04-2004, 11:12 AM   #12
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
eelriver, it's the default directory if you compile from source.
 
  


Reply



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 07:08 PM
Mandrake 10 upgrade Apache igbe Mandriva 6 09-17-2004 07:21 PM
apache upgrade 2.0.46 to 2.0.48 xfurious_mindx Linux - Software 0 03-10-2004 05:46 PM
Apache upgrade 1.3.27 to 1.3.28 (HELP!) thebrothaulv2h8 Linux - Software 0 09-10-2003 11:40 AM
After RH 8.0 upgrade need to restore Apache 1.3 ericcarlson Linux - Software 0 03-12-2003 08:33 AM

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

All times are GMT -5. The time now is 11:00 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