Page 1 of 1

[SOLVED] How to install Apache web server via CLI?

PostPosted: Aug 15th, '12, 18:05
by riclags
I want to install Apache web server via CLI so I did this:
Code: Select all
$ sudo urpmi apache

Please correct me if my CLI command is wrong.

to which I am greeted with this:
Code: Select all
In order to satisfy the 'apache-mpm[*][== 2.2.22-12.mga2]' dependency, one of the following packages is needed:
 1- apache-mpm-prefork-2.2.22-12.mga2.i586: Implements a non-threaded, pre-forking web server (stable) (to install)
 2- apache-mpm-event-2.2.22-12.mga2.i586: Implements a hybrid multi-threaded multi-process web server (experimental) (to install)
 3- apache-mpm-worker-2.2.22-12.mga2.i586: Implements a hybrid multi-threaded multi-process web server (experimental) (to install)
 4- apache-mpm-peruser-2.2.22-12.mga2.i586: Implements a hybrid multi-process, multi-threaded web server (experimental) (to install)
 5- apache-mpm-itk-2.2.22-12.mga2.i586: Implements a non-threaded, pre-forking web server (experimental) (to install)
What is your choice? (1-5)

Which should I choose? (Obviously I'd pick the stable one but perhaps someone can enlighten me what all this means).

Re: How to install Apache web server via CLI?

PostPosted: Aug 15th, '12, 18:31
by djennings
For a basic web server install apache-mpm-prefork

Alternatively you could install task-lamp for an apache/mariadb/php stack
or you could install drakwizard and then look for the apache server wizard in Mageia Control Centre

Re: How to install Apache web server via CLI?

PostPosted: Aug 16th, '12, 12:03
by djennings
BTW: If you want to know the differences between these packages read the description. For example
Code: Select all
urpmq -i apache-mpm-event

Re: How to install Apache web server via CLI?

PostPosted: Aug 16th, '12, 16:34
by riclags
djennings wrote:For a basic web server install apache-mpm-prefork

Alternatively you could install task-lamp for an apache/mariadb/php stack
or you could install drakwizard and then look for the apache server wizard in Mageia Control Centre

This will do! Thanks! Just making it clearer on what I did below (in case someone comes by this way). :mrgreen:
Code: Select all
$ sudo urpmi task-lamp