Serving web pages
In this section, we will install the content management system, Contao. Contao can display web pages. The content can be easily edited and is stored in a database. Though it's independent of user rights or devices (for example, a mobile browser or browser on a full HD screen), content is generated in a short amount of time before it is displayed. Contao requires a running web server. One of the most popular web servers under Linux is Apache. It can be installed using the following command:
sudo apt-get install apache2
After installation, Apache is already running and shows a simple web page when invoked (Figure 13). For this test, provide the IP address of Banana Pro in a web browser once Apache has been installed.
The content of this test web page is located in the /var/www
directory, which is within the index.html
file.
Tip
When you encounter the apache2: Could not determine the server's fully qualified...