ultrakomm
Posts: 1
Joined: Fri Aug 17, 2012 2:29 pm

Post your Raspberry Pi server setup!

Fri Aug 17, 2012 2:36 pm

Hi!

I thought it would be a good idea to have a thread where people could post their Raspberry Pi server setups. That way people might be inspired to try something new. I personally haven't gotten around to buying more than one Raspberry Pi yet (which I use as a media center), so I don't have such a server, yet.

Stuff that might be of interest:
  • How many Raspberry Pis does your setup consist of?
  • What other equipment and components do you use?
  • What do you use your server setup for?
Any other stuff that might be interesting that I should add to the list?

So, feel free to post your server setup(s). Preferably with pictures! Everyone likes pictures. :)

Bioshox
Posts: 104
Joined: Sun May 27, 2012 12:18 pm
Location: Manchester, United Kingdom.
Contact: Website

Re: Post your Raspberry Pi server setup!

Fri Aug 17, 2012 3:15 pm

TripplePi!

I use it for Web Development and Sandboxing, a file server for work and SAMBA store locally for my family to move files around!

Also obviously using Raspcontrol to view Vital Statistics http://www.raspcontrol.com

Image
Attachments
319322_263728370405219_1388981139_a.jpg
319322_263728370405219_1388981139_a.jpg (12.4 KiB) Viewed 35017 times
Owner of: http://www.fusionstrike.com - I make gorgeous Raspberry Pi Tutorials :)

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Post your Raspberry Pi server setup!

Fri Aug 17, 2012 3:48 pm

At the moment, my Raspi has 2 USB webcams attached to it as a webcam server.
It has also acted as a wireless access point and router recently.
I only have one for now so it's got multiple duties lol
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

jackbohlen
Posts: 6
Joined: Fri Aug 17, 2012 4:55 pm

Re: Post your Raspberry Pi server setup!

Fri Aug 17, 2012 5:14 pm

I currently have one Raspberry Pi. I use it for streaming internet radio and chat (irssi + bitlbee, I can't live without that combination!). I have rtorrent installed and an old Cowon (iAudio) X5 30Gb music player connected as storage. It also runs sshfs so I can easily access the storage from my computers and my android phone, my own personal cloud if you like (even though I hate using that term).

I was hoping to use my Pi as a subsonic server, but I've had little success at getting jukebox mode working and playing FLAC files. Not a big deal since I have it running on another server, it would just be cool to have it running on the Pi instead ;)

Beno
Posts: 3
Joined: Wed Jul 04, 2012 5:25 pm
Location: Netherlands

Re: Post your Raspberry Pi server setup!

Fri Aug 17, 2012 5:55 pm

I own one pi at the moment that services raspcontrol so i can easy check the load of the server. calibre-server i use to share my e-books over the web. For when i am at home i have samba and shairport to stream music to my radio.

MakerDyne
Posts: 8
Joined: Wed Aug 15, 2012 8:50 am
Contact: Website

Re: Post your Raspberry Pi server setup!

Fri Aug 17, 2012 9:32 pm

I've got a Pi in a ModMyPi case which I've tarted up a bit http://www.makerdyne.com/new-case-for-the-raspberry-pi/ and pressed into service as a torrent downloader for my brother who's at uni and isn't allowed to run P2P stuff on their network. Torrents are saved to an external USB hard drive by Transmission which I'm using as the BitTorrent client. In order to provide secure and password protected access to Transmission's web interface, the Pi is running Lighttpd as a proxy. I've written up how to get Lighttpd working with Transmission here http://www.makerdyne.com/providing-secu ... interface/

brs
Posts: 70
Joined: Fri Aug 17, 2012 9:27 pm
Location: Zurich

Re: Post your Raspberry Pi server setup!

Fri Aug 17, 2012 9:58 pm

rpi_small.jpg
rpi_small.jpg (33.81 KiB) Viewed 34808 times
I have a headless/networked Raspberry Pi running as a print-server gateway for Apple Air Print and google cloudprint as well as a social-networking robot, which cross-posts my public Google+ posts to Twitter.

More details can be found in http://blog.kugelfish.com/2012/08/raspb ... first.html and http://blog.kugelfish.com/2012/08/kugel ... ry-pi.html.

newalbanytom
Posts: 10
Joined: Tue Aug 07, 2012 4:52 pm

Re: Post your Raspberry Pi server setup!

Fri Aug 17, 2012 11:05 pm

I'd like to see a step by step tutorial on setting up some simple blog software besides wordpress!

i've been trying to setup (ode,flatpress, and blosxom) and lighttpd. Lighty was easy and no pain...

1 Pi and just serving a dead simple web page in html/css.

I'd like to try/do a bit more but am newbie...............

Tom Martin

Baldrick1
Posts: 29
Joined: Thu Aug 02, 2012 3:37 pm

Re: Post your Raspberry Pi server setup!

Sat Aug 18, 2012 4:13 am

I have mine set up in a cupboard next to the router. The Pi itself is wedged into an external drive caddy along with a hard drive. Only 1 power cable and 1 LAN cable are coming out of it so its a nice self contained unit. I hooked up a small fan to get a little airflow over the board as it's not being left out in the open.

I did have 2 Pis but got rid of one as I don't (currently) see the need for a second.

During the day it's a webserver for me to experiment with. It currently has Raspcontrol, a CMS and a couple of custom experimentation pages on it. I bought a domain (£35 for 10 years) and assigned it to my IP so I can access the pages easily from the internet.

It's also an SSH proxy for Firefox at work during the day :)

In the evening it carries on being a webserver and is also a samba NAS for some various files that I may want on a few machines.

By night it's a Transmission torrent server. There's a cron job setting Transmission to be enabled between 0000 and 0800.

The only additional thing that I can imagine wanting to do with it is to have a browser based audio streamer so I can listen to some music over the internet when I'm out. I've done a little experimentation with this but not found a product that I'm happy with yet.

Nightwing2012
Posts: 47
Joined: Sat Oct 29, 2011 9:19 pm

Re: Post your Raspberry Pi server setup!

Sat Aug 18, 2012 5:37 am

Been working since late 2008 to makes as small as possible a Web Radio Server.

Code name Sara Base: M.A.R.S. as in Micro Audio Radio Station.

How many Raspberry Pis does your setup consist of?
.... A single RPI
.... 16GB SDHC C10 Memory.
.... OS: Raspbian “wheezy”
.... Raovac 1A 5V OEM phone charger.

What other equipment and components do you use?
.... USB Keyboard/Mouse
.... 22 inch Computer Monitor referb ( 89 out the door price )
.... Wired net cable. ( Want to add a wireless dongle to replace this )

What do you use your server setup for?
.... MAIN: ( This is the main object so far.)
........ Using Icecast2 as the web server / shoutcast format output program.
........ Using ezstream as the player playlist/file to stream program.

.... SERVER TEST:
........ Apache + PHP server to do basic web server.
........ FTP ( Just to fool around with it )
........ Samba client setup

FUTURE CHANGES:
........ Want to try out liquid soap to add/replace ezstream feeder.
........ Want it to upgrade the current old PC setup station in doing the same job.

wh1p
Posts: 29
Joined: Tue Jul 03, 2012 11:00 pm
Location: South East UK
Contact: Website

Re: Post your Raspberry Pi server setup!

Sat Aug 18, 2012 10:10 pm

I currently only have a single Pi and i guess i could say it is being used as a web portal, i have got apache and php running on it with raspcontrol for monitoring the Pi and then i also have it setup to forward SSH so whenever i am out of the house i have a "safer" connection, i recently went on holiday and there was only public wi-fi and i left the laptop connected to the tunnel when i wasn't using it sometimes to test if it would drop out and it never did perfect for my current use.

Future plans:
Use current Pi for more tasks such as providing more online applications and cloud services such as aeroFS and then either as well use my current Pi for circuit board development or buy another one for that and start messing around with servos, motors, webcams etc... to make an autonomous RC car :).

User avatar
exartemarte
Posts: 360
Joined: Sat Mar 03, 2012 3:51 pm
Location: Middle England
Contact: Website

Re: Post your Raspberry Pi server setup!

Sun Aug 19, 2012 12:33 am

One Pi, in ModMyPi case, with 500GB usb hdd providing shared storage to other machines on the network (desktop, two/three laptops depending on who's in residence, second Pi). Normally headless, borrows hdmi monitor and wireless keyboard/mouse combo from desktop when necessary. (Desktop uses vga monitor input, keyboard and mouse connected via usb switch, so no plugging/unplugging of cables.)

Second Pi is my plaything - in sb components case (rather nifty, plus slot for gpio cable) with 32GB usb stick (one of the tiny ones), network via RJ45 wifi bridge, most often headless but dvi monitor plus PS2 keyboard & mouse via Belkin adapter when needed. Also seven-port powered hub, not currently connected.

Both Pis running Raspbian with ssh enabled and Samba.

lightnin
Posts: 10
Joined: Wed Jun 20, 2012 11:57 am

Re: Post your Raspberry Pi server setup!

Sun Aug 19, 2012 1:06 am

You can see it all here:
www.amosamos.net

It's lighthttpd serving my static pages, and the blog (thought) part uses Pelican, an excellent static html blogging engine! (Yep, no need for MySQL - saves a lot of cycles! And it can sync new blog entries via dropbox or ssh)

http://blog.notmyidea.org/pelican-a-sim ... ython.html

For a long time I was stuck because my ISP blocks incoming requests port 80. I got DynDNS and redirected around the port 80 block, but that made my urls show the port number - looked ugly, and never seemed to work very well. And just today some friends told me about PageKite - a fantastic service for anyone who wants to host their own sites! No need to worry about opening ports on your router. It's essentially a reverse proxy that uses an ssh tunnel to serve your content. So now I have nice working URLS (for cheap / pay what you want).

http://pagekite.net/

My recommendation is not to bother with NO-IP or dynamic DNS - for me it was waste of money and time. PageKite is way simpler!

User avatar
DanielS
Posts: 12
Joined: Thu Jul 26, 2012 1:39 am
Location: Martinez,California
Contact: Website

Re: Post your Raspberry Pi server setup!

Sun Aug 19, 2012 1:55 am

I currently have 2 pi's and a few more on the way.
I've installed opentracker which is an open bit torrent tracker, that I encourage more people who are creating all of these custom images to use.

I have the other one running apache serving the home page for twig.gs which is the location of the torrent tracker, but am thinking of moving over to monkey (http server).

Being no one's really using my tracker currently, I also have the webserver running MPD so that I can listen to some music and control it from my phone, which is great for freaking my roomate out while I'm at work and he's not. :lol:
Add my Bit Torrent Tracker to your Raspberry Pi torrents, or feel free to use it to host your own raspi images!
udp://twig.gs:6969
It's an open tracker running on the Raspberry Pi, Twig.gs branch out from a single point of failure!

ripping
Posts: 32
Joined: Wed Mar 14, 2012 10:55 am
Location: New Zealand

Re: Post your Raspberry Pi server setup!

Sun Aug 19, 2012 8:55 am

Raspi #1.
headless. pibow case. Apache, php5, mySQL, ssh, ftp, tightvncserver.
personal webserver, phpBB, phpchat, raspcontrol. Serves webpages from Davis weatherstation that feeds weatherdisplay software (software still runs on a win PC).
Raspi #2
Hooked up to big plasma in lounge. mod my pi case (finally arrived yesterday). Apache, php5, ssh, tight vncserver, raspcontrol.
Overclocked a tad to 800mHz. Not spent much time spent on this, but got a coupla rugrats playing in scratch over the weekend - I was learning along with them. Left them on their own as they followed the video tutes on scratch homepage - was good to see them working together, lotsa laughing. Still no sound from Pi tho.... further digging required.
Image
Raspi #3
Obligatory raspian install again, Apache, php, ssh, vnc, raspcontrol. built-to-spec case.
I'll probably do learning on this one, expand my limited knowledge of linux, try and make headway in python ...
Another two Raspi's ordered and it seems aforementioned rugrats will commandeer those. They also loved the pibow case - good choice I said. So they are on shopping list too.

rickyleeb
Posts: 4
Joined: Sun Aug 19, 2012 8:42 am

Re: Post your Raspberry Pi server setup!

Sun Aug 19, 2012 10:32 am

Pi 1:
Setup running xbmc, connected to the living room TV

Pi 2:
Currently running deb unstable,

nginx + php, ruby, python, nmap

However Pi to is subject to changes all the time, its the one I test things on.

permaband
Posts: 62
Joined: Wed Aug 01, 2012 2:14 pm
Location: uk
Contact: Website

Re: Post your Raspberry Pi server setup!

Sun Aug 19, 2012 1:05 pm

How many Raspberry Pis does your setup consist of?

1

What other equipment and components do you use?

SanDisk 4GB SDHC card (£3.44 delviered, I ordered 5 and cron dd the entire card every day to a network machine. Painless. Cheap.)

A USB keyboard (not plugged in)

An old tft (not hooked up)

What do you use your server setup for?

Basic http serving (lightttpd), irc bot (eggdrop),shell services to mates (bitchx, http etc), mumble server, routing (VPN) and mail (exim). I used the hf Raspbian image initially, but I am unhappy with the lack of a Server Edition so ended up using the installer and building my own base system that way. The whole headless setup weighs in at about 100mb fully optimized for sdcard use, which makes imaging and backups a lot easier. I'll release the image if anyone's interested.

Tweaks:

root mounted ordered date mode with ext4 defaults,noatime,commit=3600
Ramlog
Removed ipv6
Dropbear instead of SSHD
3.1.9-cutdown+ kernel
Pruned tty's to 1
240/16 split
etc.

The whole thing boots to 33mb of ram and takes it real easy on the SDCARD.

Runs headless 99% of the time.

Problems?

I wanted to run a true LAMP box and did for a few weeks until it crashed and I had to hard reboot the pi. This usually corrupts the boot vfat or root FS most of the time. The PI's sdcard controller just doesn't seem to be able to handle unscheduled reboots at all. You can mitigate this obviously, but ultimately its just a fact of life that sdcards are not the best option for data integrity.

Conclusions?

Fine for routing, vending static content, mail etc. Not so cool for actual long term server use where data integrity is important unless you get a powered hub and hook up a cheap SSD. I haven't done this just yet as I am finding it pretty hard to find a powered hub that uses an efficient wall wart PSU but will eventually.

I will try running MYSQL on a ramfs (since its only vending 1 db for 1 smf install) using innodb. If that works out ok I'll be chuffed to bits. The 1 hr fs flush you can work around by just using a mysql backup script to dump your db every 20 mins to gmail mailbox. Again painles, quick and safe.

Protip: Get a proper 1000ma switching PSU like this one: http://www.amazon.co.uk/Universal-Switc ... B007JIPREK. Don't use a phone charger!

damocov
Posts: 9
Joined: Tue May 29, 2012 10:38 pm

Re: Post your Raspberry Pi server setup!

Sun Aug 19, 2012 9:50 pm

How many Raspberry Pis does your setup consist of?
2 Identically (almost) configured.

What other equipment and components do you use?
Powered USB hub, to provide power to Pi, and access/power to 1TB usb drive.

What do you use your server setup for?
One Pi is at my house, one is at my sister's house.
Each Pi has a 500GB partition mounted and exposed to local network addresses as SAMBA and NFS.
Each Pi also has 500GB partition held as a remote backup of it's counterpart.
Each device rsync's it's "local" partition to the other device's "remote" partition overnight.

Thus each household now has 500GB of usable network storage, with a fully synced offsite backup, for substantially less than 12 months usage of a cloud backup service would cost us.

Additionally unlike signing up to a remote backup service in the cloud, the initial sync of the devices didn't require a vast quantity of bandwidth, just a walk down the road and round the corner.

User avatar
Keschy
Posts: 21
Joined: Sat Aug 18, 2012 9:30 pm
Location: Mainz / Germany
Contact: Website

Re: Post your Raspberry Pi server setup!

Mon Aug 20, 2012 7:54 am

How many Raspberry Pis does your setup consist of?
.... A single RPI
.... 4GB SDHC Memory Card.
.... OS: Raspbian “wheezy”
.... Charged by my Buffalo Nfiniti Router.

What other equipment and components do you use?
.... 32inch Samsung TV via HDMI
.... Wired Ethernet / Twisted Pair-cable 100Mbit/s

What do you use your server setup for?
.... LAMP-Server
.......... CMS: GetSimple (easy lightweight CMS based on XML files)
.... Play videos from my NAS with omxplayer

ServerConfiguration:
.... Apache
.... PHP5 with phpmyadmin
.... FTP
.... MySQL5
.... SSH

Problems:
.... Internet Speed
.......... Uplink: 14 kb/s
.......... Downlink: 180 kb/s
My Webpage: http://derkev.in

User avatar
LetHopeItsSnowing
Posts: 350
Joined: Sat May 26, 2012 6:40 am
Location: UK
Contact: Website

Re: Post your Raspberry Pi server setup!

Mon Aug 20, 2012 11:03 am

I use mine as a podcast host, it automatically downloads new radio and tv episodes that I want to see from BBC's iPlayer when they appear online and creates an RSS feed.

I use get_iplayer, lighttpd, no-ip, cron and a custom python program to make it all work.

See how it works here http://stuffaboutcode.blogspot.co.uk/20 ... sonal.html
"am I getting slower, or is stuff more complicated; either way I now have to write it down - stuffaboutcode.com"

User avatar
exartemarte
Posts: 360
Joined: Sat Mar 03, 2012 3:51 pm
Location: Middle England
Contact: Website

Re: Post your Raspberry Pi server setup!

Mon Aug 20, 2012 11:28 am

LetHopeItsSnowing wrote:I use get_iplayer [..] See how it works here http://stuffaboutcode.blogspot.co.uk/20 ... sonal.html
Brilliant - one of the most interesting Pi-related blogs I've seen. Running iPlayer on the Pi is definitely on my to-do list.

davep
Posts: 27
Joined: Mon Aug 20, 2012 11:27 am

Re: Post your Raspberry Pi server setup!

Mon Aug 20, 2012 11:32 am

I currently have one that I received on Friday. I set it up with wheezy and the Citadel email server on Saturday and it works fine!

It's sitting in a cupboard in the living room along with a UPS, my ADSL router and the power supply for my home surveillance system.

I've just ordered a second one that I may use as a media cenre or as a control centre for solar tracking for photovoltaic panels.

brainsys
Posts: 68
Joined: Fri Jun 29, 2012 7:16 pm

Re: Post your Raspberry Pi server setup!

Mon Aug 20, 2012 3:55 pm

I have 3xRPi:

RPi 1 running the original Wheezy image headless 24/7
Samba server on home Windows Workgroup with 500Gb USB portable disk drive on powered hub.
An old HP4L printer with a USB to centronics cable under CUPS
A python program that monitors my remote servers.
A basic intranet under Apache
Webmin administration
To be added: Torrent client/server?

RPi 2 running RaspBMC on demand
Hidden behind the TV. Brilliant!

RPi 3 running Raspbian
Experimental/development stuff

All in ModMyPi black boxes.

User avatar
LetHopeItsSnowing
Posts: 350
Joined: Sat May 26, 2012 6:40 am
Location: UK
Contact: Website

Re: Post your Raspberry Pi server setup!

Tue Aug 21, 2012 12:53 pm

exartemarte wrote:
LetHopeItsSnowing wrote:I use get_iplayer [..] See how it works here http://stuffaboutcode.blogspot.co.uk/20 ... sonal.html
Brilliant - one of the most interesting Pi-related blogs I've seen. Running iPlayer on the Pi is definitely on my to-do list.
Im happy to share if you want more info.

Ive been thinking about writing up the complete "If you want to use your Pi as a podcast host do this", its a bit of an undertaking but if people would find it useful I could put aside a couple of hours.
"am I getting slower, or is stuff more complicated; either way I now have to write it down - stuffaboutcode.com"

trouch
Posts: 310
Joined: Fri Aug 03, 2012 7:24 pm
Location: France
Contact: Website

Re: Post your Raspberry Pi server setup!

Tue Aug 21, 2012 7:45 pm

For now, I only have one Pi, which I used to first experiment shairport : http://www.raspberrypi.org/phpBB3/viewt ... 35&t=13507
Then I started using GPIO but I needed a simple debug way, so I developed WebIOPi : http://www.raspberrypi.org/phpBB3/viewt ... 44&t=15257
Image

WebIOPi - Raspberry Pi REST Framework to control your Pi from the web
http://store.raspberrypi.com/projects/webiopi
http://code.google.com/p/webiopi/
http://trouch.com

Return to “Networking and servers”

Who is online

Users browsing this forum: No registered users and 20 guests