hit counter joomla

How to Setup A Raspberry Pi Webserver (LAMP)

A Small Dedicated Server Running At Home

512MB Raspberry Pi Model B Project BoardThe Raspberry Pi is a small SBC (Single Board Computer) perfect for learning programming or using as a small desktop PC. It supports both HDMI and composite video. 
[Type B, 512MB RAM]

$35 BUY NOW!

Raspberry Pi is simply a small computer node that is a touch larger than a box of cigarettes. There are currently two models, Model A with 256MB RAM and Model B with 512MB's. Raspberry Pi is a very versatile little computer that can be used for many different projects including running as a webserver as this post is about. If you want to learn more about the Pi, head over to the official website.

raspberry pi LAMP webserver

I have three Pis, two of which are webservers, and the third is currently a front door security IP camera (For $35, how can you go wrong, right?). The nice thing is that it doesn't cost a lot to run these Pi's full time as they're only powered by microUSB phone chargers with a 1amp output. My Joomla site running of the Raspberry Pi at home is at raspberrypihosting.com

We're using an 8GB MicroSD card (Class 10, 55x write) loaded with Raspberian OS. We are also connected to the home internet via 3 foot Network Cable. Port 80 has been port forwarded in the router from the external IP address to the Raspberry Pi on port 80.

First things first, we enable the root user

sudo passwd root

...and enter a new password for the root user.

Next, we update and upgrade:

apt-get update
apt-get upgrade -y

Next, we install Apache and PHP

apt-get install apache2 php5 libapache2-mod-php5 -y

When that completes, we install MySQL:

apt-get install mysql-server php5-mysql -y

And Setup the Database where "password" is the password you set when MySQL was installing:

mysql -uroot -ppassword

Create the database name where "dbname" is the name of the database:

mysql> create database dbname;

And then it's time to create the webhosting space.

chown -R pi:pi /var/www
chmod -R 0755 /var/www

Now we install an FTP Client, VSFTP:

apt-get install vsftpd -y

After it configures, start it by typing:

service vsftpd start

and restart Apache2:

service apache2 restart

At this time, you'll be able to load Joomla! either via command line or FTP the files up to the server.


  • No comments found

Leave your comments

Post comment as a guest

0 / 2500 Character restriction
Your text should be in between 10-2500 characters
terms and condition.

Around Joomla!

  • Joomla! to attend DaVinci's Faire 2017

    Displaying items by tag: English Apr 1, 2017 | 11:34 am

    Joomla! is making its first appearance at the Davinci Faire and BarCamp in Sarasota, Florida.  The event draws more than 600 people from across the gulf coast gathered at the Manatee Technical College to talk tech and show off their latest creations. 

    Read more...
  • JUG Round Up April 2017

    Displaying items by tag: English Apr 1, 2017 | 11:14 am

    In March, the JUG Team sent out their first of what will be a monthly newsletter to JUG Organisers. The topic was merely to ask Organisers to come and check their listings on the JUG Directory for accuracy.We had a number of bounced email addresses and have opened tickets wherever possible to get more listings up to date. Many JUGs updated their listings. Thank you!

    Read more...
  • Joomla is NOT Free!

    Displaying items by tag: Feature Stories Apr 1, 2017 | 08:00 am

    The concept of an open-source, 100% community project may seem to be a small portion of the software industry today. It was even less common over 10 years ago when Joomla! was founded. However, 100% volunteer organisations have been around for many years - providing relief to those in crisis and facing all sorts of challenges, promoting social change, and encouraging personal improvement. Each of these organisations rely on people to contribute to the cause solely to help other people.

    Read more...
  • The Top 10 Most Read Articles in 2016

    Displaying items by tag: Feature Stories Mar 31, 2017 | 21:57 pm

    We had a look at our site stats in 2016 and found great articles that are examples of what makes a great magazine. In this issue, we are counting down the Top-10 Joomla! Community Magazine (JCM) 2016 articles that received the most views throughout the past year.

    Read more...
  • Joomla April 2017 Round-Up

    Displaying items by tag: English Mar 29, 2017 | 18:48 pm

    It's April and the change of the season brings great news for the Joomla Community. In this article, we will highlight some points of interest for our readers. JaB'17 awardees have been announced, Joomla! 3.x series is coming to an end and Joomla! 3.7 Beta 4 has been released, bringing some great and cool new features.

    Read more...
 

Posted By:
Joomla User Group Detroit

Organizer,

Donations and Gifts

Donations that go to keeping the Meetup 100% Free are welcome!