Page 1 of 1

LAMP on CentOS

Posted: 2007/05/07 01:28:24
by calande
I was searching on the web for LAMP on CentOS and on the wiki. I think it would be very nice to have a step-by-step guide to set up a centos LAMP server, in the wiki. Thanks in advance.

Re: LAMP on CentOS

Posted: 2007/05/07 13:15:57
by foxb
LAMP is Linux Apache MySQL PHP

Linux = CentOS
Apache = httpd

Read te documentation available here:

http://www.centos.org/docs/5

If you have specific questions ask in the forum.

As for howto any howto for LAMP will work with minimal modifycations.

Re: LAMP on CentOS

Posted: 2007/05/08 23:09:31
by calande
Thanks, yes, indeed it's quite hard. I'm on this page: http://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-httpd.html
I tried to install Apache this way:

[code]# yum install apache[/code]

But YUM says it doesn't find anything. It's different from distro to distro, and it's a challenge to find out how to make things work. Do you know how I can install Apache first? (We'll see PHP later...)

TIA ;)

Re: LAMP on CentOS

Posted: 2007/05/08 23:11:58
by michaelnel
Try "yum install httpd", or "yum list | grep httpd" to see what other stuff you might want.

Re: LAMP on CentOS

Posted: 2007/05/08 23:52:34
by calande
Yep, that was it :-)
Thanks!

LAMP on CentOS

Posted: 2007/05/08 23:58:18
by WhatsHisName
Ubuntu makes this one way too easy.

When you install Ubuntu Server, you have exactly two check boxes: DNS Server and/or LAMP.

But of course, once you boot, you can install whatever you want.

The headless server must come as quite a shock to the average GUI-dependent Ubuntu Desktop user. And no, [url=http://en.wikipedia.org/wiki/Synaptic]Synaptic[/url] doesn?t work from CLI.