February 2017
Intermediate to advanced
440 pages
8h 45m
English
We need some packages for our server. Now our server is configured to use Chef and talk to a Chef server, let's install a few packages such as the Apache server, PHP, and MariaDB to build a classic LAMP server on a CentOS 7.2 server.
To work through this recipe, you will need the following:
To install a package on a Red Hat-based system, we'd use either yum (until CentOS 7) or dnf (for Fedora after version 22). As we're using a CentOS 7 server, the Apache2 HTTP server package name is httpd, (it's apache2 on Debian-based systems). Manually, we would have typed the following:
$ dnf install httpd $ yum ...
Read now
Unlock full access