Setting Up Apache Server on a Raspberry Pi 3 SSH, FTP, and Python SimpleHTTPServer on the Raspberry Pi

  • Braxton VanGundy

Your browser needs to be JavaScript capable to view this video

Try reloading this page, or reviewing your browser settings

Autoplay:
View next video

Implement a public-facing Apache web server on the Raspberry Pi 3. Start by installing a headless Raspbian operating system and use SSH and FTP clients to interact with it on a Pi. Following the installation of Raspbian, you’ll set up Apache on the Pi and configure it to host a basic experimental website. Finally, you’ll configure Apache and a router to make your website public facing so that anyone outside your local network can access the site via an IP address.

The last segment of the video will go over an alternative to Apache built into Python and already installed on Raspbian. Python SimpleHTTPServer can be used to set up a basic server on a Pi with only a few commands. It’s not robust enough to be used with larger scale projects, but if you just need a light server that can be set up in a few minutes then Python SimpleHTTPServer is the tool for you. After watching this video, you’ll have all the tools you need to set up your Raspberry Pi as a fully functional server.

What You Will Learn

  • Install and use a headless operating system on the Raspberry Pi 3

  • Set up SSH and FTP on the Pi

  • Configure Apache to host a basic website

  • Make the server publicly accessible with port forwarding

  • Implement a server using Python SimpleHTTPServer

Who This Video Is For

Beginning developers, computer science enthusiasts, and website creators interested in working with the simple Raspberry Pi hardware and available open source software.

This video shows you how to implement a public-facing Apache web server on the Raspberry Pi 3. Start by installing a headless Raspbian operating system and use SSH and FTP clients to interact with it on a Pi. Following the installation of Raspbian, you’ll set up Apache on the Pi and configure it.

About The Author

Braxton VanGundy

Braxton VanGundy is a computer engineering student (senior) at Old Dominion University studying computer science. He has worked at NASA Langley Research Center for the past three years under several different directorates. His portfolio of professional projects includes those related to machine learning, natural language processing, web development, and front-end application development. He currently also runs the popular AAComputersandTechnology (AACAT) channel on YouTube that focuses on budget technology solutions and computer-related projects.

 

About this video

Author(s)
Braxton VanGundy
DOI
https://doi.org/10.1007/978-1-4842-5848-4
Online ISBN
978-1-4842-5848-4
Total duration
23 min
Publisher
Apress
Copyright information
© Braxton VanGundy 2020

Related content

Video Transcript

[MUSIC PLAYING]

My name is Braxton Van Gundy, and this is a Springer link video on how to set up a public facing Apache web server using the Raspberry Pi 3 single board computer. The Pi 3 is an ideal platform for a lightweight or experimental server. It sips a mere 2.5 watts of power at idle, has plenty of processing power for most small projects thanks to its quad core ARM Cortex A53 processor, and one gigabyte of LPDDR2 RAM.

And best of all, one of these can be bought for 35 US dollars brand new. By the end of this video, you will know how to set up a public facing web server that can be accessed anywhere in the world using your IP address. Topics covered in this video include setting up a Raspbian OS, enabling SSH, configuring a static IP address, installing and configuring Apache, changing the default Apache landing page, port forwarding, and adding a custom website to the Pi.

Additionally, I will also show you an alternative HTTP server to Apache, because while Apache is robust and widely used, it takes a little while to setup and may be overkill if just need a light HTTP server for some quick prototyping.