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 ...
To edit the root crontab:
put the entries you want in; there's a handy template loaded by crontab that shows you what fields are what. Once you're done and saved out of the crontab editor:
to get back to the user shell.
To reboot the machine at midnight and 8 am, you need the line:
0 0,8 * * * reboot
though really, Linux doesn'...
For my own experience, I have had my RaspPi running since June 24/7 logging data from my solar system and haven't had any problems. Im using a DC-DC converter for power via the 12V solar system and fitted a cooling fan on the box but it hasn't got hot enough to turn on yet.
I am not writing to the SD card so that will hopefully not be a point of failure, ...
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 ...
If you want your SD card to last for longer I have got two pieces of advice for you:
Make sure you don't have too many write cycles, ie. turn off logging, don't run a Bitcoin node, etc.
Buy a good brand (ocz/kingston/a-data and other popular ones are fine, just not chinese no-names)
When I did not follow those two mentioned above my memory cards on ...
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
I can only offer a view based on my experience. I use 2 raspberry pi's as mini servers and never turn them off. My first Pi is now well over 4 months old and has probably been 'off' for less than a few hours during all that time. I use it pretty heavily as an iPlayer download and podcast host, which does a reasonable amount of reads and writes of the SD ...
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 ...
My RaspberryPi Model-B uptime on Raspbian with Samba (external powered usb drive attached, configuration howto details here), some basics perl scripts running on apache, rtorrent and sometimes omxplayer is:
11:19:49 up 10 days, 2:30, 2 users, load average: 0,21, 0,21, 0,12
It's only ten days because there was a blackout in my neighborhood. I don't ...
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.