Browse Month: February 2016

How to turn your Raspberry Pi into a LAMP Web Server

About: Many projects you use your Raspberry Pi for may need your Raspberry Pi to be a web server. A popular package is LAMP which stands for Linux, Apache, MySQL and PHP. LAMP is not a package in itself but 3 packages in one. LAMP is the Linux equivalent. You may hear it called a WAMP server or MAMP server if you are using Windows or Mac as your operating system. Since the Raspberry Pi runs on Linux we will be installing a LAMP server.

The 3 packages we will be installing are:

  • Apache – Apache is a popular HTTP Web Server.
  • MySQL – Used as our SQL database system
  • PHP – Server Side scripting language that is applied to our websites

Objective: To turn the Raspberry Pi into a LAMP Web Server (Linux, Apache, MySQL, PHP)

Material: You will need the following:

  • Raspberry Pi (Click the link to check out the price on Amazon. Usually around $37 with free shipping)

Instructions: Installing LAMP is easy. Simply type the following commands Continue Reading

How to change your Raspberry Pi Hostname

About: There may come a time where you will want to change your hostname on the Raspberry Pi. For example the default hostname when using Raspbian is ‘raspberrypi’. This is fine, however if you have 2 Raspberry Pi’s running on your network you will want to change the hostname to differentiate the Raspberry Pi’s on your network. This isn’t critical since they still will have different IP addresses but it will help you if you look at your network list on your router or when running certain commands that include the hostname.

I will show you two different ways to change your Raspberry Pi’s hostname. The first way is using SSH/Terminal which would be useful if you are running your Raspberry Pi headless and can connect to it using SSH. The second way is using the Raspbian desktop and is just a few clicks.

Objective: To demonstrate how to change the hostname on your Raspberry Pi

Material: You will need the following:

  • Raspberry Pi (Click the link to check out the price on Amazon. Usually around $37 with free shipping)

Instructions: Let’s start off by showing you how to change the hostname using the terminal or using SSH Continue Reading