Post your Raspberry Pi server setup!


115 posts   Page 2 of 5   1, 2, 3, 4, 5
by mrlinux2u » Thu Aug 23, 2012 6:13 pm
Got 4 Pi's at the moment

The 1st one runs samba server, transmission,no-ip update client and has a 1TB external hard drive sharing movies too two Raspbmc based pi's

The 2nd runs my website (http://myskypi.no-ip.org) running lighttpd,CMS, webcam snapshots and records any activity outside my house using motion.

Got plans to get more pi's to run email servers and try out a PBX (incredible PBX).

cheers
mrlinux2u
Posts: 168
Joined: Sat Sep 24, 2011 8:38 pm
by n00badmin » Sat Aug 25, 2012 6:17 pm
My Raspberry Pi setup (so far)
Pics HERE -> http://n00blab.com/raspberry-pi-setup/

2 Raspberry Pi set up as headless servers in beautiful Built-To-Spec cases.

RPi 1
16GB Sandisk SD
Raspbian Wheezy 2012-07-15
LAMP
Serving Cacti which is monitoring performance of both Pi

Rpi 2
16GB Kingston SD
Raspbian Wheezy 2012-08-16
Freshly installed and awaiting lighttpd install to compare against apache2

Future Projects:
ddclient (ddns updater)
Syslog server
Tftp server
Wordpress site host

Many others…
n00badmin
CCNA JNCIA
www.n00blab.com
Posts: 46
Joined: Tue Aug 14, 2012 2:09 pm
by nicknml » Mon Aug 27, 2012 2:09 am
Right now have mine setup as a mail sever (postfix/dovecot). I tried using squirrelmail but the UI was a bit sluggish (perhaps I should have tried lighthttpd as opposed to apache?)
User avatar
Posts: 192
Joined: Thu Mar 15, 2012 8:44 pm
by freemanbubu » Mon Aug 27, 2012 9:28 am
1 Pi for me

- Home made Lego case
- Add cooling system (rad & USB fan)

Image

- SSH control & admin

- Apache web server hosting a Joomla website
- PHP 5
- MySQL Databases
- Mumble server (voice chat)

Projects:
- raspcontrol
- cacti
- FTP server
- another PI for XBMC
Posts: 109
Joined: Sun Jun 17, 2012 11:12 am
by rkr » Tue Aug 28, 2012 4:35 pm
permaband wrote: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.

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.


^THIS is what I had in mind for doing with my Pi, although in a very abstract sense mainly because of my n00b level know-how about all this.
Please do release an image.

Thanks!
Posts: 36
Joined: Wed Mar 14, 2012 6:07 am
by Oliv' » Wed Aug 29, 2012 10:02 pm
A Raspberry pi running headless with USB sound card&wifi dongle which is an audio streaming box and a home automation controller

Softwares : lighttpd, sqlite, shairplay (Airplay), vlc as internet radio client, TTS with espeak&mbrola, some home made C&web programs.
Posts: 35
Joined: Sun Aug 05, 2012 7:57 pm
by Jungle-Boogie » Sun Sep 02, 2012 7:33 am
Three pi's and two are in service.

1.
Code: Select all
Linux raspberrypi 3.2.27+ #24 PREEMPT Sun Aug 19 21:28:36 BST 2012 armv6l GNU/Linux

Code: Select all
df -h
Filesystem            Size  Used Avail Use% Mounted on
tmpfs                 108M     0  108M   0% /lib/init/rw
udev                   10M  136K  9.9M   2% /dev
tmpfs                 108M     0  108M   0% /dev/shm
rootfs                 15G  1.9G   12G  14% /
/dev/mmcblk0p1         75M   37M   39M  49% /boot


running incredible pbx with two extensions and right now one trunk. Prior to the pi, i was using a dell power edge server with freepbx (no derivative from pbx in a flash), which was overkill. Due to relocation, the server stayed behind and now the pi provides VOIP and its worked really well. I will be adding two more trunks but I know it can handle that without any issue. The power edge server had call recording enabled but I don't think I will be doing that on the pi as it may not be able to write wav files without maxing the CPU out.

Second pi has 8gig untra sandisk class 6 and its using xbian on a 60" plasma TV. I am fortunate enough to have a TV to try this out at where I relocated otherwise it would have been on a very pathetic 25" fading old style TV. The pi using xbian is connected to the network wireless using the ever popular edimax ew-7811Un. I've streamed over a gig of flac recordings and its done really great. I will probably buy the mpeg codec and enable it on this pi to try it out. I don't watch a lot of TV so there's not a ton of content I have.

Third pi is in development as I'm not certain what its objective will be. I originally tried to install mumble but that's not working so well right now. Anyone else have mumble installed? Just today I received a couple bluetooth dongles I will try running on the pi and use bluelog <--link with as well as nmap.

None of the pis are in cases and I'm thinking of getting:
http://www.etsy.com/listing/106519439/r ... ref=&sref=

Anyone have that case?
Posts: 3
Joined: Sun Sep 02, 2012 7:14 am
Location: Simi Valley, California
by Jungle-Boogie » Sun Sep 02, 2012 7:37 am
freemanbubu wrote:1 Pi for me


- Mumble server (voice chat)


I'm interested in doing this on my pi but I'm kind of clueless with mumble. I have a pretty good grasp of linux and configuring/editing stuff but I guess I'm not good enough for mumble. Could you possibly explain how you've got mumble working? I hate to feel like I will be the only one that would benefit from this so once you're able to explain the steps, I can help write an article on it for others to have the same good luck as you.
Posts: 3
Joined: Sun Sep 02, 2012 7:14 am
Location: Simi Valley, California
by rnquinn314 » Sun Sep 02, 2012 5:49 pm
Jungle-Boogie wrote:Three pi's and two are in service.

Anyone have that case?


I do have that case and it works well. It's nothing special, but makes working with the RPi easier than having your board exposed.
Posts: 1
Joined: Mon Aug 27, 2012 8:33 pm
by brs » Sun Sep 09, 2012 9:45 pm
leech.jpg
leech.jpg (43.91 KiB) Viewed 11093 times

My 2nd pi is used as an application server for development & experiments, "leeching" power and network connectivity from the Apple Powerbook host to which it is directly attached, for a very simple and portable setup.

  • all access via ssh
  • avahi-demon for service discovery
  • IPv6 (optionally IPv4LL) for zero-conf link-local address assignment
  • X11 server on mac for GUI applications
See http://blog.kugelfish.com/2012/09/raspberry-pi-tethering.html for more details on the setup.
Posts: 64
Joined: Fri Aug 17, 2012 9:27 pm
Location: Zurich
by ajlyon » Mon Sep 10, 2012 6:25 am
Using one Pi to run a timeclock web app; app is in PHP and had been running on an resurrected Pentium II with Fedora Core since 2004, until that machine died and the kit had be reconstituted around the new Pi.

Pi has 8GB SD card, running Rasbian. App running in Apache with mod_php and a MySQL backend. The timeclock / hr management server is visible to other computers on the local network thanks to mDNS.

Most employees clock-in/out through Midori running the locally served webpage as a web application, in a locked-down instance of the ratpoison DM; this is a variant on the setup described here: https://github.com/korylprince/WebKiosk

Hourly backups of the database to Amazon S3 using s3cmd and cron-- data is small enough to keep monthly costs negligible (< 0.10 USD).
Posts: 1
Joined: Mon Sep 10, 2012 6:17 am
by Benja » Mon Sep 10, 2012 12:06 pm
Using my (for now) lonely Pi as a Usenet client / VPN server, running Sabnzbd and Sickbeard on top of a stripped down Raspbian.
This is a massive improvement over my previous setup where my NAS (Readynas Duo) was hosting all of these things.
- Increased download speed
- Saves electricity and hard drive wear by not waking up the NAS every 30 minutes to check feeds
- NAS more responsive
Everybody wins! :)
Posts: 20
Joined: Wed Sep 21, 2011 1:28 pm
Location: Denmark
by thegr8brian » Mon Sep 10, 2012 8:31 pm
Jungle-Boogie wrote:
freemanbubu wrote:1 Pi for me


- Mumble server (voice chat)


I'm interested in doing this on my pi but I'm kind of clueless with mumble. I have a pretty good grasp of linux and configuring/editing stuff but I guess I'm not good enough for mumble. Could you possibly explain how you've got mumble working? I hate to feel like I will be the only one that would benefit from this so once you're able to explain the steps, I can help write an article on it for others to have the same good luck as you.


Getting mumble server to work was fairly straightforward on the pi for me using darkbasic. Basically just:
Code: Select all
apt-get install murmurd
Posts: 11
Joined: Mon Sep 10, 2012 5:42 pm
by relnext » Wed Sep 26, 2012 6:47 pm
User avatar
Posts: 27
Joined: Wed Sep 26, 2012 5:23 pm
Location: Florida, USA
by rtalcott » Thu Sep 27, 2012 12:47 am
Simple web server (apache2) so far ( http://certel.dyndns.org ) but I hope to be using the breadboard soon and playing with some data taking and control. Headless with an 80 WD drive attached by usb.
rt
Attachments
IMG_3348a1.JPG
IMG_3348a1.JPG (58.45 KiB) Viewed 10567 times
Posts: 4
Joined: Tue Sep 18, 2012 6:02 pm
Location: albuquerque nm us
by saif » Fri Sep 28, 2012 1:50 pm
I have two Pis, only one being used at the moment, the other Pi will have identical set-up for robotic applications

Server: - My Pi has lightppd
CGI: - Only PERL used...php and MYSQL are not installed, instead I use my own custom lightweight database
Content management: - Custom lightweight content management system
Power: - home made, rechargeable battery back pack with integrated charger
Additional hardware: - IO breakout cable and bread board for prototyping; Edimax wifi dongle
Use: - Currently developing software that allows web browser based IO Control. Autonomous operation with browser based supervision is the final goal

You can control my Pi at http://goo.gl/rlAf9 using piStatus. Apologies to IE users, may not look so good
You can see the Pi's content management system at http://goo.gl/bOs9e
You can see my custom piStatus software, and 1 or 2 of my various Pi projects at projects at http://goo.gl/uHRZq
Posts: 74
Joined: Sun Apr 15, 2012 8:15 pm
by pigeorgetaylor » Sun Oct 21, 2012 8:47 am
I'm currently with 1 pi...
Samba
Apache, PHP, MySQL (LAMP)

Overclocked to 950Mhz
240mb CPU and 16 GPU

Can't wait for my 512mb Pi!!! Even more Server Power!

256mb one will probs become a media centre :)
Posts: 21
Joined: Sun Oct 07, 2012 5:59 pm
by Durazell » Tue Nov 06, 2012 7:06 pm
I have one Raspberry Pi model B, with 512mb RAM.

It runs the following on server optimized Raspbian "Wheezy":
  • SSH
  • No-ip daemon, which updates the address on boot
  • Bittorrent client with webinterface (transmission-daemon)
  • NFS version 4 for certain folders
I'm planning to add external hard drive and 3G dongle to this setup, but my experiments show that powered usb hub is more than needed. I'd like to add some sort of web control panel too, but i dont want to install php.
Posts: 31
Joined: Sun Aug 12, 2012 3:50 pm
Location: Finland
by DF4ze » Mon Dec 24, 2012 7:32 am
Hi all,

On my PI,
i made :
- SSL tunnel for full access internet when i'm at job
- mount internet box hard drive : so my PI have 250Go HD now
- Install OwnCloud on LAMP : (http and https)
* acces everywhere to my data with webpage
* acces ...................................... with webdav
* sound treaming

Project :
- have a dashboard where i can find temperature, %UC, Lan, etc... of my PI.
at the begining i thought i'll do that scripting some python or php and sh ... but i saw here that some people installed 'CACTI' ... and it's may be a good idea!
- capture my webcam
- ... basic domotic playing with GPIO

Quit interesting to see what other do ;)

Merry Xmas PI ;)
Posts: 1
Joined: Mon Dec 24, 2012 7:02 am
by themillak » Wed Dec 26, 2012 8:56 pm
1 Pi running headless with 240/16 memory split. I'm running deluge and samba full time and after the big mess and my extreme disapointment with freepbx I've spent the time to read the asterisk documentation and I'm running that without any front-end for the free data-only calls. deluge downloads to a usb stick, samba serves from the usb stick and an external 2TB ntfs formatted.

still have a little bit of work to do with the asterisk server to cut our service with skype.
Posts: 5
Joined: Mon Nov 12, 2012 8:20 pm
Location: Israel
by nginx » Mon Dec 31, 2012 6:18 am
Only have a single Pi but that's all I need. Running transmission for bittorrent, Jdownloader for filehost and http downloads. 3 x1TB hard drives connected, serving movies & TV shows to all computers/HDTV/tablets in the house using Samba. It's housed in Adafruit's awesome looking transparent case.

I reckon the Pi is gonna slash my electricity bill by as much as 40% not having to keep my desktop or laptop running 24x7 for downloading and serving files.
Posts: 38
Joined: Sun Dec 09, 2012 2:35 pm
by Durazell » Mon Jan 14, 2013 4:15 pm
Durazell wrote:I have one Raspberry Pi model B, with 512mb RAM.

It runs the following on server optimized Raspbian "Wheezy":
  • Nginx + NodeJS
  • SSH
  • No-ip daemon, which updates the address on boot
  • Bittorrent client with webinterface (transmission-daemon)
  • NFS version 4 for certain folders
I'm planning to add external hard drive and 3G dongle to this setup, but my experiments show that powered usb hub is more than needed. I'd like to add some sort of web control panel too, but i dont want to install php.


UPDATE: After getting usb hub I added external hdd and Huawei 3g dongle which worked for few weeks 24/7.
Posts: 31
Joined: Sun Aug 12, 2012 3:50 pm
Location: Finland
by capslock118 » Mon Jan 14, 2013 5:14 pm
Pi 1: XBMC and tvheadend; media is streamed using ethernet from Pi 2.
Pi 2: NFS, Rsync, Subversion, couch potato, sabnzb, sick beard
Posts: 39
Joined: Wed Mar 21, 2012 6:25 pm
Location: New Haven, CT
by cyrano » Mon Jan 14, 2013 5:31 pm
lightnin wrote: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!


Thanks for the tip! This seems a very good tip for home users wanting to set up a safe and simple webserver. I'll be testing it!
User avatar
Posts: 372
Joined: Wed Dec 05, 2012 11:48 pm
Location: Belgium
by Steven715 » Mon Jan 14, 2013 8:50 pm
Currentley I have a Rpi 512mb I am currently using it as a Experimental Webserver using apache 2, My SQL and php. I am also running a TFTP server at the same time still in the macking.

I plan on getting another one to play around with the GPIO and python.

I am very impressed with my little pice pi.
Posts: 27
Joined: Mon Dec 24, 2012 9:01 pm
Location: Bedfordshire