View previous topic :: View next topic |
Author |
Message |
Chaseb n00b
Joined: 25 Apr 2003 Posts: 1
|
Posted: Fri Apr 25, 2003 10:30 pm Post subject: Grrr.... I am having some troubles |
|
|
Ok, my hosting company (featureprice.com) just screwed over thousands of ppl, me being on of them! So I am hosed with my web server and decided that it would be an adventure and a learning experience to run my own web server. I am not a complete newb. I have the usual certs and have even played in linux for a short period of time. But I am still learning, and I have quite a curve if I am to get a web server running in a few days! LoL, but yeah here are my problems......
Alright, I have redhat 8 (sorry its not gentoo )on a dedicated machine, and I am trying to install Apache. I am having troubles installing that, becuase I dont have a C complier! I downloaded GCC and I am not sure quite what to do What I am asking is how do I install GCC so that I can install Apache??? I have read the install file for GCC and it just doesnt make sence, I am in very foriegn waters here. Thanks for any help! |
|
Back to top |
|
|
splooge l33t
Joined: 30 Aug 2002 Posts: 636
|
Posted: Fri Apr 25, 2003 11:10 pm Post subject: |
|
|
1) RedHat has a completely different packaging system than Gentoo. You're really asking in the wrong place.
2) You don't need GCC to install apache on redhat. But if you want it anyways, the RPM is on your redhat CD. You won't have much luck if you're a newbie and downloading the GCC source code and trying to compile it.
3) You're really asking in the wrong place.
4) rpm -Uvh /path/to/cd/RPMS/apache-whatever.rpm |
|
Back to top |
|
|
fatcat.00 Tux's lil' helper
Joined: 12 Aug 2002 Posts: 145
|
Posted: Sat Apr 26, 2003 3:10 am Post subject: Aha, no compiler |
|
|
Well, what splooge said is right...since RedHat is a binary distribution, you don't necessarily need to compile Apache from scratch. You *should* be able to download rpm files for Apache (and gcc for that matter) and install them. If you instead want to go through some gyrations for some reason, read on...
Download the gcc rpm from RedHat's ftp site, and install like: "rpm -Uvh gcc*.rpm". Of course you may have unsatisfied dependencies which you will have to track down, download and install too. If you have to go through this rigamarole, you will quickly discover why there are so many "rpm refugees" that use Gentoo now
With luck, you can do the same with an Apache rpm file BUT! if you are faced with an apache*.tar.gz file (meaning a source file), then simply unzip and untar (tar -zxvf apache*.tar.gz) and change to the directory where Apache untarred into. See if there is a "configure" script. If so, do this: "./configure --prefix=/usr/local". You may also want to do "./configure --help" to get a full listing of available options. Once you run configure successfully, you should have a "Makefile". Run "make" and then "make install" (as root). Then you get to configure Apache.
That is enough to get you started, assuming Apache uses standard GNU tools for making Makefiles and such. If it doesn't, none of this applies
Good Luck!
-- Fatcat |
|
Back to top |
|
|
jsleeper Tux's lil' helper
Joined: 04 Apr 2003 Posts: 75 Location: Virginia Beach, VA, US
|
Posted: Sat Apr 26, 2003 5:42 am Post subject: |
|
|
that happened to me before, not installing gcc on a redhat box (never will happen again, well the installing redhat part ).
There are about 10 rpms that you will have to find, and trust me redhat doesn't make it easy to find all of that stuff on their site. You gotta install the rpms since you can't compile! Makes you wonder - how did they compile the first compiler? _________________ are sigs really usefull? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|