If I understand this and that right, the lite distribution is just a Minimal image based on Debian Jessie without the X-server and its components installed. Meaning it uses less space on the SD-card and can run from a smaller SD card. Installing the minimal image will also reduce traffic during updates (as pointed out by Jacob). Any desired package can still ...
I have been running mine for about 3 months non-stop as a web server for www.sm0vpo.com where there are about 10,000 electronic PDF files and about 250 electronic projects that i have fully documented with PCB poil patters in ZIP and GIF form.
I have about 3,000,000 hits per year so my little RPi will have seen about 700,000 hits as well as experiencig both ...
I have set up my pi for use as a web and mail server and it works just fine. So far I have been running from a standard 4GB SD card (with a few modifications described below) and it has had an uptime so far a little over three months.
It is not hard and there are many tutorials out there for setting these things up. Incidently I used most of the Ubuntu ...
I was also eager to know more about the 24/7 capabilities of the Raspberry Pi. Therefore, I installed the app "stress" (sudo apt-get install stress), which is capable of loading the CPU for the full 100% all the time.
The best thing about "stress" is that it gives priority to other running processes, it only "fills" the gap till the CPU is loaded for the ...
Getting Node.js on a Raspberry Pi
You can either:
Compile Node.js yourself (as ppumkin already pointed out)—takes about 2 hours on a Raspberry Pi.
Or you can download the binary v0.8.17
I did a quick performance test (to give a rough first impression):
My Raspberry Pi is overclocked (Turbo) with default memory_split (64)
Tests were ...
This is a nice guide on exactly how to setup Ruby on Rails. Obviously using the RPI.
I think it would be pointless to copy and paste the whole article here, so here is a google cached version of the above page as well. Google Cache Ruby on Rails
Just to chime in with a datapoint:
I've used my raspberry as a datalogger for my solarpanels. It was writing to a logfile on the SDcard every minute. I've now had a hard failure of the SD card for the second time. Each time the card lasted about a month. The cards were both Kingston SDC4/4GB cards. So SDcard wear is real!
A few things to consider when designing your project:
Depending on your usage of the RaspberryPi spiking it's SoC to near 100% usage can make it quite hot, and I recommend adding a heatsink, as I have done, with perhaps a little 5volt fan to keep things a little cool (I've gotten my heatsink from a old Security DVR)
SD Card performance and wear, I know this ...
I've found that with my headless unit, the ethernet tends to drop out after a few weeks and needs a reboot. I've found it useful to either
Schedule a cron job to soft-reboot every night when nothing important is happening, or
Use an outlet timer to do a hard reboot (pull power for 1 minute, then re-power)
Hokey but it works, and probably covers a lot of ...
Node.JS can be used as a web server replacement on the Pi and you can create stand alone or Single Page web applications with ease.
But just for your information, in most real world applications it is recommended to use servers like the modern nginx , light weight lighttpd or the chunky but fully featured apache2! And then script node.js to ...
The Raspberry Pi was designed as a low power computer.
Low power both in power usage, and cpu workload. (I'm not counting GPU power here)
It'll be able to do a lot of what your Ubuntu server can do, but at a lower power usage, and most likely a bit slower.
The main things that the Pi has over a computer, is the easily accessible GPIO ports, and it's ...
You are going to have to restart your Raspberry Pi (probably by unplugging it, since you can't run the shutdown or reboot commands). You may have to reflash your SD card if this corrupts your image.
Some process is leaking memory, so other programs can't use it. To get an idea of what is causing this, run:
ps --sort -rss -eo rss,pid,command | head
I'd suggest looking at this distribution which has a number of things stripped out that makes it a bit better suited to running a server. SSH is already running in it, so you can just SSH (pi/raspberry) in.
once you've got it installed on a card and running, and use the menu option for expanding out the root-fs to fill ...
... and on a totally different note, my RPi will shortly be running from a 6v (plus 5v regulator) motorcycle battery charged by a solar panel and wind turbine.
The reliability of other machines is limited by the higher powers they eat. 3W (24/7) for the RPi is easy to generate. Yet another reason for choosing the RPi for a reliable solution.
A 40-Watt ...
Raspbian is primarily intended to be used as a desktop replacement and/or a network video/media player, so it needs a GUI to fulfil the purpose, and as far as I know there's no separate server (=headless) version because, as you noted, it's very easy to remove the GUI part using standard system methods.
Regarding "clean" versus "unclean" installation, you ...
Several networks have published minimum hardware requirements for new server applications:
Minimum 512MB RAM (1 GB or higher highly recommended)
For for x86-based machines, a minumum of 600MHz is required. for Sparc, the machine should be a Ultra-10 or better. Other platforms should run a comparable, or better, system. The Operating System ...
I assume you want the script to run on boot, but without having to log in.
There are many ways to do this, but you could just put your code into rc.local
NOTE You do not need sudo, as the startup code is running as root.
You cannot edit etc/rc.local directly as it is owned by root; make a copy to edit and replace the original (with the correct permissions)...
This answer is not specific to the raspberry pi, but is general advice for remote administered servers.
ssh. Using secure shell is almost as good as being there.
serial console and out of band administration: if you screw up your network interface having a second way to login is a lifesaver. a simple way would be to have a Identical backup machine running ...
For video streaming, both the pi and Android can make use of DLNA via various client/server applications (on raspbian, see rygel or minidlna), although I'm not sure if those can be made to suit your purposes.
For just logging onto the pi, there are SSH clients for Android -- "Juice SSH" is good.
The reason why the ISC DHCPv4 server service fails is that at the time it is started the network interface configuration might not have been finished. As systemd cannot know when a service really has become ready (as opposed to have been started successfully), the usual start dependency service unit settings don't help either. Often, you'll find ugly ...
It depends on which distribution you use. The most popular one, Raspbian, is a recompilation of Debian distribution. Ubuntu is based on Debian but has a lot of changes on top of it.
OpenSSH is default SSH server in Debian and so is in Raspbian. So if you are using Raspbian, you are using OpenSSH, unless you changed it.
I have no idea what "impossible-to-...
As concern over long-term SD card reliability is frequently mentioned (and is a valid concern, especially for low-quality SD cards), there is another approach: initramfs (or initrd).
This requires a little more dirty work, but essentially you need to rebuild a kernel with your own initramfs (or separately build an initrd). The initramfs would include ...
I would not recommend to do this. Unattended e-mail server very quickly becomes a spam machine, and proper taking care of it very quickly becomes a full-time job.
To get a working e-mail server you'll need to acquire a domain name, set up DNS records for your mail exchanger, set up reverse DNS pointers (most internet providers will NOT do that and will NOT ...
Write a script to call 'reboot' as /path/to/script.sh
Edit your /etc/network/interfaces file and add a line just below your eth0 config.
iface eth0 inet static
You won't see a big difference either way; GUI applications are actually not CPU intensive. Or at least, the GUI part of them is not; they may or may not be doing other things that are. To qualify that a bit further, if the application involves image processing or rendering special types of graphical documents (.pdf, etc.) to the screen, that's sort of an ...