Host a Web­site

Maximum PC - - PUT YOUR PI TO WORK -

THERE’S A STAN­DARD stack of pack­ages used to run a ba­sic web­site: Linux, the Apache web­server, MySQL to han­dle the data­base side of things, and PHP to in­ter­act with that data­base. Set­ting up a LAMP stack isn’t dif­fi­cult—you can do it with sudo apt-get in­stall lamp-server on Rasp­bian—but with one on your Pi, you can forego the cost of server host­ing, and take full con­trol over what you in­stall and what you put on­line. Re­di­rect web traffic to an open port on your home net­work with a ser­vice such as Dyn­, and you’re set, though the Pi can only han­dle min­i­mal traffic.

Newspapers in English

Newspapers from Australia

© PressReader. All rights reserved.