Raspberry Pi with WordPress


Previously I set up the Raspberry Pi with Berry Web Server, but today I wanted to see how the Pi would run with the more often used Apache, PHP, MySQL and WordPress. One of the podcasts that I watch frequently is Know How, on the TWiT network. A couple of weeks ago they had a show where they did just this.  (A RAMP/LAMP server).  I’ve included their show notes below – the original episode and notes are found via Know How!


    1. Download all the files that you’ll need for the project. (Formatting Tool & NOOBS) You’ll find all files at the Raspberrypi.org Download Page
    2. Extract the files to your desktop and copy ALL the contents of the extracted NOOBs folder onto the SD Card.
    3. Connect the Raspberry Pi.
    4. Install – You’ll get a screen that lets you select which distro you want installed on your Pi. Select “Raspbian” and then click “install”
    5. Click “OK” and the RasPi will reboot into the configuration tool.
    6. Change your Password – Using the arrow keys, choose option #2 and change the default password. (Your username will be “pi” and your password will be whatever value you choose.)
    7. Set Language and Time Zone – Scroll down to option #4 “Internationalisation Options” and set the Pi to your language and time zones.
    8. Select “Finish” then hit ENTER

* You’ll now see the Raspbian command prompt which should look like this: “pi@raspberrypi ~$_”

You now need to update the list of available packages, install Apache, MySQL, PHP5, PEAR, and phpMyAdmin, then set the Apache Configuration.

Update Packages
sudo apt-get update

Install Apache
sudo apt-get install apache2

Install MySQL
sudo apt-get install mysql-server
* In the middle of the installation, you’ll be asked to change the root password for the MySQL database.

Install PHP5 & PEAR
sudo apt-get install php5 php-pear php5-mysql
sudo service apache2 restart

Install phpMyAdmin
sudo apt-get install phpmyadmin
* It will ask you, halfway through the installation, which web server you want to use. Select Apache and then select “OK”
* It will also ask you to confirm that you want to use the MySQL database installation that you just completed. Give it the password that you selected and continue.
* Lastly, it will ask you what password you want to use for the phpMyAdmin page.

Set the Apache Configuration
sudo nano /etc/apache2/apache2.conf

Add the line:
Include /etc/phpmyadmin/apache.conf

Start the server
sudo service apache2 restart

Test It!
Type: ifconfig and you’ll get a status screen that includes the “eth0″ IP address. Type that address into your browser and you should see the “It Works!” screen.

If you append “/phpmyadmin/” to the IP address, you’ll enter the phpMyAdmin page.

Add an FTP Server!
Take ownership of the web root by typing:
sudo chown –R pi /var/www

Install the vsftpd package by typing:
sudo apt-get install vsftpd

Edit the vsftpd configuration file by typing:
sudo nano /etc/vsftpd.conf

You need to make four changes to the configuration file:
– First, change “anonymous_enable=YES” to “anonymous_enable=No”
– Remove the comment, the pound sign, from “local_enable=YES” and “write_enable=YES”
– Go to the bottom of the file and add the line: “force_dot_files=YES”
Hit CTRL & X to save and exit.

Now start the FTP server by typing :
sudo service vsftpd restart

Finally, we’re going to create a FTP shortcut. Type:
ln –s(space) /var/www/ (space) ~www

Success :)  It runs pretty well considering the low power!

Pi Blog

Zombies, Run! 5K Training

SneakersRecently the brutal NY winter has let up a bit, and my boyfriend and I have started to run outside.  To make the run more interesting, he showed me a cool app - Zombies, Run! 5k Training (Android and iOS compatible). It is an app with audio feed that integrates you with a story, as well as running training.  You are “Runner Number Five” and are training to help collect supplies and protect Abel Township from the up and coming zombie apocalypse.

I’ve just completed the tutorial, which took about 30 minutes, and it felt pretty good. :)

Zoms beginThe app has a good mix of story, and then playing our own music playlist.  I’ve just registered for Zombielink, so I can keep stats and track my running pace, speed, calories etc instead of posting here.  If you are interested in mixing up your workouts, especially if you are running outside, check it out.  I can’t wait to do Week 1, workout 1 next! 

Note: All opinions are my own and I was not paid to write this post.


Eton Radio

I’m ready for the blizzard….and playing with my new Canon EOS 70D!

Screen Shot 2014-01-02 at 21.04.51

It’s going to be pretty cold here on Long Island.  Driving home tonight was a bit slippery and work is opening late tomorrow. I have a feeling it won’t be as bad as we think, but hey, that’s better than the vice versa. Sorry ahead of time for this rather dull blog post, but I want to get used to blogging again… it should get better!


Weekend Project: Raspberry Pi with 4.3″ TFT Color Screen


For Christmas my geek-half (boyfriend) wanted a 4.3″ screen from Adafruit.com for his Raspberry Pi. After a bit of searching, I decided to get a screen that looked pretty darn similar to the Adafruit one off of Amazon.com that was less than half the price! I then bought one for myself with the savings :)  It seems really great for a tiny Pi terminal, either for IRC chat or a Twitter client.


I set up this particular SD card for my Raspberry Pi using NOOBS, and installed the Raspbian image.  If you also decide to get the same screen (for such a good deal at $19.78 USD), I have the following set up for my /boot/config.txt in order to get a really good edge to edge fit on the display. (By default it’s a bit wonky.)   I’ve only included the lines that I’ve uncommented.  There are some comments on the Amazon.com thread where I purchased this.  See my settings work for you!

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
overscan_scale=1 #currently undocumented but works

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border

# uncomment to force a console size. By default it will be display’s size minus
# overscan.

# uncomment for composite PAL
sdtv_mode=0 #for NTSC
sdtv_aspect=3 #for 16:9

# for more options see http://elinux.org/RPi_config.txt


If you are wondering, the keyboard I use is a Logitech K400.  It’s great for space saving and super lightweight.

Next step is to find a lightweight Twitter client. This seems to be a challenge…Comments with suggestions would be appreciated!


Weekend Project: Tiny Tiny RSS Part 2 / Tutorial

Previously, I wrote about doing a weekend project, and decided to try Tiny Tiny RSS.  I also decided that I would install it on my webhosting plan Dreamhost, since I already had the resources.  It was super easy!

I pretty much followed the installation notes on the Tiny Tiny RSS website.  You will need to make sure you have a new database, as well as the username and password, along with database server name (if not a local machine).

You need to download the tarball, and uncompress it.  I use OS X, so uncompressing the file is super easy by double clicking.

I used Cyberduck FTP to upload it to my Dreamhost server, in a new subdomain (for example: subdomain.binarydigit.org)

You then visit the new RSS site at  http://subdomain.binarydigit.org/install/ and follow the instructions to enter in database name, username and password.

Almost done!  Visit your new rss site, and ensure you change your default password.  You also need to remember to set up a method to update your RSS feeds, since it won’t happen automatically.  Since I used my shared webhost, I decided to use the simple background method, by changing SIMPLE_UPDATE_MODE to true in the file “config.php”.

Don’t forget to import your Google Takeout “subscriptions.xml” into your new RSS reader.  This is the same as your “OPML” as well.  To do this, go to “Actions”, “Preferences”, “Feeds”, then scroll down to “OPML” near the bottom of the page:

Tiny Tiny RSS OPML

All set!  You should now see all of your subscriptions in your reader.  There are TONS of other options for your new RSS reader.  There is also an Android client available on the Google Play store.




Weekend Project: Tiny Tiny RSS


Today I’m going to try to begin a new series called “weekend projects”.   This weekend’s project will be installing Tiny Tiny RSS on my own webserver!

I, just like many users, was upset when I heard about Google Reader closing down.  I quickly tried as many RSS readers as I could get my hands on.  There are tons out there, but I decided that Feedly was the best one for me. I like the web interface, as well as iOS and Android apps.  It’s easy to share and bookmark articles, and I’m a sucker for the nice clean interface.

I did more searching around and found Tiny Tiny RSS, an open source web-based news feed (RSS/Atom) reader and aggregator.  I have a couple of options here: use my Raspberry Pi, and my dynamic dns URL, or try to install it on Dreamhost.  I will probably try it on both, and post the results of how things go!  Stay tuned for part two of this post!

Glance App for Pebble!




I’m really liking the Pebble watch.  I finally received mine in red – I decided to wait instead of settling for the black version.  Today I decided to try to install Glance, which is an app for Pebble.  It gives you an option to display the weather, plus more notifications if you want to.  Check it out on the Google Play store if you have a Pebble watch and Android phone!