Well, my first go around with installing the LAMP stack onto my Raspberry Pi was not…. ideal.
I followed everything in the book to the letter (literally, because the command interface is case-sensitive) and I encountered numerous problems. I was able to successfully install it in the end, however, but was unable to accomplish the installation of Joomla.
Here is my Google Document that holds my lab work and screenshots for the web server lab:
For those of you who don’t know, a LAMP stack involves:
This is where the LAMP acronym comes from. The Linux is just the operating system that the web server runs on. That was already installed prior to this lab. I had a fairly easy time installing Apache.
The terminal window shows the commands used and the browser has the URL that proves that Apache was successfully installed.
I had a lot of trouble downloading the MySQL. I went through many hoops because I think the first time I tried to download it, it paused. This made it so that every time I tried to download it again, it gave a FAIL message. I ended up using this website: http://www.raspberrypi.org/forums/viewtopic.php?f=28&t=54839#p483434 and purged anything I had with MySQL. I then redownloaded it and it worked. I spent probably 3 hours trying to get it to work, so I was extremely satisfied when it finally cooperated. Below are the screenshots showing the command I used and proof that it is working correctly.
Downloading PHP was pretty easy. All it involves is creating a new text file and adding a line to phpinformation.php (<?php phpinfo();?>).
I had some trouble with this download in the beginning, similar to MySQL. However, this problem was because I hadn’t updated/upgraded and I needed to use the sudo -s command to show I was the root user. Once I did all of these things, I was able to successfully install it.
Here is a good RaspiPress site that shows all of the instructions:
This lab wasn’t too bad, besides the MySQL problems I encountered. I was able to overcome them, although it took many hours of searching and command typing.
But, as Arnold Schwarzenegger once said, “Strength does not come from winning. Your struggles develop your strengths. When you go through hardships and decide not to surrender, that is strength.”
“The Sand Man vs. MySQL” will be coming out in theaters May 2015 along with “Avengers 2: Age of Ultron.”