Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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)
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.
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... :-)
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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.