Friday, August 17, 2012

Raspberry PI – Web Server




Installing a web server on the rPI is easy:



  $ sudo groupadd www-data

  $ sudo apt-get update

  $ sudo apt-get install apache2


The web server comes up and you can attach to the rPI by TCP/IP from any computer on the LAN.  If I wanted to open a port in my firewall, anyone in the world could get to it (BUT this would be a security risk).

You can not edit the default page with

  $ sudo nano /var/www/index.html

Amazing!!!!





Eric Pierce VA3EP - See the Disclaimer in the Introduction

© Eric Pierce and "VA3EP Amateur Radio And Other Geek Pursuits", 1952-2099. Unauthorized use and/or duplication of this material without express and written permission from this blog’s author and/or owner is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to Eric Pierce and "VA3EP Amateur Radio And Other Geek Pursuits", with appropriate and specific direction to the original content.

No comments:

Post a Comment