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

How to protect yourself from identity theft by freezing your credit

About: A credit freeze, which is more formally known as a security freeze allows you to “freeze” your credit so that no one else can view your credit or open accounts with your credit. This protects you from identity theft because it becomes more difficult to open a line of credit in your name. Performing a credit freeze is a little time consuming but can be done easily by contacting the 3 main credit bureaus (Equifax , Experian, TransUnion). You must contact all 3 bureaus to freeze and unfreeze your credit. Depending on your state there may be some fee’s associated with freezing and unfreezing of your credit.

My wife and I recently set up a credit freeze for my 1 year old son. He doesn’t need any credit until he grows up so it’s a no brainer for freezing his credit for an extra step of security in preventing his identity to be stolen especially with the online world that he will live in. It will prevent anyone including family members from using his information to steal his identity and take out loans in his name.

Objective: To help understand the need to freeze your credit and how it protects you from identity theft and loans being open in your name

Instructions: Its fairly simple to freeze your credit and we’ll have to do it at each of the 3 main credit bureaus. There may be some fee’s associated with freezing your credit but that depends on your state. If you do have to pay a fee in your state you will need to pay the fee at all 3 credit bureaus. The fees are usually under $10 and every year more states are making it cheaper or free to control your credit. However some states you may need to pay if you freeze or unfreeze your credit by phone or mail but are free online. Continue Reading

Best 5 WiFi adapters for the Raspberry Pi 2016

Here is my list of Top 5 WiFi adapters that can be used on the Raspberry Pi and Linux without any issues. I have personally tested all of these wireless adapters and decided to rate them on my experiences. Since I enjoy using tools like aircrack-ng for hacking WiFi access points, all of the WiFi adapters I have listed are able to be used in interface and ad-hoc modes, which lets you run them in monitor mode as well as being able to use the adapter as an access point. Lets cut to the chase.

5. Realtek 8191 WiFi Adapter

I got this WiFi adapter for my parents who needed a wireless connection for their desktop computer in a spare bedroom they use as their computer room. It’s been working with no major issues or speed concerns however my parents have complained that it will freeze up and they have to plug the USB adapter out and in again to get it to work. This doesn’t happen often but often enough that I replaced it with a better adapter.

If you need something cheap and for basic connectivity this may be the WiFi adapter for you. It usually sells for around $10 and that’s including shipping which you can’t beat for the price.

4. Etekcity Wireless N WiFi Dongle

The Etekcity WiFi adapter is pretty decent for its price. It’s a true 802.11 N WiFi adapter because it works on both the 2.4GHz and 5GHz WiFi signals. I found that the range is decent enough to pick up your neighbors signal about half a block away. It comes with 2 6dBi antennas to work on both wavelengths.

It will work with 802.11 b/g/n and has a transmission rate up to 300Mbps. The WiFi adapter is compatible with WEP 64/128, WPA/WPA2, & WPA-PSK/WPA2-PSK security.

The Etekcity WiFi adapter usually sells for under $20 and works well with the Raspberry Pi.


3. Alfa 1000mW High Power AWUS036H

The Alpha AWUS036H WiFi adapter is one of the most popular choices for pen-testing and connecting to your WIFi at home. It has great range and can pick up signals up to a block away without much loss. It also includes settings for increasing the power of the WiFi signal to connect to networks further away.

When you purchase from Amazon there are a few choices that you can buy. Some of them come with a holder and flex cable which are not necessary. I bought the model that comes with the 5dBi and 7dBi antennas. The 7dBi antenna is a directional antenna meaning it can get better signals depending on which way it’s facing. The reviews for the 9dBi antenna are not the best, so I personally wouldn’t recommend it. The only other downfall with the Alfa AWUS036H is it is not compatible is 802.11 N signals, which may be an issue if a network is setup for only 802.11N

If you are looking for a WiFi adapter that works perfectly on the Raspberry Pi and has great reviews then you can’t go wrong with the Alfa AWUS036H WiFi adapter


2. Panda Wireless PAU06 300Mbps N USB Adapter

The Panda PAU06 is one of the first WiFi adapters I have used with the Raspberry Pi. It works with no issue and doesn’t require any software to be installed on the Raspberry Pi. The WiFi adapter has been very reliable and I use it a lot.

The Panda PAU06 WiFi adapter comes with an external antenna which works well. The range on this adapter is a little short of the Alfa AWUS036H. It may not pick up as many networks as the Alfa, but the networks it does pick up are very reliable and you do not get many dropped signals when you are connected to a network further away.

The only issue I have with this WiFi adapter is when you plug it into your USB port while the Raspberry Pi is running it will draw too much current and restart your Raspberry Pi. After it has been plugged in it will not reset your Raspberry Pi and works perfectly.


1. TP-LINK TL-WN722N  N150 High Gain USB Adapter

This is my best pick for the WiFi adapter of the year for the Raspberry Pi. It works great, sets up in seconds and is plug and play. It uses the Atheros AR9271 chipset which is very reliable and has a lot of support for linux. It has great reception and can seek out signals far away. It is very stable once it is connects to a network and  has virtually no signal loss.

It works with 802.11 b/g/n wireless networks, which is the standard now. The price is usually under $12 which can’t be beat. The only downfall with the TP-Link TL-WN722N wireless adapter is that it can only transmit up to 150Mbps. This shouldn’t be a problem for many users and you most likely will not even notice the slower speeds unless you are transferring files onto your network.

For under $12 and great connectivity and options the TP-Link TL-WN722N wireless adapter is my pick for best WiFi adapter for the Raspberry Pi in 2016.




How to install aircrack-ng suite on the Raspberry Pi

About: In some cases you may need to install the aircrack-ng suite on a Raspberry Pi that’s dedicated to hacking like the official Raspbian distro. That’s not a problem. Installing aircrack-ng on the Raspberry Pi is very easy and I’ll show you how to get it up and running in just a few steps. This tutorial is also useful if you need to update your aircrack-ng suite when using Kali or PwnPi that comes with an older version.

Objective: To demonstrate how to install aircrack-ng suite on the Raspbian distro for the Raspberry Pi

Material: You will need the following:

Instructions: Let’s begin by installing the libraries that are needed to get aircrack-ng to work on the Raspberry Pi. Type in the following command: Continue Reading

How to block ads on your network with the Raspberry Pi

About: You can use your Raspberry Pi as a DNS server which blocks ads on all your devices connected to your network. This means your Iphone, Android phones and Ipads can now block ads without needing to root them or do any changes to them. We’ll be using Pi-hole to put on our Raspberry Pi and the install is very simple. I will be using a dedicated Raspberry Pi with a clean install of Raspbian on it. If you are using your Pi for anything else like a web server or have edited the DNS settings then the install may break your setup. I would recommend setting up your Pi-hole on a clean install to prevent anything like this from happening or backup your Pi before running the install.

Objective: To demonstrate how to set up our Raspberry Pi as a DNS server that blocks ads on all devices network wide.

Material: You will need the following:

Instructions: Installation of Pi-hole is very simple. Start off by simply typing the following command in the terminal Continue Reading