Durazell
Posts: 31
Joined: Sun Aug 12, 2012 3:50 pm
Location: Finland

Re: Post your Raspberry Pi server setup!

Mon Jan 14, 2013 9:02 pm

Steven715 wrote: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.
Apache is resource hog, use nginx instead.

Steven715
Posts: 27
Joined: Mon Dec 24, 2012 9:01 pm
Location: Bedfordshire

Re: Post your Raspberry Pi server setup!

Mon Jan 14, 2013 9:10 pm

Durazell wrote:
Steven715 wrote: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.
Apache is resource hog, use nginx instead.
Thank you for the tip I will give nginx a try and see how I get on with it.

Everything that I am doing is experimental ;)

randrade
Posts: 79
Joined: Thu Dec 27, 2012 8:42 pm
Contact: Website

Re: Post your Raspberry Pi server setup!

Tue Jan 15, 2013 2:54 pm

I have a Model B rev 2 Raspberry Pi.

Currently using it as a Minecraft server (randrade18.no-ip.org if anyone's interested) and as a lighttpd server, where I run some PHP scripts (mostly experimenting with things though). And I'm using a 2GB SD Card (the MC server files are on a 4GB flash drive).

I sometimes put an SD card with Darkelec on the Pi and use it as a media center.

dwasifar
Posts: 10
Joined: Sun Jan 27, 2013 1:49 am

Re: Post your Raspberry Pi server setup!

Sun Jan 27, 2013 2:27 am

I got my Pi yesterday and it is already in service as a headless DHCP server and caching DNS server for my network.

I have a Pi B running Raspbian, with clear Adafruit case, 8GB Kingston 4C SD, using an old Motorola phone charger for power. Raspbian is almost stock; all I did was set it to boot to commandline in the initial config, do a dist-upgrade, and install and configure dnsmasq. I configured a static IP on the SD right after I imaged it. Fortunately for me, I've spent a lot of time with Debian, so Raspbian was very familiar. I administer it through SSH.

Incidentally, I enthusiastically recommend using a caching DNS server on a home network. Not only does it speed up your internet connections, but you can resolve local machines by their hostnames instead of by IP, just by adding them to /etc/hosts on the DNS server. And since dnsmasq acts as a DCHP server too, I can set up permanent IP assignments by MAC address for any machine on the network and manage them all in one place. The Pi is ideal for this task. (I was using a Mac Mini with Debian before.)

User avatar
kirbyman62-2
Posts: 35
Joined: Sun May 13, 2012 11:03 am
Location: Northampton, England

Re: Post your Raspberry Pi server setup!

Sun Jan 27, 2013 3:28 pm

Mine runs an OpenTTD server pretty much 24/7. I have an LCD screen attached by the GPIO which tells me the currently connected clients and companies. It was a very fun little project to put together. The Pi itself runs Arch Linux because Debian is too slow on updating it's packages, and with Wheezy frozen OpenTTD is stuck at 2 versions behind.

Here's some pics:
Image

Image

Image

65coupei6
Posts: 27
Joined: Wed Jul 18, 2012 1:29 am

Re: Post your Raspberry Pi server setup!

Mon Jan 28, 2013 3:13 am

dwasifar wrote:I got my Pi yesterday and it is already in service as a headless DHCP server and caching DNS server for my network.

I have a Pi B running Raspbian, with clear Adafruit case, 8GB Kingston 4C SD, using an old Motorola phone charger for power. Raspbian is almost stock; all I did was set it to boot to commandline in the initial config, do a dist-upgrade, and install and configure dnsmasq. I configured a static IP on the SD right after I imaged it. Fortunately for me, I've spent a lot of time with Debian, so Raspbian was very familiar. I administer it through SSH.

Incidentally, I enthusiastically recommend using a caching DNS server on a home network. Not only does it speed up your internet connections, but you can resolve local machines by their hostnames instead of by IP, just by adding them to /etc/hosts on the DNS server. And since dnsmasq acts as a DCHP server too, I can set up permanent IP assignments by MAC address for any machine on the network and manage them all in one place. The Pi is ideal for this task. (I was using a Mac Mini with Debian before.)
What are you using for the caching DNS server? dnsmasq?

mrb
Posts: 1
Joined: Mon Jan 28, 2013 5:16 am

Re: Post your Raspberry Pi server setup!

Mon Jan 28, 2013 5:28 am

Headless smba and NFS file server running raspbian. I'm using an external solid state HDD (a Samsung 120GB), which draws so little juice that it doesn't need an external power supply. It's all in an off-the-shelf BUD plastic case. Actually the HDD is rubber-banded to the top, but I can probably get it to fit inside. The power supply is a spare apple 12watt unit.

Arbelzapf
Posts: 9
Joined: Tue Sep 06, 2011 9:31 pm

Re: Post your Raspberry Pi server setup!

Mon Jan 28, 2013 11:26 am

I screwed up my first install of Raspbmc with Apache and wordpress, so I started over with lighttpd and SQLite. APC and memcache are running as well. It's a LOT faster now, but there's no denying that wordpress isn't very fast. I still hope to find more ways to increase performance in the future. If nothing else, this is a good opportunity to learn about the inner workings of wordpress and how to write more efficient theme code. There is so much to learn for a newbie to web developing

I must say I love the experience I gain from all this. I have never ever set up a web server before and now after just a couple of days, I'm already sidetracking for potential performance gains.



Why raspbmc? Well, we have a big old CRT in the bedroom and we need a way to connect it to the network/internet. Server performance is piss poor with xbmc running, but if you kill it, the system runs very efficiently. My only gripe is that I can't seem to get CMA working to free up ram from the Gpu when xbmc isn't running.

Edit: I forgot to add, I use a cronjob that updates my IP on freeDNS

dwasifar
Posts: 10
Joined: Sun Jan 27, 2013 1:49 am

Re: Post your Raspberry Pi server setup!

Mon Jan 28, 2013 3:26 pm

65coupei6 wrote:What are you using for the caching DNS server? dnsmasq?
Yes. I had the same setup using a Mac Mini G4 running Debian (with a CF card for a hard drive). But the Pi is really a better fit for the job, and is much more power-efficient.

The other purpose the Mac Mini served was to be a back-door SSH gateway into my network from outside should my main web/mail server fail while I'm not there. I have one domain pointed at it, and the rest go to the main server. Part of the reason for putting the DNS/DHCP functions on the Pi was to separate those functions from this internet-facing box. So the Mac is still operating in that job right now, but I think I'll get another Pi for that (when they become available again!) and put the Mac on Craigslist.

ntPI
Posts: 17
Joined: Tue Jan 29, 2013 2:39 pm

Re: Post your Raspberry Pi server setup!

Tue Jan 29, 2013 3:52 pm

Hopefully 5 months isn't considered resurrecting a dead thread around here.
I just picked up a couple RPI rev. Bs.

How many Raspberry Pis does your setup consist of?
- 2 RPI Model 8 Rev.2
- 8GB SanDisk
- OS: Raspbian “wheezy” custom "Server Image" (990M uncompressed, fits on 1G SD)
- Motorola phone chargers

What other equipment and components do you use?
- Both Headless/No Keyboard/No Mouse

What do you use your server setup for?
- SSH and IRSSI on one
- Idling awaiting future NTP project
- All "mass" storage comes from 2x 8TB NASes


FUTURE CHANGES:
- Replacing my current GPS 18 LVC + FreeBSD S1 Clock with a Pi and Adafruit GPS
http://www.pool.ntp.org/scores/65.103.176.122
- Replace current HTTP/HTTPS (nginx+php-fpm) KVM with a Pi
- Possibly replace low traffic email server with a Pi

dwasifar
Posts: 10
Joined: Sun Jan 27, 2013 1:49 am

Re: Post your Raspberry Pi server setup!

Tue Jan 29, 2013 4:43 pm

ntPI wrote:Hopefully 5 months isn't considered resurrecting a dead thread around here.
Actually only one day :)

ntPI
Posts: 17
Joined: Tue Jan 29, 2013 2:39 pm

Re: Post your Raspberry Pi server setup!

Tue Jan 29, 2013 7:33 pm

dwasifar wrote:
ntPI wrote:Hopefully 5 months isn't considered resurrecting a dead thread around here.
Actually only one day :)
LOL, think I was looking at page 2 and not page 3.

Shniderio
Posts: 1
Joined: Wed Aug 08, 2012 3:51 pm

Re: Post your Raspberry Pi server setup!

Wed Jan 30, 2013 2:49 pm

So ive been trying to set up a FTP server for a small group of people (around 10) so we can transfer movies with ease without having to got to someones room (I live on a campus) and transfer them. Could the RPi handle the load? and how would I set it up because for some reason I can't get vsftpd to work. Ive installed it but I don't know my default hostname (even though guides say I set it earlier in the guide, but I don't or I'm missing something.) Can someone help?

JungleBoogie
Posts: 35
Joined: Thu Sep 06, 2012 12:06 am
Location: Simi Valley, California
Contact: Website Yahoo Messenger AOL

Re: Post your Raspberry Pi server setup!

Wed Jan 30, 2013 6:42 pm

ntPI wrote:Hopefully 5 months isn't considered resurrecting a dead thread around here.
What do you use your server setup for?
- Idling awaiting future NTP project

You're going to use the pi as a NTP server? Nice! post the hostname and I'll setup my pi to contact it.
Happy Hacking!

JungleBoogie
Posts: 35
Joined: Thu Sep 06, 2012 12:06 am
Location: Simi Valley, California
Contact: Website Yahoo Messenger AOL

Re: Post your Raspberry Pi server setup!

Wed Jan 30, 2013 7:41 pm

Shniderio wrote:So ive been trying to set up a FTP server for a small group of people (around 10) so we can transfer movies with ease without having to got to someones room (I live on a campus) and transfer them. Could the RPi handle the load? and how would I set it up because for some reason I can't get vsftpd to work. Ive installed it but I don't know my default hostname (even though guides say I set it earlier in the guide, but I don't or I'm missing something.) Can someone help?
That probably depends on how many clients you will have connecting at once.

you may want to check out http://www.proftpd.org
Happy Hacking!

User avatar
Tickle
Posts: 23
Joined: Thu Jan 17, 2013 2:28 pm
Location: Indianapolis, Indiana
Contact: Website

Re: Post your Raspberry Pi server setup!

Thu Jan 31, 2013 6:50 pm

One Pi with a standard setup (USB mouse+keyboard, HDMI Monitor).
I use it as an IRC server (to chat with friends at Uni)

Future Plans: Emulator, Webcam Streamer, web server.
Hunter's Pi Projects: http://www.hunterthornsberry.com/raspberrypi.html

MotoTom
Posts: 8
Joined: Thu Jul 26, 2012 2:41 am

Re: Post your Raspberry Pi server setup!

Thu Jan 31, 2013 9:11 pm

I have a single Model B running Wheezy 2012-12-16 with a Kingston Class 10 16mb card and a SAMSUNG 1.5TB Story Book USB powered hard drive. Power source is an OOD (Out Of Drawer) 1amp USB unit.

It's running:
  • No-Ip Update Service
    SSH
    Samba
    ProFTP
    miniDLNA
It has replaced an old Shuttle, a PogoPlug and a Samsung netbook that were supplying these services for years. Energy saving should cover my costs this year.

I have another on order that will run XBMC directly to the HDTV and replace the minDLNA server running on Pi1

FWIW, I am really impressed with the quality of the miniDLNA service. It feeds my HDTV via my Linksys WRT54G quite well at all but the highest bit rates. I think upgrading to a N router would cure those few instances when streaming stalls.

kevintmckay
Posts: 8
Joined: Tue Jan 08, 2013 1:52 am
Location: berkeley california

Re: Post your Raspberry Pi server setup!

Thu Jan 31, 2013 9:48 pm

Ok so I just moved 2 of my "commercial sites" over to my pie

http://www.index-investing.org/
http://www.simplefit.org/

They get about 50k unique hits a month I host my own
DNS: bind9
mail: postfix
Httpd: apache
DB: mysql
forum: PHPBB

All on one tiny little PI!

I do a dd weekly of mmcblk0 to a USB stick
I do a daily backup of critical files and email it to google for "offsite storage"

Primary motivation:
Love of PI
Save energy

girolamo
Posts: 2
Joined: Thu Jan 31, 2013 6:28 pm

Re: Post your Raspberry Pi server setup!

Fri Feb 01, 2013 7:25 am

    • One Pi card with ethernet connection to my router and USB stick to add 8 GB space.
      It provides three live services (24x7)
      • postfix + clamav for my family email server (I have a static ip)
      • POP3s server (stunnel + xinet) to retrieve my email remotely (phone)
      • tomcat6 + pebble for JSP web server (check my blog at http://www.prismaqf.com/pebble/geek)
      Bye

User avatar
Tickle
Posts: 23
Joined: Thu Jan 17, 2013 2:28 pm
Location: Indianapolis, Indiana
Contact: Website

Re: Post your Raspberry Pi server setup!

Fri Feb 01, 2013 7:02 pm

kevintmckay wrote:Ok so I just moved 2 of my "commercial sites" over to my pie

http://www.index-investing.org/
http://www.simplefit.org/

They get about 50k unique hits a month I host my own
DNS: bind9
mail: postfix
Httpd: apache
DB: mysql
forum: PHPBB

All on one tiny little PI!

I do a dd weekly of mmcblk0 to a USB stick
I do a daily backup of critical files and email it to google for "offsite storage"

Primary motivation:
Love of PI
Save energy
What time of files are you hosting? Anything with high complexity?
Hunter's Pi Projects: http://www.hunterthornsberry.com/raspberrypi.html

technion
Posts: 238
Joined: Sun Dec 02, 2012 9:49 am

Re: Post your Raspberry Pi server setup!

Fri Feb 01, 2013 10:49 pm

kevintmckay wrote:Ok so I just moved 2 of my "commercial sites" over to my pie
forum: PHPBB
Running that on a Pi (with any sort of load) is definitely impressive!

Several forums running that on large commercial hardware have run into performance issues.

kevintmckay
Posts: 8
Joined: Tue Jan 08, 2013 1:52 am
Location: berkeley california

Re: Post your Raspberry Pi server setup!

Sat Feb 02, 2013 6:04 am

One is a fitness site the other is an investing site they are tiny only about 50k unique visitors a month but perfect load for the pi with enough capacity even with the phpbb forum left over for my 9yo son to use it to learn python.
The sites earn about 5 pi's a month :)

http://Www.simplefit.org
http://Www.Index-investing.org

metaxy
Posts: 4
Joined: Wed Jan 30, 2013 4:40 pm

Re: Post your Raspberry Pi server setup!

Sun Feb 03, 2013 2:41 am

http://imgur.com/a/HUcsT

RPi running Debian, Stripped of all X. Connected to router.

User avatar
diereinegier
Posts: 166
Joined: Sun Dec 30, 2012 5:45 pm
Location: Bonn, Germany
Contact: Website

Re: Post your Raspberry Pi server setup!

Mon Feb 04, 2013 1:13 pm

A little cluster running OpenMPI on Debian Wheezy:

http://www.raspberrypi.org/phpBB3/viewt ... 34#p257934
Download my repositories at https://github.com/GeorgBisseling

User avatar
aka399
Posts: 59
Joined: Tue Aug 07, 2012 3:15 pm

Re: Post your Raspberry Pi server setup!

Tue Feb 05, 2013 8:57 pm

just 1, just arrived.
DLNA server for my tv via wifi and torrentbox open 24/7.

Return to “Networking and servers”