I was told to install a LAMP setup on one of our Red Hat servers by my boss. I started by installing the generic httpd, php and mysql packages but he keeps telling me there is one package that automatically installs all of them. Including forcing correct dependencies and ensuring compatibility between them.
Has anyone heard of a Red Hat package like this?
He may be thinking of
yum
groups, but even then there's not just one group that does everything you want. TryThat said, what you're doing is also fine:
yum
's job is to manage dependencies, so doingyum install httpd
will automatically pull in everything httpd actually needs, in the correct versions, provided your repositories are set up correctly. You may find that the group installs bring in extra tools that you didn't know you needed, but can be of use in running such a server.On a Red Hat based system, there actually is no such package which will pull in everything necessary for a basic LAMP stack. A minute or so with
repoquery
is sufficient to demonstrate this.To install such a stack, you need at minimum: