On 24/01/2019 09:45, The Natural Philosopher wrote:
> Questions:
> ==========
> 1/. Is 512MB RAM enough to run the most minimal of web servers headless?
Yes, as long as we aren't talking more than a few dozen simultaneous
clients.
> I did run apache on 384M on *86, but I sometimes went into swap...
> 2/. Should I use apache or run on something smaller?
I prefer nginx, it's better on the single core machines as it doesn't
create threads for each clients.
> 3/. Is a Pi Zero/W man enough to stream audio without stuttering (it
> surely must be?).
Well my Pi-0W is up to streaming Pi Camera video from an nginx web
server, so audio should be OK.
> 4/. In order to bootstrap the install without a monitor or keyboard (I
> COULD use Ethernet, for initial booting), I would like feedback on
> whether the following method would work to get 'up and running'?
> (a) format and install raspian on an SD card using
> SD USB adapter on host computer
> (b) Whilst still attached to the host computer, edit the
> config files to set up ssh access, wirless networking
> and a fixed IP address.
> That is, enough to get an accessible bootable headless pi
> on the network in a 'well known' place?
That's what I do.
> 5/. Apart from logging issues, I see no real reson why the SD card
> ever will need to be written to in use, unless I need swap.
If all the pages are static, there shouldn't be any writes, but if they
are generated by scripts, their will be.
> Has anyone ever tried running a Pi with what amounts to a read only
> mounted root partition? Can one disable logging?
It has been done, but I've always kept a minimal amount of logging, to
be able to diagnose any problems.
---druck
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|