Apache or lighttpd?
I want to setup a web server on my Mandriva machine. I wanted to use either Apache or lighttpd but I don't know much about Linux and don't know which one to use. Which one is easier to install and setup? Are either of these pre-installed with the latest Mandriva?
Personally I'd go with apache, simply because it's so widely used, so you'll find many more programs and tutorials written for it. I don't know which (if either) is technologically superior, but with things like this it's often easiest to go with the majority.
Hope this helps
Thanks for the reply. Do you know of a simple installation guide as I havent installed anything on Linux before as i'm used to XP. I don't get what I have to do after I've downloaded the files... (infact I dont even know which files to download...:shock: )
Rather than downloading any files from the apache website, it's probably easier in Mandriva to go to MCC (Mandriva Control Centre - usually the "configure my computer" entry in the program menu), then "software management" -> "look at installable software and install software packages". Then search for and install apache (simply apache, not apache-base or apache-devel or any similar thing), and more or less all the installation process is done for you. You'll still need to look into configuring it, I imagine, but the httpd.conf file (which is what you'll need to change) is fairly good at explaining itself, and there's lots of howtos and other documentation about.
Ive tried searching for "apache" and it came up with about 50 results. There doesn't seem to be a file simply called "apache" (I was searching in "all packages, alphabetical") I then tried searching in "mandriva linux choices." I selected "server" then "web/ftp" and selected all the files but these two could not be selected and installed:
What shall I do as the installation cannot complete without these two files?
p.s. I'm logged in as root
please help... :confused:
I'm somewhat surprised that you have to install mod_ssl and mpm_prefork - but presumably you can just install those in the same way? Sorry if I've misunderstood the problem.
hmmm :confused: well im not sure how i install them. Is there any other way of installing apache?
There is, yes, but it can be a little more complicated.
Go to the apache download page and download the version you want (unless you've got a particular reason for using an earlier version I suggest using 2.2 (currently at 2.2.3)). So you'd right click > save as on
"Unix Source: httpd-2.2.3.tar.gz". Once you've downloaded that, go to the directory you saved it in and run
the final command lets you read the contents of the INSTALL file, which should explain everything else.
tar -xvzf httpd-2.2.3.tar.gz
I keep getting the error " configure: error: no acceptable C compiler found in $path" when i type in the command "./configure --prefix=/usr/local/apache2"
I assume this means that it cannot find the "C compiler" in the path which I specified. Am I specifying the wrong path or is this error caused due to another problem?
The user's I have on my computer are: root, rich, server, pom_house
I have the apache downloaded to "/root/desktop"
Please help :confused:
(thanks Giles for your help so far :) )