14–38 CompTIA Linux+ Certification, Powered by LPI
Unit summary: Web environment
Topic A In this topic, you learned that Linux supports a wide range of Web technologies,
including the Apache Web server, PHP programming, the MySQL database server,
and others. You installed Apache and configured its operations as well as its modules.
You installed PHP and tested its functionality.
Topic B In this topic, you learned how to install the MySQL database server and associated
utilities onto your Linux computer. You installed the PHP-to-MySQL connection
modules and the phpMyAdmin administration tool. You examined the MySQL
configuration files, tested your MySQL server, and managed its running state.
Topic C In this topic, you learned about SQL commands. You used CREATE to create a
database and tables. You used INSERT and UPDATE to input data to tables. You used
SELECT with various clauses, including WHERE, JOIN, ORDER BY, and GROUP
BY to retrieve data. Finally, you used DELETE, TRUNCATE TABLE, and DROP to
remove data and structures.
1 Name the Java Server Pages module for Apache.
2 True or false? PHP is a Web browser-based scripting tool.
False. PHP scripts run on the Web server, not on a Web browser.
3 While it’s often referred to as “Apache,” what is the actual name for the Web server
software developed by the Apache Software Foundation?
4 What is MySQL?
MySQL is an open source database server published by Oracle Corp.
5 Name at least one benefit of using Squid.
Answers might include saving network bandwidth or speeding access to commonly requested
6 The default document for a new Apache installation is ___________.
7 True or false? The primary configuration file for an Apache 2 server is named
False. The primary configuration file is apache2.conf.
8 What is the purpose of the ErrorLog directive in an Apache configuration file?
It specifies the name and location of the error log file.
9 What is a virtual host?
It is a Web site running on your Apache server. Your one server can support multiple sites, with
each being a separate virtual host.
10 What is the purpose of the DocumentRoot directive in an Apache configuration file?
It specifies the location of the Web page files for a virtual host.