LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-11-2005, 07:42 PM   #1
guest
Member
 
Registered: May 2003
Distribution: CentOS 5 64 bit
Posts: 255

Rep: Reputation: 30
So I DLed Apache.. how to install?


I'm as newb as they come... i don't know anyone that uses linux.. so no one to learn from xcept for the net anyway.. i downloaded apache2x.tar.gz

i have it in my "/"
i opened it.. and there are no install files.. there are instructions but.. where do i execute the instructions? i'm running RHEL...

it tells me to "Extract":

$ gzip -d httpd-2_0_NN.tar.gz

where do i execute this command?

i could use the "fileroller" app but i want to know where the command line is...

also what does RPM mean?(besides revolutions per min)
 
Old 03-11-2005, 07:58 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
You'd execurte the gzip command in the directory you downloaded the source file into. You'll need to open a terminal window (i.e. Konsole or Gnome Terminal) if you are in the graphical desktop.

RPM is Red Hat Package manager. It provides a way of installing binary packages called RPMs. Many, but not all, distros use RPM as their packaging format.
 
Old 03-11-2005, 08:11 PM   #3
Zebulon
LQ Newbie
 
Registered: Dec 2004
Location: Munich, Germany
Distribution: Gentoo and Slackware
Posts: 8

Rep: Reputation: 0
I would not recommend installing apache if you just started using linux. It requires a lot of configuration and besides that, you can create a serious security problem if you run a misconfigred webserver. If that doesn't stop you, open a terminal (usually it is represented by an image of a monitor AND/OR a shell, sitting somewhere at the bottom of your screen or in some menu.) and enter the given command there.

But really, you shouldn't install apache if you don't know how to open a terminal.
Its like driving Formula 1 without knowing where the brake is... :-)
 
Old 03-11-2005, 08:29 PM   #4
guest
Member
 
Registered: May 2003
Distribution: CentOS 5 64 bit
Posts: 255

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Zebulon
I would not recommend installing apache if you just started using linux. It requires a lot of configuration and besides that, you can create a serious security problem if you run a misconfigred webserver. If that doesn't stop you, open a terminal (usually it is represented by an image of a monitor AND/OR a shell, sitting somewhere at the bottom of your screen or in some menu.) and enter the given command there.

But really, you shouldn't install apache if you don't know how to open a terminal.
Its like driving Formula 1 without knowing where the brake is... :-)

I'm a WAMP user converting to a LAMP user.. so I'm comfortable configuring apache.. i'm just a TOTAL Linux newb.. i have no idea how to use this thing.. though i installed it! just dilly dallying around it till i get comfortable to deploy this bad boy

unless configuring Apache in Linux is another beast... httpd.conf is all there is?
 
Old 03-11-2005, 08:31 PM   #5
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
You might want to check out these links.
http://www.redhat.com/docs/manuals/l...started-guide/
http://www.redhat.com/docs/manuals/l...ual/ref-guide/

It is for RH9, but the docs are still good to follow. The best part is, it is easy reading. Once you go over these guide, you will have a good understanding of what is going on.

Just to let you know, I used the tripwire one to setup tripwire on a slackware machine.

Also, you came to a good place for info. I found this forum to be the best forum around.
 
Old 03-11-2005, 09:17 PM   #6
stealth_banana
Member
 
Registered: Mar 2004
Location: Scotland
Distribution: Debian Sid / Kubuntu
Posts: 170

Rep: Reputation: 30
If you are new to linux, I would install the binary for your distro for apache and ignore the source.

It will install all the files needed to run it, and give you various options on setting up.

Once thats done, you can edit the .conf files to your hearts content, after all why do the hard work yourself.

Now, it depends on what flavour of linux you are using in how the binaries are set up, some use /etc/http for the conf files, some use /etc/apache. Also the location of files served, /var/www or /server


But go with the rpm's if thats what your distro uses and you will find it well documented as to what to edit. With RPM disros its usually /ect/httpd and /server.
 
Old 03-11-2005, 09:36 PM   #7
Zebulon
LQ Newbie
 
Registered: Dec 2004
Location: Munich, Germany
Distribution: Gentoo and Slackware
Posts: 8

Rep: Reputation: 0
Quote:
I'm a WAMP user converting to a LAMP user.. so I'm comfortable configuring apache.. i'm just a TOTAL Linux newb.. i have no idea how to use this thing.. though i installed it! just dilly dallying around it till i get comfortable to deploy this bad boy

unless configuring Apache in Linux is another beast... httpd.conf is all there is?
Oh, I see.

I'm sorry, I did not think about this possibillity. Did you make progress finding a terminal? Are you using the instructions from http://httpd.apache.org/docs-2.0/install.html? They are quite good. But you have to change to the directory where you uncompressed the sources after the "tar" line. "cd httpd-2_0_NN" should do it. Bash has tab-completion, so you can just type "cd htt<tab>" And I think you have to be root before the "make install". Do that with the "su" command.

I never used apache under windows, but i think the configuration in linux is more or less the same.
 
Old 03-11-2005, 11:05 PM   #8
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Just as an FYI, I consider this LAMP tutorial to be top-notch. Good luck with it -- J.W.
 
Old 03-11-2005, 11:08 PM   #9
guest
Member
 
Registered: May 2003
Distribution: CentOS 5 64 bit
Posts: 255

Original Poster
Rep: Reputation: 30
thanks for all your input! wow this place is fantastic.. lots of helpful ppl =) thanks banana, zebulon, tangle, miller and JW!

i will try what you guys suggest and update what i've accomplished w/ ur help
 
  


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
Re-install Apache treotan Linux - Networking 3 06-26-2004 01:07 PM
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
Removing apache rpm and install apache from source john lee Linux - Software 2 11-15-2001 08:44 PM
Apache Install jrmann1999 Linux - General 0 11-15-2001 03:15 PM

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

All times are GMT -5. The time now is 02:19 AM.

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