[FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!

After stripping out MySQL completely, then PHP, and reinstalling still doesn’t work – WTF.

Next step – rebuild the machine – fresh install of Raspbmc might be nice! website setup – Lighttpd

If you want to enable the users on your linux box have their own home page, where you can access from, its pretty simple!

  1. Edit /etc/lighttpd/lighttpd.conf

Under server.modules add: “mod_userdir”

In the main body of the file, add userdir.path = “public_html”.

2. Add the “public_html” folder.

In your account root, (cd ~). run mkdir “public_html”

3. Insert a test index.html file.

cd public_html to get into the directory.

sudo nano index.html to create the index file.

<html><body><h1>Done!</h1></body></html> the html to add to the file. Save and close the file.

4. Restart lighttpd.

sudo /etc/init.d/lighttpd restart

Done! If this didnt work for you leave me a comment and I will see if I can help.

Raspbmc: Turn XBMC On or Off (inc. HDMI Out) from SSH

Why would you want to do this?

I use my RPi for XBMC and as a web server (yet to reinstall after switching to Raspbmc). I do not always want XBMC running, as I am not always home and also not always watching films! So in the interests of saving system resources I wanted to stop XBMC and shut off the HDMI to stop any TV interference. There are two commands to do this, but they are quite long and not easy to remember! I needed something to shorten this process. Preferably xbmc start/stop.

This is how I implemented it.

Continue reading

Backup a Raspbian Installation

I only have one decent sized SD card for use with my Raspberry Pi, a 32GB Sandisk SDHC card. I recently started looking at Raspbmc for XBMC use (as the installation looks better than installing XBMC on top of Raspbian).

As such, I googled it. Found it on stackexchange and an subsequently reposting what I have found, in a hopefully easier to read way.

Continue reading

Welcome 2013

So… its been 2 and a half years since I last posted anything to a blog. Now its 2013, the year of (hopefully) my graduation from University, I have decided to start posting again. I will use this blog as an outlet and a kind of journal for my projects and any potentially useful information that I come across.

Things to come:

  • Raspberry Pi
  • Web Development
  • Electric Guitar building and learning
  • Anything generally related to Technology, the web and Computing

Follow this blog if you like, follow me on twitter @AdamPMatthews.

Strung up and plugged

The new and improved Shine Flying V now has strings and a cover for the electronics!

  CRW_5662 CRW_5664

Strings of choice, Ernie Ball Power Slinky (£6.99 from Ken Stevens, although they are cheaper online at Strings Direct).


Click below to read on!

Continue reading

Shine V Under Way!

I have taken delivery of my Shine Asymmetric Flying V, and I have images showing the state it arrived in and its state so far.

 CRW_5601 CRW_5606 CRW_5611

Click below to see more!!

Continue reading

Vee 1 Parts arrive!

2010_0327_144941 2010_0327_145216

2010_0327_145354 2010_0327_145432

The major parts of the Vee 1 have arrived! Neck, Body, Bridge and Pickups. All that’s left now is machine heads, strings, paint and control knobs. Electronics’ have been ordered!

2010, Year of the eReader and portable computing, and the regeneration of newspapers

Having glanced at some CES 2010 coverage today, I have noticed a massive trend (as has everyone else to be honest). Portable ‘eReaders’ and tablet or ‘slate’ devices as they are now being branded. One of which that took my eye is the Skiff eReader.

Continue reading