If the LFCS Admin Exam asks install Web Server Apache
can go this way without errors:
yum groupinstall "Web Server"
if Not remember the individual web server packages??
the above command will install all LAMP stack?????
Anytime you are unsure what packages are member of a group, you can do the following:
[[email protected] ~]$ yum group info "Web Server"
Group: Web Server Group-Id: web-server Description: Allows the system to act as a web server, and run Perl and Python web applications. Mandatory Packages: httpd Default Packages: +crypto-utils +httpd-manual +mod_fcgid +mod_ssl Optional Packages: certmonger keycloak-httpd-client-install libmemcached memcached mod_auth_kerb mod_auth_mellon mod_auth_openidc mod_nss mod_revocator mod_security mod_security_crs perl-CGI perl-CGI-Session python-memcached squid[[email protected] ~]$
So, as you see, it won't be a LAMP server, but the packages that are listed in there.
On CentOS 7
yum gruplist | grep -i web
Basic Web Server
Web-Based Enterprise Management
I find the names from "grouplist" are not what you need to install. However, you can do
yum groupinstall web-server
and I believe that should work.