This is an updated version of my previous Instructable: Control Stuff with your Raspberry Pi (GPIO) Over the internet.
This version is much more secure and could easily be used across the internet with very few security concerns.
A brief outline:
- A server program that runs on the Raspberry Pi to read variables
- A MySQL database to store the variables in
- An Apache2 served webpage to allow control of the variables
Step 1: Knowledge Base
Step 2: Enable Root Account
Login to your Raspberry Pi with your username and password, then type the following:
Now, type in (and confirm) a password for the root account.
Then you need to colse the SSH session, and restart it - logging in as root.