As with all of our tutorials, we will be utilizing the Raspbian operating system. If you’re using something different, then the steps may differ slightly. 1. Before we get started with installing MySQL to our Raspberry Pi, we must first update our package list and all installed packages. We can do this by running the following […]
Monthly Archives: August 2020
This document attempts to answer the commonly-asked questions about setting up virtual hosts. These scenarios are those involving multiple web sites running on a single server, via name-based or IP-based virtual hosts. Running several name-based web sites on a single IP address. Your server has multiple hostnames that resolve to a single address, and you want to respond differently for www.example.com and www.example.org. […]
Install Apache2 sudo apt-get update sudo apt-get upgrade sudo apt install apache2 -y # add permissions sudo usermod -a -G www-data pi sudo chmod -R -f www-data:www-data /var/www/html Setting up PHP for Apache sudo apt install php php-mbstring php-mysql php-curl php-gd php-zip -y sudo nano /var/www/html/phpinfo.php <? phpinfo(); ?> Setting up an Apache Virtual Host […]