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 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 of a little over three months.
It is not hard and there are many tutorials out there for setting these things up. Incidentally, 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 ...
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
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 ...
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 ...
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 ...
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.
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 ...
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 ...
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 ...
I'm no Python expert but I'm surprised that in the server function you create the HTTP socket within the infinite loop. So basically (if I'm not mistaken) you create after each request handling a new server binding. Therefore, I'm not surprised that you get address already in use.
Solution: Try to move the server = HTTPServer(('',port),CamHandler) before ...
Have you tried googling 'Minecraft Bukkit Server system requirements', google is your friend you know. (No offence, but The first result, second response here gives a rough idea:
Your biggest issue running a minecraft server seems to be the RAM. If
everyone is in the same chunk, you're fine. When everyone has their
own chunk and the 80 chunks around ...
Great to hear you have just recieved your Raspberry Pi!
Instructions to set up the Pi's in the format you desire is documented incredibly well at http://www.southampton.ac.uk/~sjc/raspberrypi/pi_supercomputer_southampton.htm by Professor Simon Cox, the man who originally set up the idea.
I hope this helped you and I cannot wait to see what you make with ...
For the server, it makes sense to obtain the hostname via
host = socket.gethostname()
But how should the client know to whom to connect if you use the same command there?
In the client
host = socket.gethostname()
prints the name of the client, not the host, isn't it?
Here, you might want to give the hostname of the server explicitly.
I was thinking about something similiar but being done with spare motherboards in my house.
Clusters don't work like normal PCs. A cluster of slow computers is not the same as one fast. Clusters are designed to run cluster-targeted software. This software is coded to divide similiar parts of work to be done onto smaller pieces ready to be executed paralelly ...
I'm port forwarding on my Raspberry Pi by adding these lines right before the exit line in /etc/rc.local:
# Forward port 80 to 5000 (where our web server is) so the
# web server can run at normal permissions
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 5000
This allows me to request on port 80, but have the web server running at ...
I am afraid that those boards will not play nice in the sandbox together - at least not as supplied and without further hacks.
The Amp+ and the DAC+ board share the following pins (see here GPIO usage):
GPIO 2 and 3 for configuration
GPIO 28 through 31 for the sound interface
For pins 28..31 they also explicitely state that:
You can’t use them for any ...
You're obviously running out of memory. Without knowing what exactly you're running on your system it's hard to advise, but check out two main suggestions:
1. Configure your web server. Go though /etc/nginx/nginx.conf and reduce settings which could use RAM (number of simultaneous connections, buffer sizes, etc.) If you're using web scripts (PHP and friends)...