Hot answers tagged

76 votes
Accepted

Differences between Raspbian Jessie and Raspbian Jessie Lite

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 ...
user avatar
  • 15.5k
8 votes

isc-dhcp-server needs to be restarted after reboot

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 ...
user avatar
  • 1,521
6 votes

Raspberry Pi network can't be accessed outside of network

You need to set up port forwarding on your router. Then you can use your (router's) public IP to access your raspberry pi from outside.
user avatar
  • 2,899
6 votes

Differences between Raspbian Jessie and Raspbian Jessie Lite

Size-wise lite is 1GB smaller (300MB vs 1.32GB)
user avatar
6 votes
Accepted

Python3 flagging 'async def' as invalid syntax

I believe async and await are for python 3.5, I think you'll need to use the @asyncio.coroutine decorator for async def and yield from for await in python 3.4
user avatar
  • 978
6 votes
Accepted

Large Download Pi Server

sudo apt install lynx Then use lynx https://example.com/example.zip Or without installing anything extra wget https://example.com/example.zip or curl https://example.com/example.zip
user avatar
  • 4,851
5 votes

Is the Raspberry Pi suitable for running continuously, 24/7?

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 ...
user avatar
  • 567
5 votes
Accepted

How to make Raspberry shutdown when I unplug the ethernet cable

post-down script; 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. auto eth0 iface eth0 inet static name "...
user avatar
  • 3,618
5 votes

GUI for Pi - Python or Java

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 ...
user avatar
  • 55.8k
5 votes
Accepted

Script works on laptop, but not on PI

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 ...
user avatar
  • 723
5 votes
Accepted

Raspberry pi port forwarding with nodejs server

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 ...
user avatar
  • 175
4 votes
Accepted

Raspberry Pi cluster running as gaming server (TF2 modded minecraft)

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 ...
user avatar
4 votes
Accepted

Run a minecraft server at boot

It might be an evironment issue. java -Xmx1024M -Xms512M -jar minecraft_server.1.8.1.jar nogui That isn't telling it where minecraft_server.1.8.1.jar is located so it needs to be executed from the ...
user avatar
4 votes

Can Raspberry Pi be used as a desktop virtualization server?

With only 1 GB RAM, the RPi 2B is unlikely to do be able to handle 3 virtual machines running Vista (??).
user avatar
  • 3,938
4 votes
Accepted

HiFiBerry Board compatibility

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 ...
user avatar
  • 15.5k
4 votes
Accepted

Nginx "Out Of memory: Kill process"

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 /...
user avatar
4 votes

LAMP Server Questions

Assuming you installed Apache via apt-get it will restart on startup without you needing to do anything. You can verify it is running by doing the following: sudo service apache2 status Since you ...
user avatar
4 votes

How to send temperature and humidity sensor data from a raspberry pi to a pc wirelessly?

From the help of user goobering, based on mattrichardson.com and Flask RESTful documentation. I have solved the problem. Here is my solution for anyone who face the same problem. First write a python ...
user avatar
  • 171
4 votes

Increase transfer rate with Samba using Raspberry Pi 3

SMB transfer speeds can be quite disappointing, especially when handling lots of small files. Then again, an RPi might not be the best choice as a NAS/file server in the first place. Still, just 1 MB/...
user avatar
4 votes
Accepted

Stacking RPi 3B and RPi 3B+ together

Sure, one can combine two RPis to share tasks between them. But simply stacking them together is not the way to go. it doesn't make much sense to short the gpios of the two pi's. In the worst case (...
user avatar
  • 651
4 votes

Setting WiFi up via the command line Ubuntu server 18.04.4 LTS - Raspberry Pi 4 Wireless connectivity

To be able to setup Wifi on Raspberry Pi 4 B+ 4GB on Ubuntu server 18 TLS, you first need to get the name of the Wifi card by showing physical components using the following command: $ sudo lshw in ...
user avatar
4 votes

Pi 4 performance against x86 - CI/CD server with Java/Maven

After a few weeks I was finally able to perform a few benchmarks. The results are shown below: Computer Arch CPU RAM Drive Java Build Time ------------- ------ -------- ----...
user avatar
3 votes

What gaming servers can I run on the Raspberry Pi?

Download and write Quake on LAN to an SD Card. Endless fun, just works.
user avatar
3 votes

Raspbian server version

There are scripts out there to remove all the GUI stuff from Raspbian. I wrote one myself but I haven't maintained it. Otherwise, there's also hifi's Raspbian installer which will install a very ...
user avatar
  • 2,622
3 votes

Raspbian server version

Another thing you can do is install Arch ARM Linux. It's a very minimalist OS for the Raspberry Pi, only having the required packages. You could then install the software you want, and not have to ...
user avatar
3 votes

Running Plex server on Raspbian OS

To answer you first question: Plex can be installed without the OS RasPlex installed (RasPlex is actually a client, not a server). All that is needed is Raspbian (I did it on Jessie 8), and a few ...
user avatar
  • 131
3 votes
Accepted

Auto update website on Raspberry Pi

First Part For the first part of the question: there are a number of solutions that are regularly used on Linux/Unix machines for that sort of task. Some of them are even file system-level replication,...
user avatar
  • 1,841
3 votes

Auto update website on Raspberry Pi

For the second part: Doing an unattended upgrade can have interesting side-affects. As in a system failure. Not recommended. Instead, I would recommend running a periodic cron job to see what your ...
user avatar
  • 345

Only top scored, non community-wiki answers of a minimum length are eligible