The make command will compile all source files into executable binaries
The make install will install the binaries and any supporting files into the appropriate locations.
The rm -f command will remove the small script apachectl responsible to start and stop the Apache daemon since we use a better script named httpd located
under the /etc/rc.d/init.d/ directory that takes advantage of Linux system V.
We also remove the /home/httpd/icons directory used under Apache when you use its automatic indexing feature. This feature can bring about a security risk, and for this reason we've disabled
it in the configuration file. Therefore, we can safely remove the directory to make space on the Linux server. The /home/httpd/htdocs directory handles all documentation files related to Apache, so
after we have finished reading the documentation we can remove it to make space.
The install-m command will install the php.ini.dist file under the /etc/httpd/ directory, and will rename it php.ini;
This file controls many aspects of PHP's behavior.
The ssl.crl, ssl.crt, ssl.csr, ssl.key and ssl.prm directories under /etc/httpd/conf are all of the
directories related to SSL, and handle private and public keys. Since we use another location, /etc/ssl/, we can remove them safely.
Finally, we remove the unused srm.conf, srm.conf.default, access.conf and access.conf.default files, whose purposes are now handled by the httpd.conf
Apache file.
The rm command will remove all the source files we have used to compile and install Apache, mod_ssl, mod_perl, and php. It will also remove the Apache, mod_ssl, mod_perl, and php compressed
archives from the /var/tmp directory.