LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2004, 03:50 PM   #1
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,332

Rep: Reputation: 54
how to install apache?


I've been working at this for long I just can't figure it out. The documentation sucks, it tells me to type ./configure prefix=PREFIX [...] which is false, because I did some research and it's really prefix-/usr/home/apache2 and [...] is some whole other string.

so I try that, but now I get an error that I don't have a compiler installed.... What can I do? Is there a specific compiler that it needs? And chances are I'll need a compiler to do the ./configure for the compiler so how can I even install one?

Also, why do they make the user compile it anyway, it would take them 2 seconds to compile it themselves and keep even program an installer. Would be SO much easier for everyone.
 
Old 03-06-2004, 04:25 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
If you are using RedHat 8 then you can use an rpm to install a compiler:
rpm -ivh ftp://fr2.rpmfind.net/linux/redhat/8...3.2-7.i386.rpm

There is a good LAMP tutorial at:
http://lamps.efactory.de/e-index.shtml

The reason that many programs are available uncompiled is that they can then be compiled for a specific OS and can be configured as the user wishes. If you prefer having mindless installs and don't mind slightly outdated versions then stick to rpms.
 
Old 03-06-2004, 04:45 PM   #3
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,332

Original Poster
Rep: Reputation: 54
How can I get an rpm of apache, php and mysql? I used apt-get but it only installs the same version that comes with red hat, but thsoe versions don't work for what I need because it's filled with bugs. (mod rewrite does not work, $_POST does not work etc...)
 
Old 03-06-2004, 04:49 PM   #4
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,332

Original Poster
Rep: Reputation: 54
Wow I just looked at that tutorial and it's bloody complicated, is there some kind of package I can download that installs it all at once?
 
Old 03-06-2004, 05:13 PM   #5
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,332

Original Poster
Rep: Reputation: 54
Oh and the rpm thing did not work, even if I download the file manually. Some stupid dependances crap. I'm not going to bother goign through that hell, since those dependances will require other dependances etc etc.... been there done that.
 
Old 03-06-2004, 05:14 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
ok
 
Old 03-06-2004, 05:26 PM   #7
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,332

Original Poster
Rep: Reputation: 54
Is there such that as that though? A 3 in one package that will do it all, that comes in rpm form and does not require dependancies? If not I might just go back to the default installation that comes with RH, it's just that it's so buggy and lot of important features are missing, even mod_rewrite which is crucial for any well designed site.
 
Old 03-06-2004, 06:01 PM   #8
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Just upgrade to Fedora, it has apache 2.0.48
 
Old 03-06-2004, 06:44 PM   #9
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,332

Original Poster
Rep: Reputation: 54
I heard fedora is buggy though, is this true? I'm reinstalling RH right now but this time I checked the development tools so hopefully it will have the right compiler in there. I don't get why it always wines about depedancies when I install it afterwards (not durring setup) because durring setup it just does what it has to do and installs whatever is needed. What I really want though is apache 1.3, so I think I'll get that. At least I know the mod_rewrite works on that one because that's what my hosting company uses.
 
Old 03-07-2004, 09:03 AM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Quote:
Originally posted by Red Squirrel
Is there such that as that though? A 3 in one package that will do it all, that comes in rpm form and does not require dependancies? If not I might just go back to the default installation that comes with RH, it's just that it's so buggy and lot of important features are missing, even mod_rewrite which is crucial for any well designed site.
Not that I know of. Why not just compile it? If you had started that way you would probably have finished by now.
 
Old 03-07-2004, 03:19 PM   #11
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,332

Original Poster
Rep: Reputation: 54
That's what I'm trying to do, but it's so hard. I have apache going now, but now I'm trying to get mysql going, and I still have php left....
 
  


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
How to install Apache stanleytiew Linux - Newbie 2 04-27-2005 10:07 AM
Apache virtualhost problems, apache install problems nyroc Linux - Software 2 06-09-2003 11:16 PM
RH8.0 : Need to uninstall Apache 2 and install Apache 1 ericcarlson Linux - Software 1 02-10-2003 02:13 PM
Apache 1.3.24 Install Help Lorddraco98 Slackware 5 04-27-2002 12:18 PM
Removing apache rpm and install apache from source john lee Linux - Software 2 11-15-2001 08:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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