Instructables

Raspberry Pi simple blog server.

Picture of Raspberry Pi simple blog server.
PICT0404.JPG
Hopefully you already have your basic Raspberry Pi already set up with the Debian Linux image. There are already many articles on how to do that. Here we will set up a simple blog that does not require MySQL You do need the Apache2 web server and PHP software.  The blog we will install is known as Flatpress it is great for the family intranet network, though, I would not allow to be on the web. Flatpress is good for starting web masters. After doing this instructable, you might want to also install  status.net a twitter sort of clone. (http://www.instructables.com/id/Statusnet-the-Twitter-clone-setup/)

Note: you need to have at least some knowledge of the linux command line to complete this instructable. Using putty or ssh from a gui environment to log into the RPi is extremely helpful. Makes it easy to just copy and paste commands.

Note 2: You could actually install this on most any computer system with the Apache2 php requirements fulfilled.
 
Remove these adsRemove these ads by Signing Up

Step 1: Name change to protect the innocent.

Picture of Name change to protect the innocent.
You will want to change the name of your Raspberry Pi or you might get another server from the web. Also I am sure you have already set up your router to set the raspberry pi address. See your router manual on how to do that.

$ sudo hostname oeraspberrypi

Use ifconfig to get your ipaddress of the RPi

$ ifconfig

eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:192.169.1.41  Bcast:192.168.1.255  Mask:255.255.255.0  < < < < <
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:60188 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32615 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:80088549 (76.3 MiB)  TX bytes:3105057 (2.9 MiB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:32 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2540 (2.4 KiB)  TX bytes:2540 (2.4 KiB)

Then you will need to edit your host file to reflect that address.
very cool, how much traffic can a resp pi web server handle?
Computothought (author)  amandaghassaei1 year ago
To be honest, I have not tested it for volume traffic. We do use it here at home for the family only.