Former Writer · Dec 9, 2012 at 06:00 pm

Learn How to Host a Website with a Raspberry Pi

The Raspberry Pi is not only one of the most unique devices on XDA, but it is also among the most popular with developers. So far, we’ve brought you news of Raspberry Pi getting ICS, ADB support, and a supercomputer was built out of a bunch of them and Legos. It’s even made our Best “Other” device of the year. There is so much you can do with the little thing. Now, you can host websites as well.

XDA Senior Member marty331 wrote a tutorial on how to host a website on the Raspberry Pi. The list of required software and hardware is quite long, but the process itself is pretty simple. To get started, you’ll need:

Hardware:
Raspberry Pi
USB power cable
Ethernet cable and modem to connect to
HDMI cable (temporary need)
Monitor (temporary need)
USB mouse/keyboard (temporary need)
Standard SD card
SD card reader on your computer

Software:
Raspbian image – Debian based OS for Raspberry Pi
Lighttpd – lightweight webserver that is extremely easy to set up
PageKite – makes local websites or SSH servers publicly accessible in mere seconds, and works with any computer and any Internet connection.

Once you have acquired all of that, it’s simply a matter of following the tutorial step-by-step. You’ll run through downloading and installing some packages, such as lighttpd and giving your Raspberry Pi a static IP address. From there, it’s just a few more steps, and you have a website hosted on your Pi. While useful in its own right, this just adds yet another useful tool to the Raspberry Pi arsenal.

For more details, check out the original thread.


_________
Want something on the XDA Portal? Send us a tip!
TAGS:

Former Writer

Former Writer is an editor on XDA-Developers, the largest community for Android users. View Former Writer's posts and articles here.
Emil Kako · Mar 31, 2015 at 06:55 pm · 3 comments

What’s Your Biggest Reason for Not Owning an iPhone?

With XDA being a community of Android enthusiasts, it is not uncommon to see lots of bashing on Apple's iPhone here. There are different reasons for the hate, but we'd like to hear your number one reason for not going with the iPhone. Let us know your thoughts below!

DISCUSS
Mario Tomás Serrafero · Mar 31, 2015 at 11:55 am · 3 comments

Xiaomi Finally Releases Kernel Sources

If you are familiar with Xiaomi, you might have heard that they are not the most compliant when it comes to the General Public License that makes the core of Android open to us. The terms of the GPLv2 state that since the Android kernel is based on the Linux kernel, which is licensed under GPL,v2 Android has to be open-source for everyone to study or modify, and those that modify the Android kernel have to make their sources immediately available for...

XDA NEWS
Faiz Malkani · Mar 31, 2015 at 10:59 am · 2 comments

Xiaomi Announces Redmi 2A and More for 5th Anniversary

Xiaomi was founded on April 6th, 2010 and its fifth anniversary is just around the corner. In the past five years, the company has grown by leaps and bounds, rising to the positions of largest smartphone OEM in China and third-largest globally and coupled with its expansion plans and 100 million sales benchmark, this anniversary warranted a fervent celebration. After teasing products on its forums for a few days, Xiaomi held the anniversary event earlier today and staying true to the...

XDA NEWS
Share This