Reader small image

You're reading from  Banana Pi Cookbook

Product typeBook
Published inJun 2015
Publisher
ISBN-139781783552443
Edition1st Edition
Right arrow
Author (1)
Ryad El-Dajani
Ryad El-Dajani
author image
Ryad El-Dajani

Ryad El-Dajani is a software engineer and passionate technology enthusiast. He developed an interest in computers when he was 10 years old. Soon thereafter, he began to learn his first programming languages. After he had completed his training as an IT specialist, he worked on several e-commerce Internet projects. Currently, he is studying business computing and works for a big IT company in Germany, realizing various IT projects based on Java or .NET technologies. Besides the classic application development, he has professional experience in realizing projects based on web frameworks such as Spring, Play, Symfony, eZ Publish, and Magento. Moreover, he has been excited about all kinds of Unix-like embedded systems since the revolutionary SheevaPlug.
Read more about Ryad El-Dajani

Right arrow

Setting up a web application


In this recipe, we are going to explore the possibilities of the Banana Pi to run dynamic web applications. We will install the Nginx web server, the MySQL database server, and the PHP scripting language. In order to get this complete, we are going to set up the widely used blog software, WordPress, on top of our upcoming web stack.

Getting ready

The following ingredients are required to cook the web stack:

  • A running Banana Pi with a Debian-based Linux system

  • A configured network on the Banana Pi

How to do it…

We need to split this recipe into four parts.

  • The setup of the web server

  • The setup of the database server

  • The setup of PHP

  • The setup of WordPress

Installing the Nginx web server

There are a number of web servers on the market. In this recipe, we are going to use the Nginx (pronounced engine-x) web server as it performs well with the Banana Pi.

To set up the Nginx software, perform the following:

  1. Open a shell.

  2. Install Nginx:

    $ sudo apt-get install nginx
    
  3. Apt will ask you...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Banana Pi Cookbook
Published in: Jun 2015Publisher: ISBN-13: 9781783552443

Author (1)

author image
Ryad El-Dajani

Ryad El-Dajani is a software engineer and passionate technology enthusiast. He developed an interest in computers when he was 10 years old. Soon thereafter, he began to learn his first programming languages. After he had completed his training as an IT specialist, he worked on several e-commerce Internet projects. Currently, he is studying business computing and works for a big IT company in Germany, realizing various IT projects based on Java or .NET technologies. Besides the classic application development, he has professional experience in realizing projects based on web frameworks such as Spring, Play, Symfony, eZ Publish, and Magento. Moreover, he has been excited about all kinds of Unix-like embedded systems since the revolutionary SheevaPlug.
Read more about Ryad El-Dajani