Get YouTube subscribers that watch and like your videos
Get Free YouTube Subscribers, Views and Likes

Turn your Raspberry Pi into a Web Server

Follow
Make Tech Easier

You can do just about anything with a Raspberry Pi, including turning it into your very own web server that you can access on your local network. Here we show you how to do it.

Raspbian: https://www.raspberrypi.org/downloads/
Etcher: https://www.balena.io/etcher/

Code Snippets:
sudo aptget update
sudo aptget upgrade
reboot
sudo apt install apache2 y
hostname I
cd /var/www/html
ls al
sudo chown pi: index.html
nano index.html
sudo apt install php libapache2modphp y
sudo nano /var/www/html/mywebpage.php

NOTE: angle brackets are not allowed in descriptions, but a "less than" symbol should be before the "?" in the following code:

?php
echo "Today is " . date('Ymd H:i:s');

For more tech tips, howtos, guides, app lists, game lists and all things tech, hit the ‘Subscribe’ button or check out our other videos:    / @maketecheasier  

Or visit our website at: https://www.maketecheasier.com/

posted by mercifulgrace5l