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

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

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

Postby riclags » Aug 15th, '12, 18:05

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).
Last edited by riclags on Aug 16th, '12, 16:34, edited 1 time in total.
riclags
 
Posts: 17
Joined: Aug 13th, '12, 02:49

Re: How to install Apache web server via CLI?

Postby djennings » Aug 15th, '12, 18:31

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
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: How to install Apache web server via CLI?

Postby djennings » Aug 16th, '12, 12:03

BTW: If you want to know the differences between these packages read the description. For example
Code: Select all
urpmq -i apache-mpm-event
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: How to install Apache web server via CLI?

Postby riclags » Aug 16th, '12, 16:34

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
riclags
 
Posts: 17
Joined: Aug 13th, '12, 02:49


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron