Step 4: Shell Script
This script is pretty simple, but does require setting up.
Firstly, download the script by inputting the commands below (on your Raspberry Pi).
sudo -i and hit Return / Enter.
wget http://raspberrypi-gpio.googlecode.com/files/GPIOServer.sh and hit Return / Enter.
Once this has downloaded, type in the following:
chmod +x GPIOServer.sh and hit Return / Enter.
nano GPIOServer.sh and hit Return / Enter.
This will allow you to edit the script.
You must change the following variables at the top of the file:
These must be changed to the username and password you created previously in phpMyAdmin.
Once these have been changed, hold the Ctrl key and press x, then release the Ctrl key and press y, then hit Return / Enter.
That's it for the shell scripting session.