web icon indicating copy to clipboard operation
web copied to clipboard

Is Kerberos-IO an SD Card killer? Feature request for read-only filesystem

Open KarlBaumann opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe. A regular SD card supports approx. 100,000 write cycles. Depending on the usage, SD card will die from few weeks to few months.

Describe the solution you'd like Tutorial should guide users through setting up web and machinery on a read-only filesystem. That means:

  1. it should be described how to create ram-drives,
  2. Laravel should be configured not to log or log only in the specified ram drive,
  3. Cache and storage directories should be symlinked or reconfigured
  4. System should be able to run without SWAP partition (memory consumption has to be optimised).
  5. Nginx and PHP-FPM should also not log at all or log only in the ram.

Read-only filesystem is already supported by KIOS, so it should not be too difficult to make it also work with Raspbian or Docker setups.

KarlBaumann avatar Feb 12 '20 23:02 KarlBaumann