Book Image

Banana Pro Blueprints

By : Tony Zhang
Book Image

Banana Pro Blueprints

By: Tony Zhang

Overview of this book

This book follows a tactical plan that will guide you through the implementation of Banana Pro and its configurations. You will then learn the various programming languages used with Banana Pi with the help of examples. In no time at all, you’ll be working on a wireless project that implements AirPlay servers, hotspots, and so on. Following this, you’ll develop a retro-style arcade kiosk game. Then we’ll move on to explore the multimedia features of Banana Pro by designing and building an enclosure for it. After this, you’ll learn to build a remote-controlled smart car and we’ll examine how to control a robotic arm. The book will conclude with the creation of a home sensor system that has the ability to expand or shrink to suit any home.
Table of Contents (15 chapters)
Banana Pro Blueprints
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

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.

Figure 13: Apache shows a simple test page after installation

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 domain name...